How can I configure autofs so my mounts never timeout?

网友投稿 1034 2022-09-02 00:20:04

How can I configure autofs so my mounts never timeout?

EnvironmentRed Hat Enterprise Linux 6IssueHow can I configure autofs so my mounts never timeout?I need persistent mounts, but I can’t set them up in /etc/fstab.ResolutionPer the man page, automount allows a timeout=0 setting to disable unmounting:Raw-t, —timeout Set the global minimum timeout, in seconds, until directories are unmounted. The default is 10 minutes. Setting the timeout to zero disables umounts completely.This setting can be added to /etc/sysconfig/autofs to disable unmounting as well:RawTIMEOUT - set the default mount timeout (default 600).​​

TIMEOUT=0

Linux

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:提问频率较高的php面试题
下一篇:学习PHP的10个技巧(如何快速学php)
相关文章