David Guntner wrote:

> Thanks for the info.  From further reading, I found out about that.  So I'm
> trying to get autofs working, and it's not.
> 
> My /etc/auto.master file has this in it:
> 
> /mnt/cdrom    /etc/auto.cdrom
> 
> and my /etc/auto.cdrom file has this:
> 
> cdrom         -fstype=iso9660,ro      :/dev/cdrom
> 
> I've even tried using:
> cd    -fstype=iso9660,ro      :/dev/hdc
> 
> to exactly match what's in the example in the man page(s).  I started it
> up, and got no error messages, but trying to access /mnt/cdrom just give me
> empty directory listing (for the directory where the mount is *supposed* to
> go), but not what's on the CD.  Any pointers?

If autofs is running correctly on your machine then /mnt/cdrom will be 
empty (until you have caused a mount). Your /etc/auto.master says to 
mount stuff _inside_ /mnt/cdrom according to /etc/auto.cdrom.
The /etc/auto.cdrom file:

cdrom   -fstype=iso9660,ro      :/dev/cdrom

would therefore cause /dev/cdrom to be mounted at /mnt/cdrom/cdrom when you
access that directory. You should therefore try to
cd /mnt/cdrom/cdrom; ls

Andreas


-- 
Prof. Dr. Andreas J. Guelzow                    
Assoc. Prof of Mathematics
Concordia University College of Alberta
http://www.math.concordia.ab.ca/aguelzow


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to