09.12.2013 17:51, Michael Tokarev пишет:

Forgot to comment on this:

>  tar symlinks mode (both kfreebsd and hurd)
>  --- expected
>  +++ actual
>  @@ -1,9 +1,9 @@
>   input_dir/input_file
>  -input_dir/input_soft -> input_file
>  +input_dir/input_soft -> input_dir/input_file
>   input_file -> input_dir/input_file
>  -input_soft -> input_dir/input_soft
>  +input_soft -> input_file
>   Ok: 0
>   -rwxr----x input_dir/input_file
>  -lrwxrwxrwx input_file
>  +-rwxr----x input_dir/input_soft
>   -rwxr----x input_file
>  -lrwxrwxrwx input_file
>  +lrwxr-xr-x input_file

On both kfreebsd and hurd,  ln <symlink> directory/ performs
the linking of the _target_ of the symlink, not the symlink
itself.

So while in this test, we expect input_dir/input_soft to be
a symlink (hardlinked with input_soft), it actually is a
hardlink with input_file.


Thanks,

/mjt

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to