[sisyphus] Q: rootfs в /proc/mounts в новых ядрах.

Alexey Gladkov legion на altlinux.ru
Вт Авг 30 11:40:20 UTC 2011


30.08.2011 15:26, Sergey wrote:
> Приветствую.
> 
> А что это за новое веяние ? Не то, чтобы сильно мешало, но как-то
> странно видеть
> 
> $ df|grep "/$"
> rootfs          4.0G  772M  3.0G  21% /
> /dev/sda5       4.0G  772M  3.0G  21% /
> 
> Зачем там rootfs появляется ?

Это нормально.

What is rootfs?
---------------

Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is
always present in 2.6 systems.  You can't unmount rootfs for approximately the
same reason you can't kill the init process; rather than having special code
to check for and handle an empty list, it's smaller and simpler for the kernel
to just make sure certain lists can't become empty.

Most systems just mount another filesystem over rootfs and ignore it.  The
amount of space an empty instance of ramfs takes up is tiny.

-- 
Rgrds, legion



Подробная информация о списке рассылки Sisyphus