BlockDev.FSMkfsOptions

Fields

Name

Type

Access

Description

dry_run

bool

r/w

whether to run mkfs in dry run mode (no changes written to the device)

force

bool

r/w

whether to run mkfs with the --force (or similar) option, the behaviour of this option depends on the filesystem, but in general it allows overwriting other preexisting formats detected on the device

label

str

r/w

label of the filesystem

no_discard

bool

r/w

whether to avoid discarding blocks at mkfs time

no_pt

bool

r/w

whether to disable (protective) partition table creation during mkfs

reserve

bytes

r/w

reserve for future expansion

uuid

str

r/w

uuid of the filesystem

Methods

None

Details

class BlockDev.FSMkfsOptions