Mount DVD-RAM with --async option?
Frank Noack
fgroups at onlinehome.de
Tue Feb 13 14:58:54 PST 2007
Hi
I like to mount DVD-RAM media with async option for higher writing
performance. For that i maked a /etc/hal/fdi/policy/01-dvd-ram.fdi
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="block.is_volume" bool="true">
<match key="volume.is_disc" bool="true">
<match key="volume.fsusage" string="filesystem">
<match key="volume.fstype" string="udf">
<match key="block.device" string="/dev/hdd">
<merge key="volume.policy.desired_mount_point"
type="string">DVD-RAM</merge>
</match>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
But i dont know what i must insert for disabling the default sync mount. I
tested <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
but it dont work.
Here is the output fro lshal:
udi = '/org/freedesktop/Hal/devices/volume_label_DVD_RAM'
info.hal_mount.mounted_by_uid = 1000 (0x3e8) (int)
info.hal_mount.created_mount_point = '/media/DVD-RAM' (string)
volume.mount.valid_options = = false (bool)
volume.policy.desired_mount_point = 'DVD-RAM' (string)
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_options =
{'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'uid=', 'umask='}
(string list)
org.freedesktop.Hal.Device.Volume.method_execpaths =
{'hal-system-storage-mount', 'hal-system-storage-unmount', 'hal-system-storag
e-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
(string list)
org.freedesktop.Hal.Device.Volume.method_names =
{'Mount', 'Unmount', 'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_label_DVD_RAM' (string)
info.product = 'DVD-RAM' (string)
volume.disc.capacity = 4580769792 (0x111090000) (uint64)
volume.disc.is_svcd = false (bool)
volume.disc.is_vcd = false (bool)
volume.disc.is_videodvd = false (bool)
volume.disc.is_rewritable = true (bool)
volume.disc.is_appendable = false (bool)
volume.disc.is_blank = false (bool)
volume.disc.has_data = true (bool)
volume.disc.has_audio = false (bool)
volume.disc.type = 'dvd_ram' (string)
volume.size = 4294965248 (0xfffff800) (uint64)
volume.num_blocks = 8946816 (0x888480) (int)
volume.block_size = 2048 (0x800) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = true (bool)
volume.is_mounted = true (bool)
volume.mount_point = '/media/DVD-RAM' (string)
volume.label = 'DVD-RAM' (string)
volume.uuid = '' (string)
volume.fsversion = '' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'udf' (string)
storage.model = '' (string)
block.storage_device
= '/org/freedesktop/Hal/devices/storage_model_PIONEER_DVD_RW_DVR_111'
(string)
block.is_volume = true (bool)
block.minor = 64 (0x40) (int)
block.major = 22 (0x16) (int)
block.device = '/dev/hdd' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent
= '/org/freedesktop/Hal/devices/storage_model_PIONEER_DVD_RW_DVR_111'
(string)
linux.sysfs_path_device = '/sys/block/hdd/fakevolume' (string)
linux.sysfs_path = '/sys/block/hdd/fakevolume' (string)
Can you help me please.
Thanks Frank
More information about the hal
mailing list