Tuesday, March 16, 2010
The default time to automount the shared resource is 10 min (600 sec).
If the time has to be changed it can be performed by executing the following command,
bash-3.00# automount -t 15 –v
-t = specifies the time to be mounted
-v = verbose mode
If the same has to be applied for all the shared resources on automounting, we can edit the following file,
bash-3.00# vi /etc/default/autofs | more
#ident "@(#)autofs 1.2 04/11/12 SMI"
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# The duration in which a file system will remain idle before being
# unmounted. This is equivalent to the "-t" argument to automount.