blkdiscard

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlkDiscard

func BlkDiscard(devicePath string) (string, error)

BlkDiscard discards all blocks of a device. devicePath is expected to be a fully qualified path. BlkDiscard expects the caller to verify that the device is not in use.

func Version

func Version() (string, error)

Version returns the output of "blkdiscard --version"

Types

This section is empty.

Jump to

Keyboard shortcuts

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