Documentation ¶
Index ¶
Constants ¶
View Source
const ( NVME_ADMIN_GET_LOG_PAGE = 0x02 NVME_ADMIN_IDENTIFY = 0x06 )
Variables ¶
View Source
var (
NVME_IOCTL_ADMIN_CMD = ioctl.Iowr('N', 0x41, unsafe.Sizeof(nvmePassthruCommand{}))
)
Functions ¶
This section is empty.
Types ¶
type NVMeDevice ¶
type NVMeDevice struct { Name string // contains filtered or unexported fields }
func NewNVMeDevice ¶
func NewNVMeDevice(name string) *NVMeDevice
func (*NVMeDevice) Close ¶
func (d *NVMeDevice) Close() error
func (*NVMeDevice) Open ¶
func (d *NVMeDevice) Open() (err error)
func (*NVMeDevice) PrintSMART ¶
WIP - need to split out functionality further.
Click to show internal directories.
Click to hide internal directories.