add ability to set custom name for extra filesystems (#379)

This commit is contained in:
henrygd
2025-10-09 13:18:10 -04:00
parent d00c0488c3
commit 4056345216
6 changed files with 274 additions and 11 deletions

View File

@@ -62,6 +62,7 @@ type FsStats struct {
Time time.Time `json:"-"`
Root bool `json:"-"`
Mountpoint string `json:"-"`
Name string `json:"-"`
DiskTotal float64 `json:"d" cbor:"0,keyasint"`
DiskUsed float64 `json:"du" cbor:"1,keyasint"`
TotalRead uint64 `json:"-"`