[PATCH] ls.c: option -i: don't follow symlink by default

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 4 17:57:14 UTC 2019


Applied, thanks

On Sat, Dec 29, 2018 at 10:36 PM Martijn Dekker <martijn at inlv.org> wrote:
>
> Op 19-12-18 om 21:30 schreef Martijn Dekker:
> > When listing a symbolic link, the busybox 'ls -id' command incorrectly
> > lists the inode of the link referred to by the symlink, rather than the
> > inode of the symlink itself. The -d option is supposed to disable
> > dereferencing of symbolic links[*].
>
> '-d' is actually irrelevant (unless the operand is a symlink to a
> directory).
>
> The fix is to treat the 'i' option the same way that '-l', '-s' and '-F'
> are already treated.
>
> - M.
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list