Procedure on mounting USB/hotplug devices

Marko Vojinovic vvmarko at panet.co.yu
Wed Aug 8 17:32:26 UTC 2007


On Tuesday 07 August 2007 13:30, Mikkel L. Ellertson wrote:
> 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.
>
> At one time, the code that mounted hotpluged devices would create an
> entry in /etc/fstab for them. This is not done any longer. But an
> entry in /etc/fstab has never been necessary in order to mount a
> file system.

Understood. Things have evolved since FC4, it seems. ;-)

> There is usually an entry created in /etc/mtab when a 
> file system is mounted, and the process gnome-mount uses still
> creates this entry.

Ok, so what is this process? Gnome-mount does not seem to work for me if Gnome 
is not running. (see my post to Tim for details).

Best, :-)
Marko

Marko Vojinovic
Institute of Physics
University of Belgrade
======================
e-mail: vmarko at phy.bg.ac.yu







More information about the users mailing list