# Packages
Package blkpg provices functions for working with the BLKPG family of iotctls.
No description provided by the author
Package encryption provides abstraction level for various disk encryption methods.
Package endianness provides functions for translating the endianness of binary data.
Package filesystem provides functions for working with common filesystems.
Package lba provides a library for working with Logical Block Addresses.
Package loopback provides support for disk loopback devices (/dev/loopN).
Package partition provides a library for working with partition tables.
Package probe provides functions for probing block devices for things such as filesystems, and partions.
Package serde provides functions for serializing and deserializing binary data.
Package test contains common test code for all tests in the package.
Package util provides helper utilities for parsing blockdevice and partition paths.
# Functions
IsOutOfSpaceError checks if provided error is 'out of space'.
NewDefaultOptions initializes a Options struct with default values.
Open initializes and returns a block device.
WithExclusiveLock locks the blockdevice for exclusive access using flock().
WithMode opens blockdevice in a specific mode.
WithNewGPT opens the blockdevice with a new GPT.
# Constants
Linux headers constants.
Linux headers constants.
Linux headers constants.
Linux headers constants.
DefaultMode read write.
FastWipeRange fast wipe block.
ReadonlyMode readonly mode.
# Variables
ErrMissingPartitionTable indicates that the block device does not have a partition table.
# Interfaces
OutOfSpaceError is implemented by out of space errors.
# Type aliases
Option is the functional option func.