Documentation ¶
Overview ¶
Package blkpg provices functions for working the the BLKPG family of iotctls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InformKernelOfAdd ¶
InformKernelOfAdd invokes the BLKPG_ADD_PARTITION ioctl.
func InformKernelOfDelete ¶
InformKernelOfDelete invokes the BLKPG_DEL_PARTITION ioctl.
Types ¶
type KernelPartition ¶
KernelPartition represents kernel partition info.
func GetKernelPartitions ¶
func GetKernelPartitions(f *os.File) ([]KernelPartition, error)
GetKernelPartitions returns kernel partition table state.
Click to show internal directories.
Click to hide internal directories.