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

Lennart Poettering lennart at poettering.net
Wed May 13 05:33:15 PDT 2015


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.

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


More information about the systemd-devel mailing list