Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2012 09:46:08 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-gnome@FreeBSD.org
Subject:   hal: gpt partition with id and label
Message-ID:  <4F604CC0.5070406@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

HAL doesn't seem to recognize that the following two objects are actually the
same volume:
udi = '/org/freedesktop/Hal/devices/volume_size_5368709120_0'
  block.device = '/dev/gpt/9VM0V8VZ.ufs'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 130  (0x82)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'
 (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_5368709120_0'
(string)
  info.product = 'Volume (ufs)'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_size_5368709120_0'  (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_signatures = {'ssas', 'as', 'as'}
(string list)
  volume.block_size = 512  (0x200)  (uint64)
  volume.freebsd.ufsid = '4ee3dab007cd1796'  (string)
  volume.fstype = 'ufs'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = '2'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = false  (bool)
  volume.label = ''  (string)
  volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 10485760  (0xa00000)  (uint64)
  volume.size = 5368709120  (0x140000000)  (uint64)
  volume.uuid = ''  (string)

udi = '/org/freedesktop/Hal/devices/volume_size_5368709120'
  block.device = '/dev/gptid/3d708cfe-8fbd-11de-b3e1-00241d20d446'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 131  (0x83)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'
 (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_5368709120_0'
(string)
  info.product = 'Volume (ufs)'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_size_5368709120'  (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_signatures = {'ssas', 'as', 'as'}
(string list)
  volume.block_size = 512  (0x200)  (uint64)
  volume.freebsd.ufsid = '4ee3dab007cd1796'  (string)
  volume.fstype = 'ufs'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = '2'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = false  (bool)
  volume.label = ''  (string)
  volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 10485760  (0xa00000)  (uint64)
  volume.size = 5368709120  (0x140000000)  (uint64)
  volume.uuid = ''  (string)

This is not a big deal, but maybe there is a quick fix for this.
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F604CC0.5070406>