|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21571/root/usr/share/doc/hal-0.5.8.1/conf/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- Example: Match volumes from an external USB harddisk enclosure by
matching on vendor and model. Use mount points
my_usbdisk_part_<partition-number>
NB: some drives (ieee1394 based IIRC) even export the
property storage.serial, the unique serial number of the
disk which is a better match -->
<device>
<match key="block.is_volume" bool="true">
<match key="volume.fsusage" string="filesystem">
<match key="@block.storage_device:storage.vendor" string="ST360021">
<match key="@block.storage_device:storage.model" string="A">
<merge key="volume.policy.desired_mount_point" type="string">my_usbdisk_partition_</merge>
<append key="volume.policy.desired_mount_point" type="copy_property">volume.partition.number</append>
</match>
</match>
</match>
</match>
</device>
<!-- Example: Match a volume from an USB Storage Based mp3 player
by the file system UUID and assign a mount point.
NB: When reformatting the volume a new UUID will be
used and this rule will have to be altered -->
<device>
<match key="block.is_volume" bool="true">
<match key="volume.fsusage" string="filesystem">
<match key="volume.uuid" string="4150-3F34">
<merge key="volume.policy.desired_mount_point" type="string">my_mp3_player</merge>
</match>
</match>
</match>
</device>
</deviceinfo>