blkid

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceIdentifier

type DeviceIdentifier struct {
	DevPath string
}

func (*DeviceIdentifier) GetOnDiskFileSystem

func (di *DeviceIdentifier) GetOnDiskFileSystem() string

GetOnDiskFileSystem returns the filesystem present on the disk by reading from the disk using libblkid

func (*DeviceIdentifier) GetOnDiskLabel added in v1.8.0

func (di *DeviceIdentifier) GetOnDiskLabel() string

GetOnDiskLabel returns the label present on the disk by reading from the disk using libblkid

func (*DeviceIdentifier) GetPartitionEntryUUID added in v1.8.0

func (di *DeviceIdentifier) GetPartitionEntryUUID() string

GetPartitionEntryUUID returns the UUID of the partition, by reading from the disk using libblkid

func (*DeviceIdentifier) GetPartitionTableUUID added in v1.8.0

func (di *DeviceIdentifier) GetPartitionTableUUID() string

GetPartitionTableUUID returns the partition table UUID present on the disk by reading from the disk using libblkid

func (*DeviceIdentifier) GetTagValue added in v1.8.0

func (di *DeviceIdentifier) GetTagValue(tag string) string

Jump to

Keyboard shortcuts

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