Hi people,

I have in my automount script this bellow. I have the /net as automounted for 10 secs. But when I do a S74autofs stop and then start then after 10 seconds this mount point it doesn't get automatically unmount. Am I making any mistake in the auto_master file?

************************************
auto_master
bgwa# more /etc/auto_master
# Master map for automounter
#
+auto_master
/net            -hosts          -nobrowse
#/home          auto_home       -nobrowse
/xfn            -xfn

*****************************************
S74autofs
bgwa# more /etc/rc2.d/S74autofs
#!/sbin/sh
#
# Copyright (c) 1993-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)autofs     1.6     98/12/14 SMI"

case "$1" in
'start')
        /usr/lib/autofs/automountd </dev/null >/dev/msglog 2>&1
        /usr/sbin/automount -t 10 &
        ;;

'stop')
        /sbin/umountall -F autofs
        /usr/bin/pkill -x -u 0 automountd
        ;;

*)
        echo "Usage: $0 { start | stop }"
        ;;
esac
exit 0

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to