From: Thanh Tran Subject: Re: Fedora 8 And Autofs Date: Thu, 14 Aug 2008 09:07:00 -0700 (PDT) Message-ID: <66342.23825.qm@web54301.mail.re2.yahoo.com> References: <1218725987.3216.7.camel@raven.themaw.net> Reply-To: ttran7700@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1218725987.3216.7.camel@raven.themaw.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Ian Kent Cc: autofs@linux.kernel.org > 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 > wrote: > > > > > From: Thanh Tran > > > Subject: Re: [autofs] Fedora 8 And Autofs > > > To: "Ian Kent" > > > Cc: autofs@linux.kernel.org > > > 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 > > > > wrote: > > > > > > > From: Ian Kent > > > > Subject: Re: [autofs] Fedora 8 And Autofs > > > > To: ttran7700@yahoo.com > > > > Cc: autofs@linux.kernel.org > > > > 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 > > > autofs@linux.kernel.org > > > http://linux.kernel.org/mailman/listinfo/autofs > > > > > > > > > > _______________________________________________ > > autofs mailing list > > autofs@linux.kernel.org > > http://linux.kernel.org/mailman/listinfo/autofs