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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Mar 23 05:53:42 PDT 2015

On Mon, Mar 23, 2015 at 01:45:06PM +0300, Vasiliy Tolstov wrote:
> 2015-03-23 13:39 GMT+03:00 Tobias Hunger <tobias.hunger at gmail.com>:
> > 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.
> Only lowerdir need to be device, all other dirs can be tmpfs dirs.
OK, I guess that this is good enough.

So we should have something like fstype_is_deviceless (fstype_has_no_device?)
like fstype_is_network().


More information about the systemd-devel mailing list