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

Re: automount




DMW said:
> Automount help please!
[...]
> I made softlinks from /mnt/cdrom to /cdrom, /mnt/floppy to /floppy, and
> /mnt/ez to /ez.  However, when I stick a floppy in the drive and view
> /floppy or /mnt/floppy, I see nothing, and the drive
> doesn't even access the floppy disk.  Same for the other two devices.

You shouldn't be able to see anything.  The way you have it set up,
you would be able to see something if you did an "ls
/mnt/floppy/floppy".

The stock auto.master has a line like this:

    /misc	/etc/auto.misc	--timeout 120

Then /etc/auto.misc has stuff like this:

    cd          -fstype=iso9660,ro              :/dev/cdrom
    kernel      -ro,soft,intr                   ftp.kernel.org:/pub/linux

Those two examples would mount as /misc/cd and /misc/kernel.  The
first column in auto.master gives the parent directory of the mount
point.  The second column specifies the map file.  (This is called an
indirect map, BTW.)  In the map file, the first column specifies the
mount point (under the parent directory in auto.master), and the rest
should be self-explanatory...

BTW, I got Red Hat 6.0 installed on a box at work today.  During the
install, I told it to be an NIS client.  I also told it to run autofs.
When the box came up, the automount maps we have in NIS just magically
worked.  I honestly was expecting to have to do more work than that...
It probably goes without saying that I was pleasantly surprised.  :-)

Perhaps the next meeting would be a good time for me to talk about
NIS, autofs, and other such fun stuff...

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(217)698-1694             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.