Re: umount /mountpoint after x minutes?

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

 




On 05/14/2013 08:58 AM, Frank Murphy wrote:
I have an nfs share mounted in /etc/fstab
server:/share /mountpoint nfs re,auto,lock,inte 00


Is it possible to to have it auto umount /mountpoint,
after x minutes?

looked at man idle, man bash, man umount
Googled: "umount dir after set time"

man autofs
  -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.

If you don't want to set a global timeout you can specify a different timeout for each mount

man auto.master

             -t, --timeout <seconds>
Set the expire timeout for map entries. This option can be used to override the global default given either on
                     the command line or in the configuration.

Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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