blkdiscard

package
v1.6.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 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