Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDevice ¶
type BlockDevice interface { GetDeviceName() string GetDeviceFileName() string GetName() string GetSize() int64 }
BlockDevice represents a Partition or a Hard-Disk
type Disk ¶
type Disk interface { BlockDevice IsRemovable() bool GetPartitions() ([]Partition, error) InitializePartitions(Type string, partitionInfos ...PartitionInfo) error CreatePartitions(partitionInfos ...PartitionInfo) error }
Disk represents a Hard-Disk
type Partition ¶
type Partition interface { BlockDevice GetMountPoint() (mountPoint string, err error) }
Partition represents a Partition on a Hard-Disk
Click to show internal directories.
Click to hide internal directories.