George Sakhnovsky wrote:
> 
> system:
> redhat 6.2, kernel 2.2.16
> Linux automount version 3.1.5
> autofs-3.1.5
> 
> problem:
> seems like everything should be working fine - however the automounts are
> not performed. any ideas will be appreciated.
> 

Bad syntax.  "-timeout" is not a map option; it must go to the left of
the map type and has two dashes (--timeout).

        -hpa

> ~
> [root@popolare /etc]# mount
> /dev/hda1 on / type ext2 (rw)
> none on /proc type proc (rw)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> automount(pid370) on /mnt/floppy type autofs
> (rw,fd=5,pgrp=370,minproto=2,maxproto=3)
> automount(pid372) on /home type autofs
> (rw,fd=5,pgrp=372,minproto=2,maxproto=3)
> ~
> [root@popolare /home]# ps awx | grep automount
>   370 ?        S      0:00 /usr/sbin/automount /mnt/floppy file
> /etc/auto.floppy -timeout 60
>   372 ?        S      0:00 /usr/sbin/automount /home file /etc/auto.home
> -timeout 60
> ~
> [root@popolare /home]# /etc/rc.d/init.d/autofs status
> Configured Mount Points:
> ------------------------
> /usr/sbin/automount /mnt/floppy file /etc/auto.floppy -timeout 60
> /usr/sbin/automount /home file /etc/auto.home -timeout 60
> 
> Active Mount Points:
> --------------------
> [root@popolare /home]#
> ~
> [root@popolare /]# ls -ld home
> drwxr-xr-x    2 root     root            0 Jun 21 10:33 home
> [root@popolare /]# cd home
> [root@popolare /home]# ls -l
> total 0
> [root@popolare /home]#
> ~

Reply via email to