Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 09:31:46 -0500 (EST)
From:      hometeam <hometeam@techpower.net>
To:        =?iso-8859-1?q?Greg=20Quinlan?= <gwq_uk@yahoo.com>
Cc:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Corrupt /usr/obj/~ 
Message-ID:  <Pine.BSF.4.21.0003290930510.3638-100000@techpower.net>
In-Reply-To: <20000329140537.1584.qmail@web1405.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help



Some files below /usr/obj will have the immutable flag set (see
chflags(1) for more information) which must be removed first. 

    # cd /usr/obj
    # chflags -R noschg *
    # rm -rf *



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.BSF.4.21.0003290930510.3638-100000>