Disks tab: lsblk devices with partitions/usage/live IO, SMART via smartctl (standby-aware, self-tests, install button), ZFS pools/datasets/snapshots with scrub and snapshot-now

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-17 22:48:08 -07:00
co-authored by Claude Fable 5.1
parent 724f30c02b
commit c704e87065
9 changed files with 1023 additions and 9 deletions
+3 -1
View File
@@ -24,6 +24,7 @@ import (
"hamlab/internal/cron"
"hamlab/internal/metrics"
"hamlab/internal/services"
"hamlab/internal/storage"
"hamlab/internal/store"
"hamlab/internal/tasks"
hterm "hamlab/internal/term"
@@ -149,7 +150,8 @@ func serve(cfg *config.Config) error {
cr := cron.New(svc.Sudo(), svc.JournalSudo())
tm := tasks.New()
up := updates.New(svc.Sudo(), tm)
srv := api.New(cfg, sessions, mgr, col, st, svc, cr, tm, up, web.FS(), version)
sto := storage.New(svc.Sudo())
srv := api.New(cfg, sessions, mgr, col, st, svc, cr, tm, up, sto, web.FS(), version)
hs := &http.Server{
Addr: cfg.Listen,
Handler: srv.Handler(),