Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockDeviceForPath ¶
GetBlockDeviceForPath Get the block device for the given path
func GetPathRelativeToBlockDevice ¶
GetPathRelativeToBlockDevice Give a full path to your system, and it will return it's path, relative to the device it is hosted on. For example, if a device is mounted on "/test/mount" and you invoke this method with "/test/mount/with/this/file", then you will get /with/this/file returned.
func GetUUIDForBlockDevice ¶
GetUUIDForBlockDevice Get the UUID for the given block device.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.