<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - fstab-generator fails to create mount unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73710#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - fstab-generator fails to create mount unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73710">bug 73710</a>
from <span class="vcard"><a class="email" href="mailto:david@davidstrauss.net" title="David Strauss <david@davidstrauss.net>"> <span class="fn">David Strauss</span></a>
</span></b>
<pre><span class="quote">> A valuable functionality of mount+fstab has been compromised by adding the intermediate step of fstab-generator.</span >
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.
<span class="quote">> 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".</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>