volume.disc capability bug.

Davide Bettio 'WindowsUninstall' davbet at aliceposta.it
Tue May 23 08:55:16 PDT 2006


Hi

Probably I found a bug in hal. In disc's volume, volume.disc capability is 
missing but volume.disc.* properties are present.
My hal version is 0.5.7-r2 and my distro is gentoo.

Here is lshal output:

[...]
udi = '/org/freedesktop/Hal/devices/volume_label_13_mag_2006'
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.mount.valid_options = 
{'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'utf8', 'uid=', 'mode=', 'iocharset='} 
(string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = 
{'hal-system-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-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_13_mag_2006'  (string)
  info.product = '13 mag 2006'  (string)
  volume.disc.capacity = 735051776  (0x2bd00000)  (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 = true  (bool)
  volume.disc.is_blank = false  (bool)
  volume.disc.has_data = true  (bool)
  volume.disc.has_audio = false  (bool)
  volume.disc.type = 'cd_rw'  (string)
  volume.size = 699893760  (0x29b78800)  (uint64)
  volume.num_blocks = 1366980  (0x14dbc4)  (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 = '13 mag 2006'  (string)
  volume.uuid = ''  (string)
  volume.fsversion = 'Joliet Extension'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'iso9660'  (string)
  storage.model = ''  (string)
  block.storage_device 
= '/org/freedesktop/Hal/devices/storage_model_PLEXTOR_DVDR_PX_708A'  (string)
  block.is_volume = true  (bool)
  block.minor = 0  (0x0)  (int)
  block.major = 22  (0x16)  (int)
  block.device = '/dev/hdc'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent 
= '/org/freedesktop/Hal/devices/storage_model_PLEXTOR_DVDR_PX_708A'  (string)
  linux.sysfs_path_device = '/sys/block/hdc/fakevolume'  (string)
  linux.sysfs_path = '/sys/block/hdc/fakevolume'  (string)
[...]

Bye,
Davide Bettio


More information about the hal mailing list