Re: Hooks for automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux