How to mount USB drive at boot time
Bill Davidsen
davidsen at tmr.com
Thu Jul 26 21:36:39 UTC 2007
Jonathan Ryshpan wrote:
> I have a USB drive that is usually, though not always, connected to my
> desktop system.
>
>
> If it is connected to the system at boot time, the device path should be
> created and the drive should be mounted immediately, i.e. BEFORE any
> user logs in.
>
> If it is not connected at boot time, there should be no serious problem.
>
> If the drive is connected to a running system (on which it had not been
> previously connected), the device path should be created, and it should
> be mounted by root.
>
> Root should be able to unmount the drive, when it is mounted.
>
>
> I assume this should be done by either udev or hal -- HOW?
>
You may be able to do this just by putting the entry in /etc/fstab,
using the UUID of the filesystem to eliminate any dependency on device
name. I /think/ the hotplug will check, I can't easily go thru it myself
at this moment.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the fedora-list
mailing list