automatically mount removable devices

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sat Aug 23 17:58:32 UTC 2008


Victor wrote:
> 
>> If you label the partitions, they will be mounted on /media/name. If
>> this is not what you want, you can write HAL rules to have them
>> mounted elsewhere. If you don't want to add labels, you can use the
>> UUID value in the HAL rules.
> 
> Wouldn't udev rules be easier to build for something like this?
> Or is there something that HAL can give you over udev?
> 
> --Victor
> 
I am not sure - it depends on how many partitions. It also gets a
bit complicated if the enclosures are the same. Then you would have
the same Vendor ID and Product ID. With HAL and UUID, the drives get
mounted the same way even if you change enclosures. I guess it
depends on what you know better. But if you do not know how to write
udev rules, then you are better off with learning to use HAL.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080823/15c706b0/attachment-0001.sig>


More information about the fedora-list mailing list