I am trying to use IOMEGA REV disks with SUSE 10. I am having an initial problem with the system insisting on mounting them read-only. Using the SUSE 10 release notes as a starting point, I have added a policy to have it not be mounted read-only. I used this technique to great effect with a USB memory stick. But it seems to not be working with the REV. lahal lists this for the REV: udi = '/org/freedesktop/Hal/devices/volume_label_REV_35' info.callouts.remove = {'hald-subfs-mount'} (string list) info.callouts.add = {'hald-add-selinux-mount-option', 'hald-subfs-mount'} (string list) volume.policy.desired_mount_point = 'REV 35' (string) volume.policy.mount_filesystem = 'udf' (string) volume.policy.should_mount = true (bool) info.udi = '/org/freedesktop/Hal/devices/volume_label_REV_35' (string) info.product = 'REV 35' (string) 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 = 'unknown' (string) volume.size = 35002122240 (0x8264a0000) (uint64) volume.num_blocks = 68363520 (0x4132500) (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/cdrecorder' (string) volume.label = 'REV 35' (string) volume.uuid = '' (string) volume.fsversion = '' (string) volume.fsusage = 'filesystem' (string) volume.fstype = 'udf' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_RRD' (string) block.is_volume = true (bool) block.minor = 0 (0x0) (int) block.major = 11 (0xb) (int) block.device = '/dev/sr0' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_model_RRD' (string) linux.sysfs_path_device = '/sys/block/sr0/fakevolume' (string) linux.sysfs_path = '/sys/block/sr0/fakevolume' (string) In a file called /usr/share/hal/fdi/policy/20thirdparty/90-storage-nosync.fdi, I put: <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <!-- disable sync for mount --> <match key="info.product" string="REV 35"> <merge key="volume.policy.mount_option.sync" type="bool">false</merge> </match> </device> </deviceinfo> And then I ran 'rchal restart'. But the disk is still mounted read-only. Can I use the info.product string here? I wanted something that would be the same for all disks and that the user could not change. -- Roger Oberholtzer OPQ Systems AB
participants (1)
-
Roger Oberholtzer