Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 09:55:21 -0800 (PST)
From:      Ryan Moser <ryno@whack.org>
To:        =?iso-8859-1?q?Greg=20Quinlan?= <gwq_uk@yahoo.com>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Corrupt /usr/obj/~ 
Message-ID:  <Pine.GSO.4.21.0003290953330.16530-100000@apogee.whack.org>
In-Reply-To: <20000329140537.1584.qmail@web1405.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you must first unset the immutable flags like this

cd /usr/obj.corrupt
chflags -R noschg *
rm -rf *

that should do it for you.

Ryan 
On Wed, 29 Mar 2000, [iso-8859-1] Greg Quinlan wrote:

> Hi All,
> 
> I recently tried to do a "make buildworld" but it
> failed. The problem was not with the latest cvsup, but
> a corrupt /usr/obj set of files.
> 
> I want to remove the directory "/usr/obj" and all the
> files/sub-directories (as it has been corrupted) and
> start again but;
> 
> Some of the "lib" files can not be removed using "rm
> -rf /usr/obj" because of an error message "Operation
> not permitted" but I moved the directory. ie "mv
> /usr/obj /usr/obj.corrupt"`
> 
> After making the move I successfully did a "make
> buildworld"
> 
> But how do I remove "/usr/obj.corrupt"?
> 
> 
> Greg
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0003290953330.16530-100000>