[ILUG] FC3 external storage auto detection and mounting

Conor Wynne weeboy at conorwynne.com
Fri Apr 15 19:00:39 IST 2005


> My external USB disk and flash memory used to be automatically detected
> and mounted with icons appearing on the desktop. Now this behaviour has
> suddenly stopped. I'm not sure what daemon enables this functionality
> (newbie) but my guess was that this had to do with the "hal" package and
> daemon. Using "rpm -q hal" showed that I had two versions  installed
> (can't explain why), and so I removed the older version, in case they
> were conflicting, but the problem remain unresolved. Could someone tell
> me how to re-enable the auto-discovery of devices in FC3?

I use autofs for everything, nfs, SMB, hdd's, floppy's & usbmedia.
edit /etc/auto.master

misc  /etc/auto.misc  --timeout=5

Next, in auto.misc, add an entry such as:
usbcamera    -fstype=auto,sync,nodev,nosuid    :/dev/xxx

add an entry for each device you wish to mount.

chkconfig autofs on
service autofs start

Then simply cd /misc/usbcamera and its automagically mounted.
You can have icons on your desktop which you simply click on to mount or
unmount.

> ---
> Kuda

-- 
Conor Wynne,
Dublin,
Irlande.



More information about the ILUG mailing list