From owner-freebsd-current Fri Sep 15 12:15:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 955AB37B424 for ; Fri, 15 Sep 2000 12:15:49 -0700 (PDT) Received: (qmail 9886 invoked by uid 0); 15 Sep 2000 19:15:44 -0000 Received: from p3ee20a99.dip.t-dialin.net (HELO speedy.gsinet) (62.226.10.153) by mail.gmx.net with SMTP; 15 Sep 2000 19:15:44 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id TAA28650 for current@freebsd.org; Fri, 15 Sep 2000 19:45:07 +0200 Date: Fri, 15 Sep 2000 19:45:07 +0200 From: Gerhard Sittig To: current@freebsd.org Subject: Re: mtree again Message-ID: <20000915194506.D27034@speedy.gsinet> Mail-Followup-To: current@freebsd.org References: <20000915033837.A564@nagual.pp.ru> <200009142341.RAA00700@harmony.village.org> <20000915043925.A83698@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000915043925.A83698@nagual.pp.ru>; from ache@nagual.pp.ru on Fri, Sep 15, 2000 at 04:39:26AM +0400 Organization: System Defenestrators Inc. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Sep 15, 2000 at 04:39 +0400, Andrey A. Chernov wrote: > > [ ... change mtree(1) physical vs logical traversal ... ] [ ... mtree.c diff ...] > @@ -170,7 +170,7 @@ > usage() > { > (void)fprintf(stderr, > -"usage: mtree [-PUcdeinqrux] [-f spec] [-K key] [-k key] [-p path] [-s seed]\n" > +"usage: mtree [-LUcdeinqrux] [-f spec] [-K key] [-k key] [-p path] [-s seed]\n" > "\t[-X excludes]\n"); > exit(1); > } Are you trying to remove the -P switch? Then there's no way of having a "logical default" via aliases / shell scripts / you name it and still tell mtree to do a physical walk. This very topic is discussed in the symlink(7) manpage. The author sees a chance for users wanting to "override" behaviour multiple times by specifying multiple toggles. I feel it's OK when you change the default to "walk the fs in its physical meaning", but I wouldn't want you to provide only a one way switch. Please leave -P in there or rename it to -H (which should be available) plus make it the reverse of -L if it's not yet at the moment. In case I'm absolutely missing the topic please ignore this message. :) virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message