Date: Fri, 15 Sep 2000 19:45:07 +0200 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: current@freebsd.org Subject: Re: mtree again Message-ID: <20000915194506.D27034@speedy.gsinet> In-Reply-To: <20000915043925.A83698@nagual.pp.ru>; from ache@nagual.pp.ru on Fri, Sep 15, 2000 at 04:39:26AM %2B0400 References: <20000915033837.A564@nagual.pp.ru> <200009142341.RAA00700@harmony.village.org> <20000915043925.A83698@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915194506.D27034>