added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info.

Storing it in the database during device registration.
This commit is contained in:
Jason Kulatunga
2022-05-09 18:14:08 -07:00
parent 6f283fd736
commit 999c12748c
7 changed files with 79 additions and 5 deletions
@@ -5,6 +5,7 @@ import (
"time"
)
// Deprecated: m20220503120000.Device is deprecated, only used by db migrations
type Device struct {
//GORM attributes, see: http://gorm.io/docs/conventions.html
CreatedAt time.Time