Gentoo Archives: gentoo-user

From: Raul Gonzales <rg0076@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] hal .fdi rules for usb stick
Date: Sat, 06 Jun 2009 20:16:04
Message-Id: 4A2ACE7B.2000909@googlemail.com
1 Hi,
2
3 I'm trying to get my USB stick mounted at some other place than
4 /media/<VOLUME-LABEL>. For the beginning it would be enough to mount it
5 to /media/usbstick.
6 I've created my own fdi rule:
7
8
9 #cat /usr/share/hal/fdi/policy/20thirdparty/10-usb-mount.fdi
10 <?xml version="1.0" encoding="UTF-8"?>
11
12 <deviceinfo version="0.2">
13
14 <device>
15 <match key="volume.fsusage" string="filesystem">
16 <match key="volume.uuid" string="9487-F0B5">
17 <merge key="volume.policy.should_mount"
18 type="bool">true</merge>
19 <merge key="volume.policy.desired_mount_point"
20 type="string">/media</merge>
21 <append key="volume.policy.desired_mount_point"
22 type="copy_property">usbstick</append>
23 </match>
24 </match>
25 </device>
26
27 but it didn't work........
28
29 Also is there a way how to mount usb stick to some completely different
30 location, like: /home/user/usbstick ?
31
32
33 Thanks,
34 Raul

Replies

Subject Author
Re: [gentoo-user] hal .fdi rules for usb stick Neil Bothwick <neil@××××××××××.uk>