Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 23:43:29 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: docs/31803: Handbook make world addition
Message-ID:  <20011106234328.A15786@hades.hell.gr>
In-Reply-To: <200111061840.fA6Ie2V71154@freefall.freebsd.org>
References:  <200111061840.fA6Ie2V71154@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 06, 2001 at 10:40:02AM -0800, Michael Lucas wrote:
>
>  Good idea, how's this?
>
>  +             <screen>&prompt.root; <userinput>cd /usr/obj</userinput>
>  + &prompt.root; <userinput>chflags -R noschg *</userinput>
>  + &prompt.root; <userinput>rm -rf *</userinput>
>  + &prompt.root; <userinput>cd /usr/src</userinput>
>  + &prompt.root; <userinput>make cleandir</userinput>
>  + &prompt.root; <userinput>make cleandir</userinput></screen>

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; <userinput>chflags -R noschg /usr/obj/usr</userinput>
	&prompt.root; <userinput>rm -fr /usr/obj/usr</userinput>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106234328.A15786>