Bug#576677: Kernel Panic - no init found
I don't know why find(1) says they are N - Non existent.
ls -Ll shows them fine.
$ find NOSHUCH sleep -type l -printf %Y\\n|s
N
f
$ find NOSHUCH sleep |xargs ls -l
lrwxrwxrwx 1 jidanni jidanni 16 2010-04-07 13:37 NOSHUCH -> /usr/bin/NOSHUCH
lrwxrwxrwx 1 jidanni jidanni 10 2010-04-07 13:39 sleep -> /bin/sleep
$ find NOSHUCH sleep |xargs ls -lL
ls: cannot access NOSHUCH: No such file or directory
-rwxr-xr-x 1 root root 18204 2010-03-06 21:23 sleep
I put an exit just before the link checking damage.
# find /tmp/mkinitramfs_VcP7aW/ -type l -printf '%p %Y\n'| grep -c ' N$'
483
# find /tmp/mkinitramfs_VcP7aW/ -type l|xargs ls -Llog 2>&1|nl|tail -n 3
481 -rwxr-xr-x 1 10084 2010-03-22 19:25 /tmp/mkinitramfs_VcP7aW/sbin/rmmod
482 -rwxr-xr-x 1 121900 2010-03-15 09:42 /tmp/mkinitramfs_VcP7aW/sbin/udevadm
483 -rwxr-xr-x 1 113408 2010-03-15 09:42 /tmp/mkinitramfs_VcP7aW/sbin/udevd
# find /tmp/mkinitramfs_VcP7aW/bin/ -type l -printf '%p %Y\n'| grep -c ' N$'
35
# find /tmp/mkinitramfs_VcP7aW/bin/umount -type l -printf '%p %Y\n'| grep -c ' N$'
0
Ha ha ha... the bug is in find(1)!
Reply to: