The highest tagged major version is
v2.
package
Version:
v0.4.8
Opens a new window with list of versions in this module.
Published: Sep 11, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package util provides helper utilities for parsing blockdevice and partition
paths.
DevnameFromPartname returns the device name from a partition name.
PartName returns a valid partition name given a device and parition number.
PartNo returns the partition number.
PartPath returns the canonical path to a partition name (e.g. /dev/sda).
PartPathEncrypted gets encrypted partition path which is mounted into /dev/mapper.
Source Files
¶
Directories
¶
Package disk provides utility method for disk listing and searching using /sys/block data.
|
Package disk provides utility method for disk listing and searching using /sys/block data. |
Click to show internal directories.
Click to hide internal directories.