diff --git a/docs/superpowers/specs/2026-05-28-inventaire-hdd-design.md b/docs/superpowers/specs/2026-05-28-inventaire-hdd-design.md index e3ed84f..f4210cf 100644 --- a/docs/superpowers/specs/2026-05-28-inventaire-hdd-design.md +++ b/docs/superpowers/specs/2026-05-28-inventaire-hdd-design.md @@ -54,7 +54,7 @@ SQLite dans un volume nommé (`mes_hdd_db`). | Commande | Usage | |---|---| -| `lsblk -J -o NAME,TYPE,SIZE,MODEL,SERIAL,FSTYPE,MOUNTPOINT,ROTA` | Structure des disques et partitions | +| `lsblk -J -o NAME,TYPE,SIZE,MODEL,SERIAL,FSTYPE,MOUNTPOINT,ROTA,UUID` | Structure des disques et partitions | | `smartctl -H -A -i /dev/sdX` | Santé SMART + attributs | | `df -B1` | Espace utilisé/libre par point de montage | | `pvs --noheadings --reportformat json` | Volumes physiques LVM | @@ -96,6 +96,7 @@ SQLite dans un volume nommé (`mes_hdd_db`). "partitions": [ { "name": "sda1", + "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fstype": "ext4", "size_bytes": 536870912000, "size_human": "500 Go", @@ -110,6 +111,7 @@ SQLite dans un volume nommé (`mes_hdd_db`). }, { "name": "sda2", + "uuid": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "fstype": "LVM2_member", "size_bytes": 536870912000, "size_human": "500 Go", @@ -256,7 +258,7 @@ Les champs numériques (`temperature_c`, `power_on_hours`, `reallocated_sectors` | `smart_label` | TEXT | Label français | | `smart_detail` | TEXT | Détail lisible | | `smart_raw_json` | TEXT | Attributs bruts (JSON) | -| `partitions_json` | TEXT | Partitions + LVM (JSON) | +| `partitions_json` | TEXT | Partitions + LVM + UUID (JSON) | | `collected_at` | TEXT | ISO 8601 | ### Table `machines`