Hi,

I was trying to make something equivalent to the sun's automounter
net     -hosts 

But I/it failed and after simplifying the problem to a simple submount I still
haven't it right.

Here you have the files:

bash-2.01# cat auto.master 
/mntexp /etc/auto.mnt

(There is also a yp auto.master but it works fine: it automount /home correctly
and ignores /mnt -hosts -rw,soft,intr,noquota)

bash-2.01# cat auto.mnt 
mamiko  -fstype=autofs,rw,soft,intr,noquota     file:/etc/auto.mamiko

bash-2.01# cat auto.mamiko 
home3   mamiko:/home3

And now the messages from automount

[root@helios init.d]# ls /mntexp/mamiko
Mar 10 03:02:22 helios automount[383]: attempting to mount entry /mntexp/mamiko
Mar 10 03:02:22 helios automount[477]: lookup(file): looking up mamiko
Mar 10 03:02:22 helios automount[477]: lookup(file): mamiko ->
-fstype=autofs,rw,soft,intr,noquota^Ifile:/etc/auto.mamiko
Mar 10 03:02:22 helios automount[477]: expanded entry:
-fstype=autofs,rw,soft,intr,noquota^Ifile:/etc/auto.mamiko
Mar 10 03:02:22 helios automount[477]: parse(sun): gathered options:
fstype=autofs,rw,soft,intr,noquota
Mar 10 03:02:22 helios automount[477]: parse(sun): core of entry:
file:/etc/auto.mamiko
Mar 10 03:02:22 helios automount[477]: do_mount file:/etc/auto.mamiko
/mntexp/mamiko type autofs options rw,soft,intr,noquota using module autofs
Mar 10 03:02:22 helios automount[477]: mount(autofs): calling mkdir
/mntexp/mamiko
Mar 10 03:02:22 helios automount[477]: mount(autofs): fullpath=/mntexp/mamiko
what=file:/etc/auto.mamiko options=rw,soft,intr,noquota


^C to go back to the prompt

The version of automount is 
bash-2.01# /usr/sbin/automount --version
Linux automount version 3.1.3

And linux is 2.2.0-pre5 but it also failed on 2.2.2

What should I do now?

Marc

Reply via email to