bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] cpio can't read large files


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] cpio can't read large files
Date: Wed, 18 Jan 2006 15:00:37 EET

Sean Fulton <address@hidden> wrote:

> Yes, I tried that but discovered another issue after I mailed you. Tar 
> reports symbolic links, whereas find just lists the link, so the output 
> from tar and find won't be the same. (tar shows the link and the file it 
> is connected to). Which means the only way to do it is to trust tar to 
> report all of the files it finds and leave out cpio.

Hmm, I don't quite understand it. Here's a simple experiment:

I have a directory dir with the following contents:

$ ls -l dir
total 0
-rw-r--r--  1 gray staff 0 2006-01-18 14:46 file
lrwxrwxrwx  1 gray staff 4 2006-01-18 14:46 link -> file

Find shows:

$ find dir
dir
dir/file
dir/link

Now I create the archive:

$ tar cvf archive dir|sed 's,/$,,'
dir
dir/file
dir/link

And now I verify its contents:

$ tar tf arc|sed 's,/$,,'
dir
dir/file
dir/link

All cases (except ls, of course), produce the same output.

Am I missing something?

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]