[Bug 12976] New: cpio doesn't list all hardlinks in an archive
bugzilla at busybox.net
bugzilla at busybox.net
Tue Jun 2 11:15:51 UTC 2020
https://bugs.busybox.net/show_bug.cgi?id=12976
Bug ID: 12976
Summary: cpio doesn't list all hardlinks in an archive
Product: Busybox
Version: 1.33.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: vbreiner851 at outlook.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
Busybox's cpio doesn't list all hardlinks (if there's more than 1) in the
archive.
Example:
###########################
echo "ZZZZZ" > a
ln a b # b is a hardlink to a
ls | cpio -ov -H newc > /tmp/new.cpio # Creates a new archive with a and b
# Debian's cpio, lists both a and b
cpio -t < /tmp/new.cpio
# Busybox's cpio, lists only a
./busybox cpio -t < /tmp/new.cpio
###########################
I've compiled busybox with the default config.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list