From owner-freebsd-doc Tue Nov 6 13: 5:11 2001 Delivered-To: freebsd-doc@freebsd.org Received: from smtp.noos.fr (verlaine.noos.net [212.198.2.73]) by hub.freebsd.org (Postfix) with ESMTP id 1EDEF37B405 for ; Tue, 6 Nov 2001 13:05:08 -0800 (PST) Received: (qmail 5806103 invoked by uid 0); 6 Nov 2001 20:54:29 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 6 Nov 2001 20:54:29 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fA6KsR036677; Tue, 6 Nov 2001 21:54:27 +0100 (CET) (envelope-from root) Message-Id: <200111062054.fA6KsR036677@gits.dyndns.org> Subject: Re: docs/31803: Handbook make world addition In-Reply-To: <200111061840.fA6Ie2V71154@freefall.freebsd.org> To: Michael Lucas Date: Tue, 6 Nov 2001 21:54:26 +0100 (CET) Cc: freebsd-doc@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Michael Lucas wrote: [snip] > + &prompt.root; cd /usr/obj > + &prompt.root; chflags -R noschg * > + &prompt.root; rm -rf * 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