> And where is the auto.master, that you believe should be
> used, located?

It's in /etc/auto.master

I'm expecting my cdrom to mount to /mnt/cdrom.  I have the same rules for other 
drives.  When mounted, the cdrom would be on /mnt/cdrom/cdrom.  Kind of strange 
naming but should still work.

My /etc/nsswitch.conf file contains the following.  I removed the comments.

passwd:     files
shadow:     files
group:      files
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   nisplus
publickey:  nisplus
automount:  files nisplus
aliases:    files nisplus

My options for autofs contain the following.

MASTER_MAP_NAME="auto.master"
TIMEOUT=300
BROWSE_MODE="no"

Everything else was commented out.  

Thanks for all the help.  I'm still working on the jmoyer thing.  Maybe, I'll 
see something there.


> > --- On Thu, 8/14/08, Thanh Tran
> <[EMAIL PROTECTED]> wrote:
> > 
> > > From: Thanh Tran <[EMAIL PROTECTED]>
> > > Subject: Re: [autofs] Fedora 8 And Autofs
> > > To: "Ian Kent" <[EMAIL PROTECTED]>
> > > Cc: [email protected]
> > > Date: Thursday, August 14, 2008, 8:55 AM
> > > Thank you for your reply.  I'm using autofs
> because my
> > > system is stripped down.  I'm not running any
> GUI's.
> > >  It's all command lines for me.  Only
> esseintial
> > > services and apps were installed.  I did the same
> thing
> > > under Fedora 5 and didn't have any problems. 
> Perhaps,
> > > I'm missing a service that autofs needs???
> > > 
> > > 
> > > --- On Thu, 8/14/08, Ian Kent
> <[EMAIL PROTECTED]>
> > > wrote:
> > > 
> > > > From: Ian Kent <[EMAIL PROTECTED]>
> > > > Subject: Re: [autofs] Fedora 8 And Autofs
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [email protected]
> > > > Date: Thursday, August 14, 2008, 1:00 AM
> > > > On Wed, 2008-08-13 at 05:43 -0700, Thanh
> Tran wrote:
> > > > > Thanks for the reply.
> > > > > 
> > > > > My auto.master file looks like this.
> > > > > 
> > > > > /mnt/cdrom /etc/auto.cdrom --timeout 2
> > > > > /mnt/floppy /etc/auto.floppy --timeout
> 1
> > > > > /mnt/usbdrive /etc/auto.usbdrive
> --timeout 2
> > > > > 
> > > > > My auto.cdrom looks like this.
> > > > > 
> > > > > cdrom    -fstype=iso9660,user,suid  
> :/dev/cdrom
> > > > > 
> > > > > I did a lshal -monitor to make sure the
> physical
> > > > devices were at least being detected when I
> inserted
> > > them to
> > > > the USB.  
> > > > 
> > > > And I suppose you've configured Gnome to
> not mount
> > > > these removable
> > > > devices for you when they are become
> available?
> > > > 
> > > > Fact is that GUI handling of removable
> devices is
> > > usually
> > > > better than
> > > > using autofs for these, but I guess you use
> autofs
> > > rather
> > > > than the GUI
> > > > for a reason.
> > > > 
> > > > > 
> > > > > I did a "/etc/rc.d/init.d/autofs
> > > status"
> > > > under Fedora 8 and only got this.
> > > > > 
> > > > > automount (pid 1524) is running...
> > > > > 
> > > > > I did the same call under Fedora 5 and
> got this.
> > > > > 
> > > > > Configured Mount Points:
> > > > > ------------------------
> > > > > /usr/sbin/automount --timeout=60
> /mnt/cdrom file
> > > > /etc/auto.cdrom
> > > > > /usr/sbin/automount --timeout=60
> /mnt/floppy file
> > > > /etc/auto.floppy
> > > > > /usr/sbin/automount --timeout=60
> /mnt/usbdrive
> > > file
> > > > /etc/auto.usbdrive
> > > > > 
> > > > > Active Mount Points:
> > > > > --------------------
> > > > > /usr/sbin/automount --timeout=60
> /mnt/cdrom file
> > > > /etc/auto.cdrom
> > > > > /usr/sbin/automount --timeout=60
> /mnt/floppy file
> > > > /etc/auto.floppy
> > > > > /usr/sbin/automount --timeout=60
> /mnt/usbdrive
> > > file
> > > > /etc/auto.usbdrive
> > > > > 
> > > > > This output leads me to believe the
> auto.master
> > > is not
> > > > loading correctly under Fedora 8.  
> > > > 
> > > > There isn't a simple way for the init
> script to
> > > get
> > > > this information
> > > > from version 5 yet. You can "cat
> > > /proc/mounts|grep
> > > > autofs" if you want
> > > > to see what autofs mounts have been made but
> there are
> > > no
> > > > individual
> > > > processes any more. Having the init script
> interrogate
> > > > /proc/mounts was
> > > > considered at one stage but that hasn't
> been done
> > > > because we would
> > > > rather get the information from the daemon.
> > > > 
> > > > Ian
> > > 
> > > 
> > >       
> > > 
> > > _______________________________________________
> > > autofs mailing list
> > > [email protected]
> > > http://linux.kernel.org/mailman/listinfo/autofs
> > 
> > 
> >       
> > 
> > _______________________________________________
> > autofs mailing list
> > [email protected]
> > http://linux.kernel.org/mailman/listinfo/autofs


      

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to