Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DiskPrefixToIgnore disks with this prefix will not be reported and wiped.
DiskPrefixToIgnore = "ram"
)
Functions ¶
func FetchBlockIDProperties ¶ added in v0.5.0
FetchBlockIDProperties use blkid to return more properties of the given partition device
Types ¶
type Disk ¶
type Disk struct { // Device the name of the disk device visible from kernel side, e.g. sda Device string // Partitions to create on this disk, order is preserved Partitions []Partition }
Disk is a physical Disk
type Filesystem ¶ added in v0.8.1
type Filesystem struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.8.1
func New(chroot string, config models.ModelsV1FilesystemLayoutResponse) *Filesystem
func (*Filesystem) CreateFSTab ¶ added in v0.8.1
func (f *Filesystem) CreateFSTab() error
func (*Filesystem) Run ¶ added in v0.8.1
func (f *Filesystem) Run() error
func (*Filesystem) Umount ¶ added in v0.8.1
func (f *Filesystem) Umount()
Click to show internal directories.
Click to hide internal directories.