From owner-freebsd-doc Tue Nov 6 15: 8: 5 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 3CEA437B417 for ; Tue, 6 Nov 2001 15:08:01 -0800 (PST) Received: from hades.hell.gr (patr530-a117.otenet.gr [212.205.215.117]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fA6N7uK16056; Wed, 7 Nov 2001 01:07:56 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fA6LhT915836; Tue, 6 Nov 2001 23:43:29 +0200 (EET) (envelope-from charon@labs.gr) Date: Tue, 6 Nov 2001 23:43:29 +0200 From: Giorgos Keramidas To: Michael Lucas Cc: freebsd-doc@FreeBSD.ORG Subject: Re: docs/31803: Handbook make world addition Message-ID: <20011106234328.A15786@hades.hell.gr> References: <200111061840.fA6Ie2V71154@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111061840.fA6Ie2V71154@freefall.freebsd.org> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 06, 2001 at 10:40:02AM -0800, Michael Lucas wrote: > > Good idea, how's this? > > + &prompt.root; cd /usr/obj > + &prompt.root; chflags -R noschg * > + &prompt.root; rm -rf * > + &prompt.root; cd /usr/src > + &prompt.root; make cleandir > + &prompt.root; make cleandir Play safe here. Don't suggest commands that contain wildcard characters, since Bad Things(TM) can happen if someone runs the commands and somehow ``fails'' to change to the proper directory. I'd probably write the first three commands like: &prompt.root; chflags -R noschg /usr/obj/usr &prompt.root; rm -fr /usr/obj/usr But this is just me being paranoid. Excellent stuff Michael :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message