util

package
v0.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevnameFromPartname

func DevnameFromPartname(partname string) (devname string, err error)

DevnameFromPartname returns the device name from a partition name.

func PartName added in v0.3.0

func PartName(d string, n int) string

PartName returns a valid partition name given a device and parition number.

func PartNo

func PartNo(partname string) (partno string, err error)

PartNo returns the partition number.

func PartPath added in v0.3.0

func PartPath(d string, n int) string

PartPath returns the full path to a parition name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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