finddrive

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause Imports: 5 Imported by: 1

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

func FindSlotType(slotType uint8) ([]string, error)

FindSlotType searches the SMBIOS table for drives inserted in a slot with the specified type

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL