/dev/console (deleted)

Mike Frysinger vapier at gentoo.org
Mon Oct 12 18:54:16 UTC 2009


On Monday 12 October 2009 12:26:19 Bizhan Gholikhamseh (bgholikh) wrote:
> Hi All
> I am running busybox 1.10.2 and kernel 2.6.23.
> System boots through initramfs and then  mount root file system from a
> partition on local disk and switch root to it.
> 
> Then I see something strange that I can not find an answer for it:
> 
> # ls -al 1/fd
> 
> dr-x------    2 root     root            0 Jan  5 12:23 .
> dr-xr-xr-x    5 root     root            0 Jan  5 12:22 ..
> lrwx------    1 root     root           64 Jan  5 12:23 0 ->
> /dev/console (deleted)
> lrwx------    1 root     root           64 Jan  5 12:23 1 ->
> /dev/console (deleted)
> lrwx------    1 root     root           64 Jan  5 12:23 2 ->
> /dev/console (deleted)
> 
> >From above list, the standard in/out and error for init processes have
> 
> links to "/dev/console (deleted)".
> Does anyone knows what the "deleted" means here?

the "(deleted)" comes from the kernel and not busybox.  so nothing you've 
shown here is specific to busybox.

deleted means it points to an inode that no longer exists.  it's probably 
pointing to the device node as it existed in your initramfs and once you've 
switched out of it, it's probably been freed.

all in all, this isnt a "problem" and something you can just ignore.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091012/e5786235/attachment.pgp>


More information about the busybox mailing list