Skip site navigation (1)Skip section navigation (2)
Date:      26 Dec 1999 03:21:00 -0500
From:      Arcady Genkin <a.genkin@utoronto.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: make world /etc update
Message-ID:  <87n1qyf6z7.fsf@main.wgaf.net>
In-Reply-To: Joseph Wright's message of "Sun, 26 Dec 1999 07:38:15 GMT"
References:  <19991224.21204000@mammalia.sea> <87ln6k6n1x.fsf@main.wgaf.net> <19991225.21194000@mammalia.sea> <87iu1msn5j.fsf@main.wgaf.net> <19991226.7381500@mammalia.sea>

next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Wright <rjoseph@nwlink.com> writes:

> Thanks, I read the man page on it and I will try it too.  But now I've 
> got seemingly worse problems.  
> I decided to update the source again and 'make world' again, so I 
> could start the whole project over from scratch.  Before dropping into 
> single user mode to rebuild the system, I did 'rm -rf /usr/obj/'.  
> This is supposed to make the 'make world' speed up somewhat. Funny 
> thing was, it won't allow me to remove some of the directories under 
> /usr/obj/.  

Joseph, again, the handbook has an answer to your question:
,-----
| As parts of the system are rebuilt they are placed in directories
| which (by default) go under /usr/obj. The directories shadow those
| under /usr/src.
| 
| You can speed up the ``make world'' process, and possibly save
| yourself some dependency headaches by removing this directory as well.
| 
| 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 *
`-----

> Yes, I was running as root.  So I went down into the directory and 
> find a strange thing:
> /usr/obj/usr/src/games/dm/FreeBSD
> But I can't cd to this directory because it doesn't exist!  I can't 
> remove it either!  
> I thought, oh well, I'll try 'make world' anyway.  It stops with Error 
> code 1, because of that damn phantom directory.  Is my filesystem 
> corrupted or something?

HTH,
-- 
Arcady Genkin                                http://wgaf.dyndns.org
"'What good is my pity? Is not the pity the cross upon which he who
loves man is nailed?..'" (Zarathustra - F. Nietzsche)


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?87n1qyf6z7.fsf>