Hi Vasiliy,

from what I read lowerdir, upperdir and workdir need to be
directories, not devices. So how can you mount those three directories
before setting up an overlayfs using them?

That should be possible with a couple of units injected into the
initrd, but to me this seems more than what the fstab-generator can
support at this time.

Best Regards,
Tobias

On Mon, Mar 23, 2015 at 11:17 AM, Vasiliy Tolstov <[email protected]> wrote:
> 2015-03-23 13:02 GMT+03:00 Tobias Hunger <[email protected]>:
>> 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: [email protected]
> jabber: [email protected]
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to