bug-cpio
[Top][All Lists]
Advanced

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

[Bug-cpio] bug: resolving hardlinks


From: Thomas Graf
Subject: [Bug-cpio] bug: resolving hardlinks
Date: Fri, 08 Oct 2010 02:15:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Thunderbird/3.0.6

touch afile
link afile hlink
( echo afile; echo afile;echo afile)| cpio -Hustar  -oO x.tar

now use tar to see the bug (cpio hides it)

tar -tvvf x.tar
-rw-r--r-- tom/users         0 2010-10-08 02:03 afile
hrw-r--r-- tom/users         0 2010-10-08 02:03 afile link to afile
hrw-r--r-- tom/users         0 2010-10-08 02:03 afile link to afile

Regards
Thomas



reply via email to

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