<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<!-- add up gid to possible mount options for vfat -->
<match key="volume.fstype" string="vfat">
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
<append key="volume.mount.valid_options" type="strlist">gid=</append>
</match>
</match>
<!-- Handle drives with non-partitioned media -->
<match key="storage.no_partitions_hint" bool="true">
<!-- floppy drives -->
<match key="storage.drive_type" string="floppy">
<merge key="storage.policy.mount_option.iocharset=utf8" type="bool">true</merge>
<merge key="storage.policy.mount_option.codepage=866" type="bool">true</merge>
</match>
</match>
<!-- Normal volumes; use volume label, uuid or drive_type -->
<match key="block.is_volume" bool="true">
<match key="volume.fsusage" string="filesystem">
<!-- skip for drives with the no partitions hint (they are handled above) -->
<match key="@block.storage_device:storage.no_partitions_hint" bool="false">
<!-- Use KOI8-R charset for vfat -->
<match key="volume.fstype" string="vfat">
<merge key="volume.policy.mount_option.iocharset=utf8" type="bool">true</merge>
<merge key="volume.policy.mount_option.codepage=866" type="bool">true</merge>
<merge key="volume.policy.mount_option.dmask=0002" type="bool">true</merge>
<merge key="volume.policy.mount_option.fmask=0113" type="bool">true</merge>
         <merge key="volume.policy.mount_option.gid=100" type="bool">true</merge>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>