Re: Persistent files under /usr/obj
do a chflags -R noschg /usr/obj before you rm it Uh no... do the 'rm' first, tolerate the few warnings, _then_ do the chflags and then another 'rm'. It's faster on my stopwatch anyway :) /* Flamebait mode on: */ Now, shouldn't we really have a target in our makefile for this, like: make REALLYCLEAN /* Flamebait mode off: */ Due to a harddisk crash I may not have received all the mails in this thread, and may therefore have missed someone else asking this question and getting a real good answer. --- Erik H. Bakke Habatech AS e...@habatech.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
RE: Persistent files under /usr/obj
do a chflags -R noschg /usr/obj before you rm it -Scott On 31-Jan-99 Michael Graziano wrote: I went to remove everything from my /usr/obj directory this morning in preparation to do a make world, and found that two files (/usr/obj/usr/src/tmp/usr/lib/libc.so.3 and /usr/obj/usr/src/tmp/usr/lib/libc_r.so.3) can't be deleted. Am I missing something, or are these two files just hanging out for no reason? -Mike All we are are monkeys with car keys. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
RE: Persistent files under /usr/obj
On Sun, 31 Jan 1999, Scott A. Barron wrote: On 31-Jan-99 Michael Graziano wrote: I went to remove everything from my /usr/obj directory this morning in preparation to do a make world, and found that two files (/usr/obj/usr/src/tmp/usr/lib/libc.so.3 and /usr/obj/usr/src/tmp/usr/lib/libc_r.so.3) can't be deleted. Am I missing something, or are these two files just hanging out for no reason? do a chflags -R noschg /usr/obj before you rm it if you don't want to sit there for a long time try: rm -rf /usr/obj/* chflags -R noschg /usr/obj/* rm -rf /usr/obj/* it's substantially faster. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/4.0-current To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Persistent files under /usr/obj
On Sun, 31 Jan 1999, Michael Graziano wrote: I went to remove everything from my /usr/obj directory this morning in preparation to do a make world, and found that two files (/usr/obj/usr/src/tmp/usr/lib/libc.so.3 and /usr/obj/usr/src/tmp/usr/lib/libc_r.so.3) can't be deleted. Am I missing something, or are these two files just hanging out for no reason? chflags -R noschg Research that before you use it. My memory fails me on the syntax. Catchya Later, | Give me UNIX or give me a typewriter. Jason Wells | http://www.freebsd.org/ To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Persistent files under /usr/obj
do a chflags -R noschg /usr/obj before you rm it Uh no... do the 'rm' first, tolerate the few warnings, _then_ do the chflags and then another 'rm'. It's faster on my stopwatch anyway :) Cheers, Jerry Hicks wghi...@bellsouth.net -Scott On 31-Jan-99 Michael Graziano wrote: I went to remove everything from my /usr/obj directory this morning in preparation to do a make world, and found that two files (/usr/obj/usr/src/tmp/usr/lib/libc.so.3 and /usr/obj/usr/src/tmp/usr/lib/libc_r.so.3) can't be deleted. Am I missing something, or are these two files just hanging out for no reason? -Mike To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message