https://bugs.kde.org/show_bug.cgi?id=453890

Steve Vialle <stev...@orcon.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |stev...@orcon.net.nz
         Resolution|FIXED                       |---

--- Comment #24 from Steve Vialle <stev...@orcon.net.nz> ---
> KIO 5.95 should have this fix.

Nope, still doing silly things as of KIO 5.97.0
Presumably mdraid volumes are "hot pluggable" as well these days?

If anyone can think of any reason at all I would want to unmount /dev/md127
(mounted by-label in fstab) from dolphin, I'm all ears... Suddenly it has an
unmount button here.
I mean, I'm never going to even unmount it, let alone "eject" it (as suggested
by the icon). The latter would mean stopping the array (which can't be done
from KDE / GUI anyway) and physically pulling the disks...

As far as I can deduce, at least empirically, the real logic (if you can call
it that) here is that *anything* mounted to /mnt or /media that is not a
network mount winds up with this silly button.
How's about only showing it for stuff the *user* can reasonably unmount? If
it's in fstab and doesn't have the "user" mount option (yes, that means
tracking by-label and by-uuid etc. as well) then it's a system mount, leave it
alone.

$ solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/md127'
udi = '/org/freedesktop/UDisks2/block_devices/md127'
  parent = '/' (string)
  vendor = '' (string)
  product = '' (string)
  description = 'rust' (string)
  icon = 'drive-harddisk' (string)
  Block.major = 9  (0x9)  (int)
  Block.minor = 127  (0x7f)  (int)
  Block.device = '/dev/md127' (string)
  StorageAccess.accessible = true (bool)
  StorageAccess.filePath = '/mnt/rust' (string)
  StorageAccess.ignored = true (bool)
  StorageAccess.encrypted = false (bool)
  StorageVolume.ignored = false (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ext4' (string)
  StorageVolume.label = 'rust' (string)
  StorageVolume.uuid = 'da6b28d7-799f-4667-a2cf-0021b47df500' (string)
  StorageVolume.size = 4000650690560  (0x3a3795d0000)  (qulonglong)

$ grep rust /etc/fstab 
LABEL=rust                      /mnt/rust               ext4            noatime
                        0 4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to