util-linux Karel Zak @karelzak replied: https://github.com/karelzak/util-linux/issues/790
> The libmount allows to read fstab stuff from directory, for example > > ``` > mount --fstab /etc/fstab.d/ > ``` > > but this feature is not enabled by default and it does not check for fstab.d/ by default. (see "man mount" for more details). > > The problem is that /etc/fstab is de-facto standard and on many places (in linux ecosystem) we do not expect this feature. The nice example is libc getmntent() API, another important is consumer systemd, /sbin/mount. helpers, many 3rd party scripts etc ... so it's not about util-linux. > > This is reason why libmount does not support it natively (although I agree that /etc/fstab.d/ itself is a good idea). systemd Lennart Poettering @poettering replied: https://github.com/systemd/systemd/issues/12506#issuecomment-490227369 > We don't define the /etc/fstab format, util-linux does that and we noawadays use util-linux' apis to parse it. Hence if you want soething like that, you'd have to work with the util-linux folks, and then ths would magically just work in systemd. > > That said, if I were you I'd just write a generator that looks at /etc/fstab and creates drop-ins for the .mount units systemd-fstab-generator generates that override the Option= line. i.e. let systemd-fstab-generator do its thing as it currently does (meaning: translating fstab into native systemd .mount unit files), but then have your own generator that tweak some of these mount units with additional generated drop-ins as you need. > > Anyway, let's close this, as I don't think we should change this in systemd upstream. I hope that makes sense.