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

--- Comment #8 from Mark <[email protected]> ---
Thanks for the detailed explanation!

 ❯ solid-hardware6 details /org/freedesktop/UDisks2/block_devices/sda2
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not
UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
  parent = '/org/freedesktop/UDisks2/drives/VBOX_HARDDISK_VB46634448_950ac8a5'
(string)
  vendor = '' (string)
  product = 'VBOX HARDDISK' (string)
  description = '4.0 GiB Internal Drive (sda2)' (string)
  icon = 'drive-harddisk' (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 2  (0x2)  (int)
  Block.device = '/dev/sda2' (string)
  Block.isSystem = true (bool)
  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 = '' (string)
  StorageVolume.uuid = 'd7c8-5b19' (string)
  StorageVolume.size = 4294967296  (0x100000000)  (qulonglong)


~
❯ udisksctl info -b /dev/sda2
/org/freedesktop/UDisks2/block_devices/sda2:
  org.freedesktop.UDisks2.Block:
    Configuration:              [('fstab', {'fsname': <b'UUID=D7C8-5B19'>,
'dir': <b'/boot'>, 'type': <b'vfat'>, 'opts': <b'defaults,noatime'>, 'freq':
<0>, 'passno': <2>})]
    CryptoBackingDevice:        '/'
    Device:                     /dev/sda2
    DeviceNumber:               2050
    Drive:                     
'/org/freedesktop/UDisks2/drives/VBOX_HARDDISK_VB46634448_950ac8a5'
    HintAuto:                   false
    HintIconName:               
    HintIgnore:                 true
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 true
    Id:                        
by-id-ata-VBOX_HARDDISK_VB46634448-950ac8a5-part2
    IdLabel:                    
    IdType:                     vfat
    IdUUID:                     D7C8-5B19
    IdUsage:                    filesystem
    IdVersion:                  FAT32
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sda2
    ReadOnly:                   false
    Size:                       4294967296
    Symlinks:                   /dev/disk/by-designator/esp
                                /dev/disk/by-diskseq/1-part2
                               
/dev/disk/by-id/ata-VBOX_HARDDISK_VB46634448-950ac8a5-part2
                               
/dev/disk/by-partuuid/ce717639-d26a-435c-961c-13c02469974d
                                /dev/disk/by-path/pci-0000:00:0d.0-ata-1-part2
                               
/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0-part/by-partnum/2
                               
/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0-part/by-partuuid/ce717639-d26a-435c-961c-13c02469974d
                               
/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0-part/by-uuid/D7C8-5B19
                               
/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0-part2
                                /dev/disk/by-uuid/D7C8-5B19
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:        /boot
    Size:               0
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:               
    Number:             2
    Offset:             2097152
    Size:               4294967296
    Table:              '/org/freedesktop/UDisks2/block_devices/sda'
    Type:               c12a7328-f81f-11d2-ba4b-00a0c93ec93b
    UUID:               ce717639-d26a-435c-961c-13c02469974d

~
❯ udevadm info /dev/sda2 | grep -i udisks
E: UDISKS_IGNORE=1

~
❯ grep -rl UDISKS_IGNORE /etc/udev/rules.d /usr/lib/udev/rules.d
/usr/lib/udev/rules.d/96-e2scrub.rules
/usr/lib/udev/rules.d/80-udisks2.rules

~
❯ lsblk -f
NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE%
MOUNTPOINTS
sda                                                                           
|-sda1                                                                        
|-sda2 vfat   FAT32       D7C8-5B19                               3.7G     7%
/boot
`-sda3 btrfs              35d01a55-5706-4fae-b7d3-3486f9272151   46.9G    20%
/var/tmp
                                                                             
/var/cache
                                                                             
/var/log
                                                                             
/srv
                                                                             
/root
                                                                             
/home
                                                                              /
sdb                                                                           
`-sdb1 btrfs        test1 b1375f22-2120-4cde-a057-4f74e6ff0581                
sr0                                                                           
zram0  swap   1     zram0 e30fa849-912d-44a3-853d-282e743960ad               
[SWAP]

~
❯ findmnt -n -o OPTIONS /
rw,noatime,compress=zstd:3,space_cache=v2,subvolid=256,subvol=/@

I've also executed the following command, which revealed that "/dev/sda3" has
also set the ignored flag:

❯ udevadm info /dev/sda3 | grep -i udisks
E: UDISKS_IGNORE=1

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

Reply via email to