docs: ajout UUID par partition dans la spec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user