[BusyBox] busybox 1.0, tar and hard links -- bug or feature?

Glenn McGrath bug1 at optushome.com.au
Fri Sep 12 01:25:09 UTC 2003


On Thu, 11 Sep 2003 13:31:06 -0700
Junio C Hamano <junkio at cox.net> wrote:

> >>>>> "GM" == Glenn McGrath <bug1 at optushome.com.au> writes:
> 
> GM> hmm, im pretty sure i fixed this bug 3 weeks ago,...
> 
> The implementation in the CVS does not solve this problem for a
> symlink that have more than one hardlinks.  For cases other than
> that it looks OK.

I tested current cvs with the following mix of hardlinks and symlinks,
create a tarball with GNU tar in both normal and old (-o) mode, busybox
tar extracted them correctly.

total 2
 408785 lrwxrwxrwx    1 root     root            3 Sep 12 11:03 five ->
two
 409559 lrwxrwxrwx    1 root     root            3 Sep 12 11:03 fixe ->
two
 409568 lrwxrwxrwx    1 root     root            3 Sep 12 11:03 four ->
two
 407562 -rwxrwxrwx    2 root     root            0 Sep 12 11:01 one
 409569 lrwxrwxrwx    1 root     root            3 Sep 12 11:03 three ->
one
 407562 -rwxrwxrwx    2 root     root            0 Sep 12 11:01 two



Glenn



More information about the busybox mailing list