[systemd-devel] moving from SysV to systemd - issue with / being ro

Kay Sievers kay at vrfy.org
Wed Oct 16 15:07:55 PDT 2013


On Wed, Oct 16, 2013 at 7:35 PM, Reindl Harald <h.reindl at thelounge.net> wrote:

>> none / auto remount,rw 0 0
>
> why "none" and "remount"?

"none" because at the time fstab is read, / is already mounted;
therefore the device already known. Specifying the root device in
fstab is in most cases really pointless and makes stuff just
needlessly inflexible. If no specific device is referenced, the rootfs
(with fstab) can just be moved around without editing fstab.

I usually use "ROOT" instead of "none"; doesn't matter, it just should
not start with a / to be a *name* and not a *device*.

> typically the line looks like this
> UUID=b834776d-69d1-49c6-97c1-d6d758a438f0  / ext4 defaults
>
> i doubt that anything smells what "none" means

It typically makes not much sense to specify the id of the rootfs in a
file stored *on* the rootfs.

Kay


More information about the systemd-devel mailing list