On Fri, 2021-06-18 at 19:26 -0600, Chris Murphy wrote:
> I make fstab mount options include:
> 
> nofail,noauto,x-systemd.automount
> 
> That way it is only mounted on demand, i.e. when the mount point is
> "touched".
> 
> It's also possible to use x-systemd.idle-timeout=300 which will
> unmount it after 5 minutes idle.

I use a systemd <device>.mount because I need a "Wants" line to trigger
my power-down script. There doesn't appear to be a way to do this via
/etc/fstab.

Also, there appears to be no way to set "nofail" *without* using
/etc/fstab.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to