[systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Wed May 13 06:28:24 PDT 2015

On 13 May 2015 at 13:33, Lennart Poettering <lennart at poettering.net> wrote:
> On Tue, 12.05.15 19:29, Andrei Borzenkov (arvidjaar at gmail.com) wrote:
>> All examples can be configured using drop-ins. Do we really need yet
>> another syntax now?
> Well, even though units are all-powerful, I still believe that fstab
> is probably where most people will configure their stuff, simply
> because it's so much simpler to use.

... and the only place where you can define different mount options
and expect them to take effect. This is because remount-fs only
remounts things defined in fstab, and doesn't remount things that are
defined via .mount units.

> Now, of course, we shouldn't try to reimplement all possible settings
> that .mount unit files provide as fstab options. But the most obvious
> ones probably *do* make sense to add, and x-systemd.requires= is
> probably one of them. It's not only useful for stuff like overlayfs,
> but also pretty essential for things like ext3, ext4, xfs which
> support external journal logging devices, for which the mounts need to
> express dependencies:
> https://bugzilla.redhat.com/show_bug.cgi?id=1164334
> Lennart
> --
> Lennart Poettering, Red Hat
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Pura Vida!

Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.

More information about the systemd-devel mailing list