[systemd-devel] [PATCH] fstab-generator: Support root on tmpfs

Vasiliy Tolstov v.tolstov at selfip.ru
Mon Mar 23 03:17:46 PDT 2015


2015-03-23 13:02 GMT+03:00 Tobias Hunger <tobias.hunger at gmail.com>:
> I never used overlayfs myself, can you set up an overlayfs via the
> kernel commandline arguments supported by the fstab-generator? Those
> are device, options and fstype for the root and usr.
>
> If a overlayfs setup can not be shoehorned into the (two times) three
> flags we have support for in fstab-generator at this time, then I'd
> say it is out of scope for this patch.


overlay fs simply mounts like mount -t overlay overlay
-olowerdir=/lower,upperdir=/upper,workdir=/work /merged
so in term of cmdline we have
fstype - overlay
device - none or overlay
options - lowerdir,upperdir,work
desitnation - /


-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru


More information about the systemd-devel mailing list