Re: Procedure on mounting USB/hotplug devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 07 August 2007 09:16, Casey Stamper wrote:
> On 8/7/07, Marko Vojinovic <vvmarko@xxxxxxxxxxx> 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.
>
> I think dynamic mounts are in /etc/mtab.

The data goes there once the device is mounted. But that is not what I am 
talking about.

I want to know how the system determines the parameters that are used to mount 
a device. The mount command reads that data from /etc/fstab, and mounts the 
device accordingly. Where is the same information stored (or how is it 
generated) about hotpluggable devices that are not listed in /etc/fstab and 
are not yet mounted? One must FIRST have the mount point created, the 
filesystem determined, the permissions set up, and THEN (using all that) 
mount the device.

Of course, once the device is mounted, all those parameters are displayed 
in /etc/mtab and in /proc/mounts. But I want to configure it, not just read 
it.

Best, :-)
Marko

Marko Vojinovic
Institute of Physics
University of Belgrade
======================
e-mail: vmarko@xxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux