This is how the (GPT) partition in question is reported by HAL:
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)

Its parent and grand-parent devices:

udi = '/org/freedesktop/Hal/devices/volume_part3_size_5368709120_0'
  block.device = '/dev/ada1p2'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 128  (0x80)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'
 (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  info.parent = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'  (string)
  info.product = 'Volume'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_part3_size_5368709120_0'  
(string)
  volume.block_size = 512  (0x200)  (uint64)
  volume.fstype = ''  (string)
  volume.fsusage = 'partitiontable'  (string)
  volume.ignore = true  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = ''  (string)
  volume.mount_point = ''  (string)
  volume.num_blocks = 10485760  (0xa00000)  (uint64)
  volume.partition.label = ''  (string)
  volume.partition.media_size = 5368709120  (0x140000000)  (uint64)
  volume.partition.number = 3  (0x3)  (int)
  volume.partition.scheme = 'gpt'  (string)
  volume.partition.start = 82944  (0x14400)  (uint64)
  volume.partition.type = 'freebsd-ufs'  (string)
  volume.partition.uuid = 'freebsd-ufs'  (string)
  volume.size = 5368709120  (0x140000000)  (uint64)
  volume.uuid = ''  (string)

udi = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'
  block.device = '/dev/ada1'  (string)
  block.freebsd.cam_path = '1,0,0'  (string)
  block.is_volume = false  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 108  (0x6c)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'
 (string)
  freebsd.device_file = '/dev/ada1'  (string)
  freebsd.driver = 'ada'  (string)
  freebsd.unit = 1  (0x1)  (int)
  info.capabilities = {'block', 'storage'} (string list)
  info.category = 'storage'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/computer_scsi_host_0_scsi_device_lun0'  (string)
  info.product = 'Storage Device'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_9VM0V8VZ'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'scsi'  (string)
  storage.drive_type = 'disk'  (string)
  storage.hotpluggable = false  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = false  (bool)
  storage.model = ''  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device =
'/org/freedesktop/Hal/devices/computer_scsi_host_0_scsi_device_lun0'  (string)
  storage.removable = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.serial = '9VM0V8VZ'  (string)
  storage.vendor = ''  (string)

KDE Device Notifier is configured to show only removable devices, but it still
shows this UFS filesystem in a GPT partition on a HDD under a name of "5.0 GiB
Hard Drive".

Anyone has a guess why the volume is being treated as removable?
Is this something in KDE (Solid) or in HAL?

-- 
Andriy Gapon
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to