Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 15:52:39 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        attila! <attila@hun.org>
Cc:        Maxim Sobolev <sobomax@FreeBSD.ORG>, FreeBSD-CURRENT <current@FreeBSD.ORG>
Subject:   Re: broken: tar -l (--one-file-system) flag
Message-ID:  <Pine.BSF.4.21.0209291550170.74299-100000@InterJet.elischer.org>
In-Reply-To: <20020929224112.QVYQ5944@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 29 Sep 2002, attila! wrote:

>     Yes, you are correct: the use of '.' rather than '*'
>     stops the recursion into separately mounted files
>     systems; thanx for the clarification!
> 
>     However, the manual syntax for tar is anything but clear
>     --typical of the last 25+ years of *nix manuals' arcane
>     definitions.

Each argument is a separate start point from which a descent is made.
(in the terms given by the 'find' man page).
The -l option is applied separatly to each argument..

That's what I would expect....

viszlat!

> 
>     The definition for find may be technically correct, but
>     the statement still leaves the opening to interpret the
>     statement as the 'starting file'; the fact the starting
>     file is a mount point is irrelevant. To me, "starting
>     file" is the file system "level" at the point of start
>     and anything mounted to that level would not be
>     included --but, in this case, I am wrong.
> 
>     Both manual statements should be cleaned up and stated
>     in explicit terms. I've argued this point for 25 years
>     on many other fronts so I don't suppose it's going to
>     change...
> 
>     	out!
> 
>     tar:
> 
>       -l
>       --one-file-system   Stay in local filesystem when creating
>     			  an archive (do not cross mount points).
> 
>     find:
> 
>       -x      Prevent find from descending into directories that have
> 	      a device number different than that of the file from which
> 	      the descent began.
> 


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?Pine.BSF.4.21.0209291550170.74299-100000>