Re: No /dev/root with devtmpfs?

From: Kirill Smelkov
Date: Mon Feb 06 2012 - 07:49:39 EST


On Mon, Feb 06, 2012 at 12:10:27PM +0000, Paul Parsons wrote:
> --- On Mon, 6/2/12, Kirill Smelkov <kirr@xxxxxxxxxx> wrote:
> > Is it somehow possible to add /dev/root to devtmpfs?
>
> Or alternatively have /proc/mounts report the actual root device
> instead of "/dev/root" ?

Sorry, I have not included that info originally. No, it shows /dev/root
there too:

root@(none):/# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 ro,relatime,barrier=0,data=writeback 0 0
devtmpfs /dev devtmpfs rw,relatime,size=61564k,nr_inodes=15391,mode=755 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/