device notifier stopped offering eject / unmount button

Andriy Gapon avg at FreeBSD.org
Wed Dec 20 12:41:28 UTC 2017


Device Notifier offers a button to mount an unmounted device.  Also clicking on
the device offers a list of actions that can be performed on it.  After the
device is mounted the interface used to change to offer an eject / unmount
button.  But since a while ago that does not happen anymore.

For example, please see this picture:
https://people.freebsd.org/~avg/kde-device-actions.png

There are two devices, the one on the top is not mounted, the one on the botoom
has been mounted (through the Device Notifier).  But the only difference is a
small pictogram in the left bottom corner of the device icons.  The offered
actions for the mounted device are exactly the same as for the unmounted device.
Even the tooltip says "it is currently safe to remove this device".

What's also interesting is that Dolphin _does_ offer the (^) Safely Remove item
in the context menu in the Places pane.

Does anyone else this problem?
Do you have any suggestions on where to look for the problem?
Any ways to debug it?


Thanks!

P.S.
Here is what lshal has to say about the mounted device (not sure if that's
relevant):

udi = '/org/freedesktop/Hal/devices/volume_part2_size_31670140928'
  block.device = '/dev/da0s1'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 388  (0x184)  (int)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_C6C21050FEAC'  (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/storage_serial_C6C21050FEAC'  (string)
  info.product = 'Volume (vfat)'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_part2_size_31670140928'  (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.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 = ''  (string)
  volume.mount.valid_options = {'ro', 'noexec', 'noatime', 'longnames',
'shortnames', 'nowin95', '-u=', '-g=', '-m=', '-M=', '-L=', '-D='} (string list)
  volume.mount_point = '/media/disk'  (string)
  volume.num_blocks = 61855744  (0x3afd800)  (uint64)
  volume.partition.media_size = 31670140928  (0x75fb00000)  (uint64)
  volume.partition.number = 2  (0x2)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 4194304  (0x400000)  (uint64)
  volume.partition.type = '0x0'  (string)
  volume.size = 31670140928  (0x75fb00000)  (uint64)
  volume.uuid = ''  (string)


-- 
Andriy Gapon


More information about the kde-freebsd mailing list