Two roots mounted

Denis Vlasenko vda at ilport.com.ua
Wed Oct 12 09:12:14 UTC 2005


On Wednesday 12 October 2005 10:52, Dmytro Bablinyuk wrote:
> I couldn't find place where actually rootfs comes from.
> 
> sh-3.00# mount
> rootfs on / type rootfs (rw)
> /dev/root on / type jffs2 (rw,noatime)
> proc on /proc type proc (rw,nodiratime)
> devpts on /dev/pts type devpts (rw)
> tmpfs on /tmp type tmpfs (rw)
> 
> I don't have /dev/root and I don't know where rootfs comes from. Why is 
>   '/' mounted two times? In '/etc' I couldn't see anything where this 
> happens..

Kernel does it even before it starts your init (both rootfs and /dev/<something>,
in your case /dev/root).
--
vda



More information about the busybox mailing list