mount

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDevice

type BlockDevice struct {
	DeviceName     string
	Size           uint64
	Label          string
	UUID           string
	FilesystemType string
	MountPoint     string
}

func ListBlockDevices

func ListBlockDevices() ([]BlockDevice, error)

ListBlockDevices Taken from https://github.com/BishopFox/dufflebag nolint:cyclop

func (BlockDevice) Mount

func (b BlockDevice) Mount(mountPoint string) error

Jump to

Keyboard shortcuts

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