cgrim
7th June 2007, 04:12 PM
In Fedora Core 6 everything was OK. Devices with FAT32 file system mounted automaticly with shortname=mixed parameter under the HAL.
But I upgraded on Fedora 7 and the nightmare began. On of a lot of problems is, that all devices with FAT32 now mounts with shortname=lower parameter under the HAL.
I tried to make my own FDI policy but it has no efect. Mount stiil gives me this report:
/dev/sdb1 on /media/CGRIMS_DATA type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=5 00)
But in lshal is this:
udi = '/org/freedesktop/Hal/devices/volume_uuid_56DC_FAD9'
block.device = '/dev/sdb1' (string)
block.is_volume = true (bool)
block.major = 8 (0x8) (int)
block.minor = 17 (0x11) (int)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_5758455930363437 30333236' (string)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
info.parent = '/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_5758455930363437 30333236' (string)
info.product = 'CGRIMS_DATA' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_56DC_FAD9' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signature s = {'ssas', 'as', 'as'} (string list)
storage.model = '' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = 'vfat' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'FAT32' (string)
volume.ignore = false (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = 'CGRIMS_DATA' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'i
ocharset=', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)
volume.mount_point = '/media/CGRIMS_DATA' (string)
volume.num_blocks = 234436482 (0xdf93782) (int)
volume.partition.flags = {'boot'} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 120034123776 (0x1bf2976000) (uint64)
volume.partition.number = 1 (0x1) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 32256 (0x7e00) (uint64)
volume.partition.type = '0x0c' (string)
volume.partition.uuid = '' (string)
volume.policy.mount_option.iocharset=utf8 = false (bool)
volume.policy.mount_option.shortname=mixed = true (bool)
volume.size = 120031478784 (0x1bf26f0400) (uint64)
volume.unmount.valid_options = {'lazy'} (string list)
volume.uuid = '56DC-FAD9' (string)
In lshal output it seems that FDI rule is right but is inored - WHY?
Is there other way to tell HALL to use shortname=mixed???
I'd like to use only lowercase on that drive and have no problem with it never more but my colleague using WInXP sucks my requests :(
But I upgraded on Fedora 7 and the nightmare began. On of a lot of problems is, that all devices with FAT32 now mounts with shortname=lower parameter under the HAL.
I tried to make my own FDI policy but it has no efect. Mount stiil gives me this report:
/dev/sdb1 on /media/CGRIMS_DATA type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=5 00)
But in lshal is this:
udi = '/org/freedesktop/Hal/devices/volume_uuid_56DC_FAD9'
block.device = '/dev/sdb1' (string)
block.is_volume = true (bool)
block.major = 8 (0x8) (int)
block.minor = 17 (0x11) (int)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_5758455930363437 30333236' (string)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
info.parent = '/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_5758455930363437 30333236' (string)
info.product = 'CGRIMS_DATA' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_56DC_FAD9' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signature s = {'ssas', 'as', 'as'} (string list)
storage.model = '' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = 'vfat' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'FAT32' (string)
volume.ignore = false (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = 'CGRIMS_DATA' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'i
ocharset=', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)
volume.mount_point = '/media/CGRIMS_DATA' (string)
volume.num_blocks = 234436482 (0xdf93782) (int)
volume.partition.flags = {'boot'} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 120034123776 (0x1bf2976000) (uint64)
volume.partition.number = 1 (0x1) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 32256 (0x7e00) (uint64)
volume.partition.type = '0x0c' (string)
volume.partition.uuid = '' (string)
volume.policy.mount_option.iocharset=utf8 = false (bool)
volume.policy.mount_option.shortname=mixed = true (bool)
volume.size = 120031478784 (0x1bf26f0400) (uint64)
volume.unmount.valid_options = {'lazy'} (string list)
volume.uuid = '56DC-FAD9' (string)
In lshal output it seems that FDI rule is right but is inored - WHY?
Is there other way to tell HALL to use shortname=mixed???
I'd like to use only lowercase on that drive and have no problem with it never more but my colleague using WInXP sucks my requests :(