hi ya joakim > /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 > \-----------------------------------------------------------------
the above says that you are mounting "misc.foo" onto /var/autofs/misc - make sure you ahve the directory called /var/autofs/misc simlarly of /var/autofs/net make sure your kernel supports autofs - compiled into the kernel -- or -- as a modules listed by lsmod - you'd probably have a library like /usr/lib/autofs ( a list of autofs libs ) > /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 # # use this for testing autofs # mail -fstype=auto,soft,intr mail:/var/spool/mail > | > | # Key "local" is added by me. > \----------------------------------------------------------------- > local is the only thing your care about... - you really do NOT want to be automounting a local filesystem - make sure you can manuyally mount that resource root# mount -t ext3 -o ro,soft,intr,nosuid /dev/hda5 /mnt if the above works... autofs should also work - if yu have access to mail.your-domain.com:/var/spool/mail add "mail:/var/spool/mail" to the auto.misc file ls -la /var/autofs/misc/mail == should list your mailboxes > 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 it's not automounting... - what is the error messages in /var/log/ i think you wanna go to --------------------------- cd /var/autofs/misc ls -la kernel hav fun alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]