udisks
udisks copied to clipboard
'Vendor' field for 'org.freedesktop.UDisks2.Drive' is almost always empty.
I have a machine with 7 drives connected to it:
- 5 ATA HDD
- 1 NVMe SSD
- 1 USB HDD
all of which are reported with an empty
org.freedesktop.UDisks2.Drive.Vendorfield. I did try to find that information with a number of tools includingudevadm,hwinfo,sdparm,hdparm,lshw, all of which failed to report the manufacturer of these disks. Onlysmartcltis able to report a "Model Family" field which provides the manufacturer + other details. I wonder why it is so hard to retrieve those informations. I'm trying to develop a disk managment system for Yunohost relying on UDisks2 and, currently, the information I can display are not very human firendly. I know that the 5 ATA HDD are manufactured by Seagate and I don't understandwhy this seems to appear nowhere. Are you able to help me?
Could you please post output of udisksctl dump and udevadm info -e? That's the primary source of information for UDisks. If there's any additional key in /sys, we could read those as well. I remember trying to get vendor string for ATA devices, but it seems to be encoded in a model string by the device and the vendor being just a simple ATA string.
Only
smartcltis able to report a "Model Family" field which provides the manufacturer + other details.
That's likely because smartmontools ships with an extensive drive database. Once you hit a model that is not there, you wouldn't likely get much more information. E.g. my SATA SSD:
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA THNSNH128GBST
Serial Number: 53HS111PTE4Y
LU WWN Device Id: 5 00080d b1000804c
Firmware Version: HTRAN101
User Capacity: 128,035,676,160 bytes [128 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5660
Sure! Here it is:
udisksctl dump
/org/freedesktop/UDisks2/Manager:
org.freedesktop.UDisks2.Manager:
DefaultEncryptionType: luks2
SupportedEncryptionTypes: luks1
luks2
SupportedFilesystems: ext2
ext3
ext4
xfs
vfat
ntfs
f2fs
nilfs2
exfat
btrfs
udf
swap
Version: 2.10.1
org.freedesktop.UDisks2.Manager.NVMe:
HostID:
HostNQN: nqn.2014-08.org.nvmexpress:uuid:03000200-0400-0500-0006-000700080009
/org/freedesktop/UDisks2/block_devices/nvme0n1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/nvme0n1
DeviceNumber: 66304
Drive: '/org/freedesktop/UDisks2/drives/BM20SP3X4480_HW480G2024072200002'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-nvme-BM20SP3X4480_HW480G2024072200002
IdLabel: boot-pool
IdType: zfs_member
IdUUID: 17872462125275668883
IdUsage: filesystem
IdVersion: 5000
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/nvme0n1
ReadOnly: false
Size: 480103981056
Symlinks: /dev/disk/by-diskseq/1
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002_1
/dev/disk/by-id/nvme-nvme.126f-48573438304732303234303732323030303032-424d32305350335834343830-00000001
/dev/disk/by-label/boot-pool
/dev/disk/by-path/pci-0000:03:00.0-nvme-1
/dev/disk/by-uuid/17872462125275668883
UserspaceMountOptions:
org.freedesktop.UDisks2.NVMe.Namespace:
EUI64: 0000010000000000
FormatPercentRemaining: -1
FormattedLBASize: (512, 0, 0x01)
LBAFormats: [(512, 0, 0x01)]
NGUID: 00000000000000000000010000000000
NSID: 1
NamespaceCapacity: 937703088
NamespaceSize: 937703088
NamespaceUtilization: 937703088
UUID:
WWN: nvme.126f-48573438304732303234303732323030303032-424d32305350335834343830-00000001
org.freedesktop.UDisks2.PartitionTable:
Partitions: /org/freedesktop/UDisks2/block_devices/nvme0n1p2
/org/freedesktop/UDisks2/block_devices/nvme0n1p1
/org/freedesktop/UDisks2/block_devices/nvme0n1p3
Type: gpt
/org/freedesktop/UDisks2/block_devices/nvme0n1p1:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=A260-254F'>, 'dir': <b'/boot/efi'>, 'type': <b'vfat'>, 'opts': <b'umask=0077'>, 'freq': <0>, 'passno': <1>})]
CryptoBackingDevice: '/'
Device: /dev/nvme0n1p1
DeviceNumber: 66305
Drive: '/org/freedesktop/UDisks2/drives/BM20SP3X4480_HW480G2024072200002'
HintAuto: false
HintIconName:
HintIgnore: true
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-nvme-BM20SP3X4480_HW480G2024072200002-part1
IdLabel:
IdType: vfat
IdUUID: A260-254F
IdUsage: filesystem
IdVersion: FAT32
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/nvme0n1p1
ReadOnly: false
Size: 536870912
Symlinks: /dev/disk/by-diskseq/1-part1
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002-part1
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002_1-part1
/dev/disk/by-id/nvme-nvme.126f-48573438304732303234303732323030303032-424d32305350335834343830-00000001-part1
/dev/disk/by-partuuid/063b1b5b-4281-4a2e-ae17-0f3cc71220a6
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partnum/1
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partuuid/063b1b5b-4281-4a2e-ae17-0f3cc71220a6
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-uuid/A260-254F
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part1
/dev/disk/by-uuid/A260-254F
UserspaceMountOptions:
org.freedesktop.UDisks2.Filesystem:
MountPoints: /boot/efi
Size: 0
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 1048576
Size: 536870912
Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1'
Type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
UUID: 063b1b5b-4281-4a2e-ae17-0f3cc71220a6
/org/freedesktop/UDisks2/block_devices/nvme0n1p2:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=3aff3d88-5e0d-4e19-8ab6-482ad9502d0a'>, 'dir': <b'/'>, 'type': <b'ext4'>, 'opts': <b'errors=remount-ro'>, 'freq': <0>, 'passno': <1>})]
CryptoBackingDevice: '/'
Device: /dev/nvme0n1p2
DeviceNumber: 66306
Drive: '/org/freedesktop/UDisks2/drives/BM20SP3X4480_HW480G2024072200002'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-nvme-BM20SP3X4480_HW480G2024072200002-part2
IdLabel:
IdType: ext4
IdUUID: 3aff3d88-5e0d-4e19-8ab6-482ad9502d0a
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/nvme0n1p2
ReadOnly: false
Size: 478540726272
Symlinks: /dev/disk/by-diskseq/1-part2
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002-part2
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002_1-part2
/dev/disk/by-id/nvme-nvme.126f-48573438304732303234303732323030303032-424d32305350335834343830-00000001-part2
/dev/disk/by-partuuid/b333d851-498d-446a-a336-88e1a4a9176b
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partnum/2
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partuuid/b333d851-498d-446a-a336-88e1a4a9176b
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-uuid/3aff3d88-5e0d-4e19-8ab6-482ad9502d0a
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part2
/dev/disk/by-uuid/3aff3d88-5e0d-4e19-8ab6-482ad9502d0a
UserspaceMountOptions:
org.freedesktop.UDisks2.Filesystem:
MountPoints: /
Size: 478540726272
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 2
Offset: 537919488
Size: 478540726272
Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1'
Type: 0fc63daf-8483-4772-8e79-3d69d8477de4
UUID: b333d851-498d-446a-a336-88e1a4a9176b
/org/freedesktop/UDisks2/block_devices/nvme0n1p3:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=d04925f8-2f80-4993-8c58-d6ed38379ab5'>, 'dir': <b'none'>, 'type': <b'swap'>, 'opts': <b'sw'>, 'freq': <0>, 'passno': <0>})]
CryptoBackingDevice: '/'
Device: /dev/nvme0n1p3
DeviceNumber: 66307
Drive: '/org/freedesktop/UDisks2/drives/BM20SP3X4480_HW480G2024072200002'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-nvme-BM20SP3X4480_HW480G2024072200002-part3
IdLabel:
IdType: swap
IdUUID: d04925f8-2f80-4993-8c58-d6ed38379ab5
IdUsage: other
IdVersion: 1
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/nvme0n1p3
ReadOnly: false
Size: 1024458752
Symlinks: /dev/disk/by-diskseq/1-part3
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002-part3
/dev/disk/by-id/nvme-BM20SP3X4480_HW480G2024072200002_1-part3
/dev/disk/by-id/nvme-nvme.126f-48573438304732303234303732323030303032-424d32305350335834343830-00000001-part3
/dev/disk/by-partuuid/3e97369c-4b09-4808-b157-119f445db93c
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partnum/3
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-partuuid/3e97369c-4b09-4808-b157-119f445db93c
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part/by-uuid/d04925f8-2f80-4993-8c58-d6ed38379ab5
/dev/disk/by-path/pci-0000:03:00.0-nvme-1-part3
/dev/disk/by-uuid/d04925f8-2f80-4993-8c58-d6ed38379ab5
UserspaceMountOptions:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 3
Offset: 479078645760
Size: 1024458752
Table: '/org/freedesktop/UDisks2/block_devices/nvme0n1'
Type: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
UUID: 3e97369c-4b09-4808-b157-119f445db93c
org.freedesktop.UDisks2.Swapspace:
Active: true
/org/freedesktop/UDisks2/block_devices/sda:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sda
DeviceNumber: 2048
Drive: '/org/freedesktop/UDisks2/drives/NORELSYS_1081_22404008447'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda
ReadOnly: false
Size: 7837450240
Symlinks: /dev/disk/by-diskseq/2
/dev/disk/by-id/usb-NORELSYS_1081_22404008447-0:0
/dev/disk/by-path/pci-0000:08:00.4-usb-0:2:1.0-scsi-0:0:0:0
/dev/disk/by-path/pci-0000:08:00.4-usbv2-0:2:1.0-scsi-0:0:0:0
UserspaceMountOptions:
/org/freedesktop/UDisks2/block_devices/sdb:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=\"17e4acc3-ed9a-46cd-b11c-ee52226c460b\"'>, 'dir': <b'/volume1'>, 'type': <b'btrfs'>, 'opts': <b'defaults,autodefrag,compress-force=zstd:7'>, 'freq': <0>, 'passno': <2>})]
CryptoBackingDevice: '/'
Device: /dev/sdb
DeviceNumber: 2064
Drive: '/org/freedesktop/UDisks2/drives/ST5000LM000_2U8170_WCJ9S5QG'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ST5000LM000-2U8170_WCJ9S5QG
IdLabel: volume1
IdType: btrfs
IdUUID: 17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb
ReadOnly: false
Size: 5000981078016
Symlinks: /dev/disk/by-diskseq/3
/dev/disk/by-id/ata-ST5000LM000-2U8170_WCJ9S5QG
/dev/disk/by-id/wwn-0x5000c500e899cb3f
/dev/disk/by-label/volume1
/dev/disk/by-path/pci-0000:07:00.0-ata-1
/dev/disk/by-path/pci-0000:07:00.0-ata-1.0
/dev/disk/by-uuid/17e4acc3-ed9a-46cd-b11c-ee52226c460b
UserspaceMountOptions:
org.freedesktop.UDisks2.Filesystem:
MountPoints:
Size: 20003924312064
/org/freedesktop/UDisks2/block_devices/sdc:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=\"a7e5676c-e4e9-4de7-8c0e-b10b17d4019d\"'>, 'dir': <b'/volume2'>, 'type': <b'btrfs'>, 'opts': <b'defaults,autodefrag,compress-force=zstd:7'>, 'freq': <0>, 'passno': <2>})]
CryptoBackingDevice: '/'
Device: /dev/sdc
DeviceNumber: 2080
Drive: '/org/freedesktop/UDisks2/drives/ST4000LM024_2AN17V_WCK0MMK8'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ST4000LM024-2AN17V_WCK0MMK8
IdLabel: volume2
IdType: btrfs
IdUUID: a7e5676c-e4e9-4de7-8c0e-b10b17d4019d
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdc
ReadOnly: false
Size: 4000787030016
Symlinks: /dev/disk/by-diskseq/4
/dev/disk/by-id/ata-ST4000LM024-2AN17V_WCK0MMK8
/dev/disk/by-id/wwn-0x5000c500a93ee411
/dev/disk/by-label/volume2
/dev/disk/by-path/pci-0000:07:00.0-ata-3
/dev/disk/by-path/pci-0000:07:00.0-ata-3.0
/dev/disk/by-uuid/a7e5676c-e4e9-4de7-8c0e-b10b17d4019d
UserspaceMountOptions: x-systemd.requires=/
x-systemd.requires=/volume2
x-systemd.automount
org.freedesktop.UDisks2.Filesystem:
MountPoints: /home/yunohost.app/borgwarehouse
/volume2
Size: 4000787030016
/org/freedesktop/UDisks2/block_devices/sdd:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=\"17e4acc3-ed9a-46cd-b11c-ee52226c460b\"'>, 'dir': <b'/volume1'>, 'type': <b'btrfs'>, 'opts': <b'defaults,autodefrag,compress-force=zstd:7'>, 'freq': <0>, 'passno': <2>})]
CryptoBackingDevice: '/'
Device: /dev/sdd
DeviceNumber: 2096
Drive: '/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ2HYQK'
HintAuto: false
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: true
Id: by-id-ata-ST5000LM000-2AN170_WCJ2HYQK
IdLabel: volume1
IdType: btrfs
IdUUID: 17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdd
ReadOnly: false
Size: 5000981078016
Symlinks: /dev/disk/by-diskseq/5
/dev/disk/by-id/ata-ST5000LM000-2AN170_WCJ2HYQK
/dev/disk/by-id/wwn-0x5000c500c395cb43
/dev/disk/by-label/volume1
/dev/disk/by-path/pci-0000:07:00.0-ata-2
/dev/disk/by-path/pci-0000:07:00.0-ata-2.0
/dev/disk/by-uuid/17e4acc3-ed9a-46cd-b11c-ee52226c460b
UserspaceMountOptions: x-systemd.requires=/
x-systemd.requires=/volume1
x-systemd.automount
x-systemd.requires=/
x-systemd.requires=/volume1
x-systemd.automount
x-systemd.requires=/
x-systemd.requires=/volume1
x-systemd.automount
x-systemd.requires=/
x-systemd.requires=/volume1
x-systemd.automount
org.freedesktop.UDisks2.Filesystem:
MountPoints: /home/yunohost.app/nextcloud
/home/yunohost.app/transmission/completed
/home/yunohost.app/transmission/watched
/home/yunohost.multimedia
/volume1
Size: 20003924312064
/org/freedesktop/UDisks2/block_devices/sde:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=\"17e4acc3-ed9a-46cd-b11c-ee52226c460b\"'>, 'dir': <b'/volume1'>, 'type': <b'btrfs'>, 'opts': <b'defaults,autodefrag,compress-force=zstd:7'>, 'freq': <0>, 'passno': <2>})]
CryptoBackingDevice: '/'
Device: /dev/sde
DeviceNumber: 2112
Drive: '/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ86SGB'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdLabel: volume1
IdType: btrfs
IdUUID: 17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sde
ReadOnly: false
Size: 5000981078016
Symlinks: /dev/disk/by-diskseq/6
/dev/disk/by-id/ata-ST5000LM000-2AN170_WCJ86SGB
/dev/disk/by-id/wwn-0x5000c500e69fbfb7
/dev/disk/by-label/volume1
/dev/disk/by-path/pci-0000:09:00.0-ata-1
/dev/disk/by-path/pci-0000:09:00.0-ata-1.0
/dev/disk/by-uuid/17e4acc3-ed9a-46cd-b11c-ee52226c460b
UserspaceMountOptions:
org.freedesktop.UDisks2.Filesystem:
MountPoints:
Size: 20003924312064
/org/freedesktop/UDisks2/block_devices/sdf:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'UUID=\"17e4acc3-ed9a-46cd-b11c-ee52226c460b\"'>, 'dir': <b'/volume1'>, 'type': <b'btrfs'>, 'opts': <b'defaults,autodefrag,compress-force=zstd:7'>, 'freq': <0>, 'passno': <2>})]
CryptoBackingDevice: '/'
Device: /dev/sdf
DeviceNumber: 2128
Drive: '/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ83DFD'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdLabel: volume1
IdType: btrfs
IdUUID: 17e4acc3-ed9a-46cd-b11c-ee52226c460b
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdf
ReadOnly: false
Size: 5000981078016
Symlinks: /dev/disk/by-diskseq/7
/dev/disk/by-id/ata-ST5000LM000-2AN170_WCJ83DFD
/dev/disk/by-id/wwn-0x5000c500e6362bdb
/dev/disk/by-label/volume1
/dev/disk/by-path/pci-0000:09:00.0-ata-2
/dev/disk/by-path/pci-0000:09:00.0-ata-2.0
/dev/disk/by-uuid/17e4acc3-ed9a-46cd-b11c-ee52226c460b
UserspaceMountOptions:
org.freedesktop.UDisks2.Filesystem:
MountPoints:
Size: 20003924312064
/org/freedesktop/UDisks2/block_devices/sdg:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdg
DeviceNumber: 2144
Drive: '/org/freedesktop/UDisks2/drives/Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-id-ata-Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdg
ReadOnly: false
Size: 1000204886016
Symlinks: /dev/disk/by-diskseq/28
/dev/disk/by-id/ata-Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y
/dev/disk/by-id/usb-PHD_3.0_Silicon-Power_23008297203000000216-0:0
/dev/disk/by-id/wwn-0x5002538d41077f72
/dev/disk/by-path/pci-0000:08:00.3-usb-0:4:1.0-scsi-0:0:0:0
/dev/disk/by-path/pci-0000:08:00.3-usbv3-0:4:1.0-scsi-0:0:0:0
/dev/qnap-one-touch-copy
UserspaceMountOptions:
org.freedesktop.UDisks2.PartitionTable:
Partitions: /org/freedesktop/UDisks2/block_devices/sdg1
Type: gpt
/org/freedesktop/UDisks2/block_devices/sdg1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdg1
DeviceNumber: 2145
Drive: '/org/freedesktop/UDisks2/drives/Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-id-ata-Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y-part1
IdLabel:
IdType: exfat
IdUUID: FF3E-E803
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdg1
ReadOnly: false
Size: 1000200994816
Symlinks: /dev/disk/by-diskseq/28-part1
/dev/disk/by-id/ata-Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y-part1
/dev/disk/by-id/usb-PHD_3.0_Silicon-Power_23008297203000000216-0:0-part1
/dev/disk/by-id/wwn-0x5002538d41077f72-part1
/dev/disk/by-partuuid/9d8b36a5-26e6-f44e-8399-3403e96ee79f
/dev/disk/by-path/pci-0000:08:00.3-usb-0:4:1.0-scsi-0:0:0:0-part/by-partnum/1
/dev/disk/by-path/pci-0000:08:00.3-usb-0:4:1.0-scsi-0:0:0:0-part/by-partuuid/9d8b36a5-26e6-f44e-8399-3403e96ee79f
/dev/disk/by-path/pci-0000:08:00.3-usb-0:4:1.0-scsi-0:0:0:0-part/by-uuid/FF3E-E803
/dev/disk/by-path/pci-0000:08:00.3-usb-0:4:1.0-scsi-0:0:0:0-part1
/dev/disk/by-path/pci-0000:08:00.3-usbv3-0:4:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/FF3E-E803
UserspaceMountOptions: uhelper=udisks2
org.freedesktop.UDisks2.Filesystem:
MountPoints: /media/root/FF3E-E803
Size: 0
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 1048576
Size: 1000200994816
Table: '/org/freedesktop/UDisks2/block_devices/sdg'
Type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
UUID: 9d8b36a5-26e6-f44e-8399-3403e96ee79f
/org/freedesktop/UDisks2/drives/BM20SP3X4480_HW480G2024072200002:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: BM20SP3X4480-HW480G2024072200002
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: BM20SP3X4480
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: T1103F0L
RotationRate: 0
Seat: seat0
Serial: HW480G2024072200002
SiblingId:
Size: 480103981056
SortKey: 00coldplug/00fixed/nvme0
TimeDetected: 1741109746260187
TimeMediaDetected: 1741109746260187
Vendor:
WWN:
org.freedesktop.UDisks2.NVMe.Controller:
ControllerID: 1
FGUID:
NVMeRevision: 1.3
SanitizePercentRemaining: -1
SanitizeStatus:
SmartCriticalWarning:
SmartPowerOnHours: 3807
SmartSelftestPercentRemaining: -1
SmartSelftestStatus:
SmartTemperature: 303
SmartUpdated: 1741267548
State: live
SubsystemNQN: nqn.2024-07.com.siliconmotion:nvm-subsystem-sn-HW480G2024072200002
UnallocatedCapacity: 0
/org/freedesktop/UDisks2/drives/NORELSYS_1081_22404008447:
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: true
Id: NORELSYS-1081-22404008447
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: 1081
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 0
RotationRate: -1
Seat: seat0
Serial: 22404008447
SiblingId: /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.4/usb3/3-2/3-2:1.0
Size: 7837450240
SortKey: 00coldplug/12removable/sd____a
TimeDetected: 1741109736736061
TimeMediaDetected: 1741109736736061
Vendor: NORELSYS
WWN:
/org/freedesktop/UDisks2/drives/ST4000LM024_2AN17V_WCK0MMK8:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: ST4000LM024-2AN17V-WCK0MMK8
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: ST4000LM024-2AN17V
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: 0001
RotationRate: 5526
Seat: seat0
Serial: WCK0MMK8
SiblingId:
Size: 4000787030016
SortKey: 00coldplug/00fixed/sd____c
TimeDetected: 1741109736789496
TimeMediaDetected: 1741109736789496
Vendor:
WWN: 0x5000c500a93ee411
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 150
SecurityEraseUnitMinutes: 150
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 89888400
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 298.15000000000003
SmartUpdated: 1741267548
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ2HYQK:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: ST5000LM000-2AN170-WCJ2HYQK
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: ST5000LM000-2AN170
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: 0001
RotationRate: 5526
Seat: seat0
Serial: WCJ2HYQK
SiblingId:
Size: 5000981078016
SortKey: 00coldplug/00fixed/sd____d
TimeDetected: 1741109736788428
TimeMediaDetected: 1741109736788428
Vendor:
WWN: 0x5000c500c395cb43
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 2
SecurityEraseUnitMinutes: 312
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 99032400
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 298.15000000000003
SmartUpdated: 1741267547
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ83DFD:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: true
Id: ST5000LM000-2AN170-WCJ83DFD
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: ST5000LM000-2AN170
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 0001
RotationRate: 5526
Seat: seat0
Serial: WCJ83DFD
SiblingId:
Size: 5000981078016
SortKey: 00coldplug/12removable/sd____f
TimeDetected: 1741109736813871
TimeMediaDetected: 1741109736813871
Vendor:
WWN: 0x5000c500e6362bdb
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 290
SecurityEraseUnitMinutes: 290
SecurityFrozen: true
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 25534800
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 297.15000000000003
SmartUpdated: 1741267547
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/ST5000LM000_2AN170_WCJ86SGB:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: true
Id: ST5000LM000-2AN170-WCJ86SGB
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: ST5000LM000-2AN170
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 0001
RotationRate: 5526
Seat: seat0
Serial: WCJ86SGB
SiblingId:
Size: 5000981078016
SortKey: 00coldplug/12removable/sd____e
TimeDetected: 1741109736789294
TimeMediaDetected: 1741109736789294
Vendor:
WWN: 0x5000c500e69fbfb7
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 306
SecurityEraseUnitMinutes: 306
SecurityFrozen: true
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 28555200
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 298.15000000000003
SmartUpdated: 1741267546
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/ST5000LM000_2U8170_WCJ9S5QG:
org.freedesktop.UDisks2.Drive:
CanPowerOff: false
Configuration: {}
ConnectionBus:
Ejectable: false
Id: ST5000LM000-2U8170-WCJ9S5QG
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: ST5000LM000-2U8170
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: 0001
RotationRate: 5400
Seat: seat0
Serial: WCJ9S5QG
SiblingId:
Size: 5000981078016
SortKey: 00coldplug/00fixed/sd____b
TimeDetected: 1741109736820333
TimeMediaDetected: 1741109736820333
Vendor:
WWN: 0x5000c500e899cb3f
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: true
ApmSupported: true
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 314
SecurityEraseUnitMinutes: 314
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 1288800
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 298.15000000000003
SmartUpdated: 1741267547
WriteCacheEnabled: true
WriteCacheSupported: true
/org/freedesktop/UDisks2/drives/Samsung_SSD_850_EVO_1TB_S2RFNX0H605423Y:
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: false
Id: Samsung-SSD-850-EVO-1TB-S2RFNX0H605423Y
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: Samsung SSD 850 EVO 1TB
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: EMT02B6Q
RotationRate: 0
Seat: seat0
Serial: S2RFNX0H605423Y
SiblingId: /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb2/2-4/2-4:1.0
Size: 1000204886016
SortKey: 01hotplug/1741267580959112
TimeDetected: 1741267580959112
TimeMediaDetected: 1741267580959112
Vendor:
WWN: 0x5002538d41077f72
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: false
AamSupported: false
AamVendorRecommendedValue: 0
ApmEnabled: false
ApmSupported: false
PmEnabled: true
PmSupported: true
ReadLookaheadEnabled: true
ReadLookaheadSupported: true
SecurityEnhancedEraseUnitMinutes: 8
SecurityEraseUnitMinutes: 2
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: 0
SmartNumAttributesFailing: 0
SmartNumBadSectors: 0
SmartPowerOnSeconds: 28922400
SmartSelftestPercentRemaining: 0
SmartSelftestStatus: success
SmartSupported: true
SmartTemperature: 308.15000000000003
SmartUpdated: 1741267581
WriteCacheEnabled: true
WriteCacheSupported: true
I have also observed that the Vendor field is almost always empty or generic (“ATA”) for various drives on my systems. Tools like udevadm and hwinfo are similarly limited, while only smartctl can infer the manufacturer by parsing the Model string.
Would it be possible for udisks to optionally parse the Model field or allow extensions to guess the vendor, as a fallback? This could help improve usability when hardware/udev vendor info is missing.