Documentation ¶
Overview ¶
Package finddrive provides functionality to find an NVMe block device associated with a particular physical slot on the machine, based on information in the SMBIOS table.
Index ¶
Constants ¶
View Source
const (
// M2MKeySlotType is the SMBIOS slot type code for M.2 M-key
M2MKeySlotType = 0x17
)
Variables ¶
This section is empty.
Functions ¶
func FindSlotType ¶
FindSlotType searches the SMBIOS table for drives inserted in a slot with the specified type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.