On Sat, 2021-03-27 at 07:36 +0800, Ed Greshko wrote:
> On 27/03/2021 07:24, Patrick O'Callaghan wrote:
> > Just a quick comment: I think the x-systemd.mount-timeout entry in
> > aux.mount should be x-systemd.idle-timeout, at least according to
> > the
> > systemd.mount man page.
> 
> Actually, it should not be there at all.  I had copied it the fstab
> and it was actually there as a
> relic from when I was transitioning between 2 NAS and I sometimes
> forgot that a NAS was
> unavailable.  Causing me grief.
> 
> I didn't think to check the document....not uncommon.  :-)
> 
> "Note that this option can only be used in /etc/fstab, and will be
> ignored when part of the Options= setting in a unit file."
> 
> I have "TimeoutIdleSec=60" in the automount unit.

Yes, that's what I did too. The man page for systemd.mount is unclear
on this. It seems to imply you can set an idle-timeout (not the mount-
timeout) in either the mount or automount units, or in the fstab (not
an option in my case and the automount unit seems more logical to me).

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