From owner-freebsd-questions Sun Dec 26 0:21:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by hub.freebsd.org (Postfix) with ESMTP id C637A151DE for ; Sun, 26 Dec 1999 00:21:01 -0800 (PST) (envelope-from a.genkin@utoronto.ca) Received: from main.wgaf.net ([24.114.152.71]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with ESMTP id <19991226081852.XCMY7552.mail.rdc3.on.home.com@main.wgaf.net> for ; Sun, 26 Dec 1999 00:18:52 -0800 Received: from antipode by main.wgaf.net with local (Exim 2.05 #1 (Debian)) id 1228vE-0003wh-00; Sun, 26 Dec 1999 03:21:00 -0500 To: freebsd-questions@freebsd.org Subject: Re: make world /etc update References: <19991224.21204000@mammalia.sea> <87ln6k6n1x.fsf@main.wgaf.net> <19991225.21194000@mammalia.sea> <87iu1msn5j.fsf@main.wgaf.net> <19991226.7381500@mammalia.sea> X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: Wgaf From: Arcady Genkin Date: 26 Dec 1999 03:21:00 -0500 In-Reply-To: Joseph Wright's message of "Sun, 26 Dec 1999 07:38:15 GMT" Message-ID: <87n1qyf6z7.fsf@main.wgaf.net> Lines: 42 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joseph Wright 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