custom mount point for USB flash disk

vitko vitk0 at seznam.cz
Fri Nov 25 06:21:40 PST 2005


Andrey Borzenkov wrote:

> You have to set it for volume; in your example it is set for completely wrong 
> object. 

You are quite correct. Point of my question is to learn how to set
it right.

>> $ cat /usr/share/hal/fdi/50user/apacer_ht203.fdi
>> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
>>
>> <deviceinfo version="0.2">
>>    <device>
>>      <match key="info.bus" string="usb">
>>        <match key="usb.vendor_id" int="0x1005">
>>          <match key="usb.product_id" int="0xb113">
>>            <merge key="usb.product"
>> type="string">FooBarJustToTestMatchWorks</merge> <merge
>> key="volume.policy.desired_mount_point"
>> type="string">/media/apacerht203</merge>
>>        </match>
>>      </match>
>>    </device>
>> </deviceinfo>

So again, what do I need to do with FDI above to make it work?

Thanks for all tips or (better) pointer to some tutorial or docs.

Vit	


More information about the hal mailing list