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

Autofs



Hello,

I can not get autofs to work. I have installed autofs with

   bash% apt-get install autofs

And, then just tried to use the default /etc/auto.master and
/etc/auto.misc files which come with the package:


 /etc/auto.master:
 /-----------------------------------------------------------------
 | # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
 | # Sample auto.master file
 | # Format of this file:
 | # mountpoint map options
 | # For details of the format look at autofs(5).
 | /var/autofs/misc	/etc/auto.misc
 | /var/autofs/net      /etc/auto.net
 \-----------------------------------------------------------------


 /etc/auto.misc:
 /-----------------------------------------------------------------
 | # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
 | # This is an automounter map and it has the following format
 | # key [ -mount-options-separated-by-comma ] location
 | # Details may be found in the autofs(5) manpage
 | 
 | kernel		-ro					ftp.kernel.org:/pub/linux
 | boot		-fstype=ext3				        :/dev/hda1
 | removable	-fstype=ext2,sync,nodev,nosuid		        :/dev/hdd
 | cd		-fstype=iso9660,ro,sync,nodev,nosuid	        :/dev/hdc
 | floppy		-fstype=auto,sync,nodev,nosuid		:/dev/fd0
 | local		-fstype=ext3,ro,soft,intr,nosuid        :/dev/hda5
 |
 | # Key "local" is added by me.
 \-----------------------------------------------------------------


When I then first go to the mount-point /var/autofs/master, and thenthe configuration files
seem to
try:

   bash% cd kernel
   bash: cd: kernel: No such file or directory

Either I am doing something horribly wrong, or else the packaga seems
to ship with broken configuration files (but from my understanding of
the manual pages the config files are correct - so ...?).

Any tips appreciated.


Best Regards  -  Joakim Hove

-- 
Joakim Hove
Stabburveien 18 
5231 Paradis
55 91 28 18



Reply to: