[BusyBox] CVS tar converting hard links to symlinks

Andrew Flegg andrew at bleb.org
Mon Jul 14 12:56:44 UTC 2003


Hi,

I've just been trying out the latest CVS snapshot (2003.07.14-11:33) and
noticed a change in behaviour in tar, namely that when a tar file
contains hard links they're converted to symlinks and a warning printed:

    tar: WARNING: Converting hard link to symlink

This was due to a patch to archival/libunarchive/get_header_tar.c:

    http://www.busybox.net/cgi-bin/cvsweb/busybox/archival/libunarchive/get_header_tar.c#rev1.18

I was wondering what the rationale for this change was as, AFAIK, the
prior version *was* creating hard links successfully (when compiled
against uClibc at least).

However, I doubted myself so I reversed the patch and rebuilt and,
according to `ls -li', when built against uClibc hard links are being
created. Is this uClibc being clever, me being thick or something else?

Thanks in advance,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/



More information about the busybox mailing list