[systemd-bugs] [Bug 73710] fstab-generator fails to create mount unit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 17 00:36:44 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73710

--- Comment #3 from David Strauss <david at davidstrauss.net> ---
> A valuable functionality of mount+fstab has been compromised by adding the intermediate step of fstab-generator.

The intention isn't for most users to rely on the generator; it's only there so
systemd can consistently manage mounts both native and from fstab. The
intention is that folks like you add .mount units for what you need mounted.

> I don't know if this interferes with other goals of fstab-generator, but one solution would be to create the mount unit on-the-fly for units with mount option "noauto".

I'm not sure that would work, but you could change what's in a single .mount
unit and daemon-reload systemd to use the altered version. I discourage
excessive use of daemon-reload for performance reasons, though.

You could also mount a "file system" in a script like
/usr/sbin/mount.mydynamicfs, which would be a mount unit of Type=mydynamicfs.
You can put whatever logic you want into the script that performs the mount.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140117/ddbfe2fb/attachment.html>


More information about the systemd-bugs mailing list