You are not logged in.
Pages: 1
Does anyone know if there is a way to change the name that hal gives to the folder of automounted usb thumbdrives. I assume that the name comes from the hardware. One of my thumbdrives always mounts as 4D14-E2D2 and the other always as BC80-EDAF. Though it is a minor complaint, it would be nice to have folder names that are easier to remember.
Last edited by overlord_manny (2009-11-08 06:36:05)
Offline
Personally to get a chosen label I created a /etc/hal/fdi/policy/20-storage.fdi file containing :
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="volume.uuid" string="DA8E-98E0">
<merge key="volume.label" type="string">storage1</merge>
</match>
... the same for each device I use
</device>
</deviceinfo>
the volume.uuid string is seen with lshal after the device was plugged in.
With that, the memory stick is mounted in /media/storage1 which is created when the device is automounted.
Offline
Yes. Just set label for the partition using ntfslabel, e2label or similar program. It works nicely for my USB HDD which has 3 NTFS partitions.
Offline
Thanks for the help worked like a charm.
Offline
Pages: 1