Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 21:54:26 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: docs/31803: Handbook make world addition
Message-ID:  <200111062054.fA6KsR036677@gits.dyndns.org>
In-Reply-To: <200111061840.fA6Ie2V71154@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Lucas wrote:
[snip]
>  +             <screen>&prompt.root; <userinput>cd /usr/obj</userinput>
>  + &prompt.root; <userinput>chflags -R noschg *</userinput>
>  + &prompt.root; <userinput>rm -rf *</userinput>

to avoid disasters, it would be better to say :

chflags -R noschg /usr/obj/.	(/. to travers symlinks)
rm -rf /usr/obj/*		(or find /usr/obj/. -depth -delete)

so, if /usr/obj doesn't exists and the user makes a cut and paste,
this has no effect on the current directory...

Cyrille.
-- 
Cyrille Lefevre                 mailto:clefevre@citeweb.net

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?200111062054.fA6KsR036677>