[frameworks-kio] [Bug 453890] Umount icon unnecessarily shown for internal drives
Frank Steinmetzger
bugzilla_noreply at kde.org
Tue Aug 23 20:52:07 BST 2022
https://bugs.kde.org/show_bug.cgi?id=453890
--- Comment #23 from Frank Steinmetzger <dev-kde at felsenfleischer.de> ---
(In reply to Kai Uwe Broulik from comment #22)
> Can you check in solid-hardware5 list for those drives and then post the
> output of solid-hardware5 details for each one of these.
I used to have most of my internal SATA-drives set to hotpluggable in the BIOS,
mostly because I have a dual hotswap bay installed. It is currently not in use,
though.
Nowadays, all the partitions shown on my screenshot reside on an NVMe drive,
which by definition is not hot-pluggable, AFAIK.
Before I post the whole wall of text from solid-hardware5, here is a summary, I
hope the formatting is retained:
> Device Name Mount point Remove button shown
> ------------------------------------------------------------
> nvme 1 boot /boot entry not shown in Dolphin
> nvme 3 windows /mnt/windows no
> nvme 4 (LVM base partition) no
> dm-1 arch / no
> dm-2 home /home no
> dm-3 gentoo /mnt/gentoo yes
> dm-4 data /mnt/data yes
Looking at your list of criteria again, I think I may see the problem: my
affected partitions all reside on LVM and not on NVMe directly (like the
unaffected windows partition). So maybe solid knows that the NVMe drive is not
hot-pluggable, but does not know this about LVM. Or maybe it even assumes that
LVM *is* hot-pluggable (except for / and $HOME).
The boot partition (not shown in Dolphin, possibly due to
StorageVolume.ignored?):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/nvme0n1p1'
udi = '/org/freedesktop/UDisks2/block_devices/nvme0n1p1'
parent =
'/org/freedesktop/UDisks2/drives/Samsung_SSD_970_EVO_Plus_2TB_xxxxxxxxxxxxxxx'
(string)
vendor = '' (string)
product = 'Samsung SSD 970 EVO Plus 2TB' (string)
description = 'EFI system partition' (string)
icon = 'drive-harddisk' (string)
Block.major = 259 (0x103) (int)
Block.minor = 1 (0x1) (int)
Block.device = '/dev/nvme0n1p1' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/boot' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = true (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'vfat' (string)
StorageVolume.label = 'EFI system partition' (string)
StorageVolume.uuid = 'e875-7c1b' (string)
StorageVolume.size = 104857600 (0x6400000) (qulonglong)
The windows partition at /mnt/windows (shown without remove button):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/nvme0n1p3'
udi = '/org/freedesktop/UDisks2/block_devices/nvme0n1p3'
parent =
'/org/freedesktop/UDisks2/drives/Samsung_SSD_970_EVO_Plus_2TB_xxxxxxxxxxxxxxx'
(string)
vendor = '' (string)
product = 'Samsung SSD 970 EVO Plus 2TB' (string)
description = 'Windows' (string)
icon = 'drive-harddisk' (string)
Block.major = 259 (0x103) (int)
Block.minor = 3 (0x3) (int)
Block.device = '/dev/nvme0n1p3' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/mnt/windows' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'ntfs' (string)
StorageVolume.label = 'Windows' (string)
StorageVolume.uuid = '3c0ec7340ec6e64c' (string)
StorageVolume.size = 209715200000 (0x30d4000000) (qulonglong)
My system’s root partition (LVM-lv "arch"):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/dm_2d1'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d1'
parent = '/' (string)
vendor = '' (string)
product = '' (string)
description = 'arch' (string)
icon = 'drive-harddisk-root' (string)
Block.major = 254 (0xfe) (int)
Block.minor = 1 (0x1) (int)
Block.device = '/dev/dm-1' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'ext4' (string)
StorageVolume.label = 'arch' (string)
StorageVolume.uuid = '59056c42-c6f3-4975-a56f-d86e64c003bb' (string)
StorageVolume.size = 47244640256 (0xb00000000) (qulonglong)
The home partition (LVM-lv "home"):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/dm_2d2'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d2'
parent = '/' (string)
vendor = '' (string)
product = '' (string)
description = 'home' (string)
icon = 'drive-harddisk' (string)
Block.major = 254 (0xfe) (int)
Block.minor = 2 (0x2) (int)
Block.device = '/dev/dm-2' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/home' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'ext4' (string)
StorageVolume.label = 'home' (string)
StorageVolume.uuid = 'd87ec338-5003-43a6-834f-87ee7fc56aee' (string)
StorageVolume.size = 214748364800 (0x3200000000) (qulonglong)
The "gentoo" partition at /mnt/gentoo (shown with remove button):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/dm_2d3'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d3'
parent = '/' (string)
vendor = '' (string)
product = '' (string)
description = 'gentoo' (string)
icon = 'drive-harddisk' (string)
Block.major = 254 (0xfe) (int)
Block.minor = 3 (0x3) (int)
Block.device = '/dev/dm-3' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/mnt/gentoo' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'ext4' (string)
StorageVolume.label = 'gentoo' (string)
StorageVolume.uuid = '0afcd923-3813-4ce7-82f9-0883a38371cc' (string)
StorageVolume.size = 53687091200 (0xc80000000) (qulonglong)
The "data" partition at /mnt/data (shown with remove button):
solid-hardware5 details '/org/freedesktop/UDisks2/block_devices/dm_2d4'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d4'
parent = '/' (string)
vendor = '' (string)
product = '' (string)
description = 'data' (string)
icon = 'drive-harddisk' (string)
Block.major = 254 (0xfe) (int)
Block.minor = 4 (0x4) (int)
Block.device = '/dev/dm-4' (string)
StorageAccess.accessible = true (bool)
StorageAccess.filePath = '/mnt/data' (string)
StorageAccess.ignored = true (bool)
StorageAccess.encrypted = false (bool)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'ext4' (string)
StorageVolume.label = 'data' (string)
StorageVolume.uuid = 'fa68cdf3-ac99-4f41-be41-65661d39021e' (string)
StorageVolume.size = 1474742452224 (0x1575d800000) (qulonglong)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list