File system mount directory path where the device is accessible. Empty string indicates the device is not currently mounted.
"/media/usb-drive"
"/mnt/backup-storage"
"" // Not mounted
Indicates whether the storage device has been physically removed. When true, the device is no longer accessible and mount operations will fail.
false
Hardware vendor/manufacturer name of the storage device. Used for device identification and display purposes.
"SanDisk"
"Western Digital"
"Samsung"
Total runtime in milliseconds since the device was first connected. Tracks cumulative usage time for analytics and maintenance scheduling.
1800000 // 30 minutes
3600000 // 1 hour
Hardware model name/number of the storage device. Combined with vendor for complete device identification.
"Ultra USB 3.0"
"My Passport"
"EVO Select 64GB"
KOS node identifier where this storage device is physically connected. Used in multi-node systems to track device distribution.
"primary"
"secondary"
"embedded-node-1"
Indicates if the device is connected to the local node (true) or remote node (false). Determines accessibility and operation capabilities from current context.
true
File system label/name assigned to the storage device. Used for user-friendly identification and mount point organization.
"BACKUP_DRIVE"
"CONFIG_STORAGE"
"DATA_ARCHIVE"
System device path in the Linux device tree. Low-level hardware identifier for device tracking and diagnostics.
"/sys/devices/pci0000:00/usb1/1-2"
"/sys/devices/mmc0/mmc0:0001"
"/sys/devices/platform/sdhci"
Configuration options for StorageDevice model instances.
This interface defines the complete configuration structure for individual storage devices, including hardware identification, mount information, and runtime metrics. These options are typically populated from storage device discovery services and WebSocket updates.
Example: Basic Usage