Understabable. I've found the autofs documentation to be a bit hard to follow also, but I did eventually figure it out. You can't have a mount point of "/", so use something convenient like "/mnt", however, you can then set up a symlink so that it looks like it's at /. Try this:
In /etc/auto.master /mnt /etc/auto.mnt --timeout=5 In /etc/auto.mnt floppy -fstype=auto,sync :/dev/fd0 Then: ln -s /mnt/floppy /floppy Then whenever you try to access /floppy it will automatically mount /dev/fd0 on /mnt/floppy, but because of the symlink you can access it as /floppy. After 5 seconds of not trying to access /floppy (and not being in the directory in any shell) it will unmount it. The big confusion came to me because there are actually 2 man pages for autofs, and the default one doesn't really explain the format of the files. Try "man 5 autofs". Caleb On Tue, 2002-02-12 at 11:40, Mirek Dobsicek wrote: > Hi all, > I feel a bit lost in running autofs. > > I've installed autofs package, compilled autofs4 support into kernel > and hoped that now my /floppy becomes automounted, but no :-(( > > I read man pages from autofs and auto.master, but i'm too lame to > understand it. Please help me. > > > Regards, Mirek Dobsicek > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part