disk

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package disk shows information about block drives in the machine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

type Disk struct {
	BlockDevices []mvp.BlockDevice
	FStab        fstab.Mounts
}

Disk returns information about the block drives on the machine.

func New

func New() *Disk

New returns a Disk object representing system disk information.

Jump to

Keyboard shortcuts

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