public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hal .fdi rules for usb stick
@ 2009-06-06 20:15 Raul Gonzales
  2009-06-06 21:50 ` Neil Bothwick
  0 siblings, 1 reply; 2+ messages in thread
From: Raul Gonzales @ 2009-06-06 20:15 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm trying to get my USB stick mounted at some other  place than 
/media/<VOLUME-LABEL>. For the beginning it would be enough to mount it 
to /media/usbstick.
I've created my own fdi rule:


#cat /usr/share/hal/fdi/policy/20thirdparty/10-usb-mount.fdi
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">

<device>
       <match key="volume.fsusage" string="filesystem">
         <match key="volume.uuid" string="9487-F0B5">
                <merge key="volume.policy.should_mount" 
type="bool">true</merge>
                <merge key="volume.policy.desired_mount_point" 
type="string">/media</merge>
                <append key="volume.policy.desired_mount_point" 
type="copy_property">usbstick</append>
         </match>
       </match>
</device>

but it didn't work........

Also is there a way how to mount usb stick to some completely different 
location, like: /home/user/usbstick ?


Thanks,
Raul



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-06 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 20:15 [gentoo-user] hal .fdi rules for usb stick Raul Gonzales
2009-06-06 21:50 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox