We've lost the thread here. Tar is not a tool to duplicate a file system.
Never has been. Unless you can be totally sure that there are no special
files or bits set for the files. This works with source trees that can use
'make'�to fill in the missing parts, and so is a popular archiver for
source code distributions. cpio is designed to duplicate directory
structures properly, including all unexpected things it may find in them.
tar never was. Name length aside. If you use tar, you risk incorrect
duplication of some files. Not so with cpio. That was all I was trying to
point out.


On Wed, 06 Nov 2002 16:16:18 -0600
steve rader <[EMAIL PROTECTED]> wrote:

>  > >  > > >On Wed, 6 Nov 2002, steve rader wrote:
>  > >  > > >Also, here's one more reason to avoid tar: it has a 100 char
>  > >  > > >max file name length restriction.  I suspect cpio and certainly
>  > >  > > >dd don't have that problem.
> 
>  > >  > > Net Llama! wrote:
>  > >  > > Huh?  Where is this documented?  I'm pretty sure i've never run
>  > >  > > into this
>  > >  > > before.
> 
>  > >  > From: Jim Bonnet
>  > >  > hm.. well, I think this is a SUN thing, and an old-school tar
>  > >  > problem as
>  > >  > well..Have a quick google check its there.
>  
>  > > On Wed, 6 Nov 2002, steve rader wrote:
>  > > ..and also more recently/now that busybox tar thingie...
>  > >
>  > >  "tar: Names longer than 100 chars not supported"
>  
>  > From: Net Llama!
>  > So?  Every fullsize linux distro that i've ever used , comes with Gnu
>  > tar, not busybox tar.
> 
> Umm, well, I'm guessing that some people must use
> lightweight linux distributions and busybox--otherwise 
> they wouldn't exist?  Also, note that RedHat's install 
> CDs use busybox under the covers and I know of at least 
> one person (me) who has used the resulting "tar" to copy 
> directory trees.

Over which they control the contents and are sure there are no special files
or odd bit settings. Otherwise they are playing dangerously.

-- 
+============================+===============================+
| Roger Oberholtzer          |   E-mail:        [EMAIL PROTECTED] |
| OPQ Systems AB             |      WWW:  http://www.opq.se/ |
| Erik Dahlbergsgatan 41-43  |    Phone: Int + 46 8   314223 |
| 115 32 Stockholm           |   Mobile: Int + 46 733 621657 |
| Sweden                     |      Fax: Int + 46 8   302602 |
+============================+===============================+

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to