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
Click to show internal directories.
Click to hide internal directories.