Project

General

Profile

Actions

Bug #13967

open

diskinfo (1m) should be more usefull inside home computers

Added by Till Wegmüller 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

At the moment diskinfo relies on FMA infrastructure to report certain things. Mainly Serial, but probably other things to.

Example my homelab computer with one SSD shows this in iostat:

~# iostat -En
c5t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: ATA      Product: Samsung SSD 850  Revision: 3B6Q Serial No: S3R3NB0J903078F 
Size: 500.11GB <500107862016 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0

and this in diskinfo

~# diskinfo -P
DISK                    VID      PID              SERIAL               FLT LOC LOCATION
c5t0d0                  Samsung  SSD 850 EVO 500GB -                    -   -   -

It has been suggested in IRC to fallback to libdevinfo provided information

No data to display

Actions

Also available in: Atom PDF