Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 1997 01:04:21 -0800 (PST)
From:      Morgan Davis <mdavis@io.cts.com>
To:        freebsd-stable@freebsd.org
Subject:   unremovable library files
Message-ID:  <199711020904.BAA00225@io.cts.com>

next in thread | raw e-mail | index | archive | help
I've successfully cvsupped 2.2.5-RELEASE sources, made world, rebooted
several times, and all is quite dandy.  However, my drive where I keep
/usr/src and /usr/obj is at 95%.  To free some space, I wanted to
remove all the stuff in the obj directory.  An rm -r did the trick,
except it refuses to remove the following files and directories in
/usr/obj/tmp:

total 3
drwxr-xr-x  2 bin  bin  2048 Nov  2 00:41 lib/
drwxr-xr-x  2 bin  bin   512 Nov  2 00:41 libexec/

./lib:
total 486
-r--r--r--  1 bin  bin  451474 Oct 25 03:06 libc.so.3.0
-r--r--r--  1 bin  bin   12583 Oct 25 02:03 libcipher.so.2.0
-r--r--r--  1 bin  bin   16698 Oct 25 03:06 libdescrypt.so.2.0

./libexec:
total 68
-r-xr-xr-x  1 bin  bin  69632 Oct 25 00:35 ld.so*


I get "operation not permitted" errors (yes, I'm root).  I'm not sure
I understand why libraries that were built in /usr/obj/tmp and
installed into their rightful locations refuse to be deleted even
after rebooting.  Further, ldconfig doesn't include /usr/obj/tmp/lib
or /usr/obj/tmp/libexec at boot time.  So I'm baffled.

What's up with this?

--Morgan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711020904.BAA00225>