Procedure on mounting USB/hotplug devices
Aaron Konstam
akonstam at sbcglobal.net
Wed Aug 8 21:00:29 UTC 2007
On Wed, 2007-08-08 at 13:42 +0000, Marko Vojinovic wrote:
> On Tuesday 07 August 2007 14:12, Aaron Konstam wrote:
> > On Tue, 2007-08-07 at 09:06 +0000, Marko Vojinovic wrote:
> > > On Tuesday 07 August 2007 02:18, Tim wrote:
> > > > On Mon, 2007-08-06 at 21:40 +0000, Marko Vojinovic wrote:
> > > > > 4) This next daemon/service (which one??? autofs?) catches this
> > > > > signal, reads off the device's label (if it has one), creates a new
> > > > > directory named /media/label and modifies /etc/fstab accordingly so
> > > > > that /dev/device can be mounted to /media/label.
> > > >
> > > > It was quite a few releases ago that the fstab file was subject to
> > > > being rewritten automatically. Now, automatically mounted things are
> > > > mounted without altering it.
> > >
> > > So you are saying that the data that was to be written in /etc/fstab is
> > > now written somewhere else for "mount /media/label" to find it? Where
> > > would that be? I couldn't find anything in man mount.
> >
> > Nothing is written in fstab upon a mounting. The mount command (alone
> > without argument) will tell you what is mounted or the suggestion of
> > looking in /etc/mtab will work also.
>
> That's not the issue. I want to know how are those parameters determined for a
> hotpluggable device, *before* it is actually mounted. This is related to the
> fact that my usb flash memory does not get mounted automatically while I'm in
> runlevel 3, so there is nothing related in /etc/mtab. Since the kernel does
> detect the device and I can mount it manually, I suspect that whatever is
> determining the parameters for automounting does that wrong, and as a result
> the device does not get automounted.
>
> FWIW, everything works perfectly when Gnome is up, even KDE, but *not* without
> them.
I would not expect your usb device not CD nor DVD to mount at run level
3. It is gnome, for example, that is facilitating the mount.
--
Aaron Konstam <akonstam at sbcglobal.net>
More information about the fedora-list
mailing list