format
disk/format
Conditions: !smips
Type: Command
| Argument | Type | Description |
|---|---|---|
| file-system | enum (fat32 | ext4 | btrfs | xfs | wipe | wipe-quick | exfat | discard | discard-secure) | What filesystem to format the disk.
|
| label | string | File system label. Default: <slot>-fs. |
| mbr-partition-table | bool | Write an MBR partition table to the disk as part of the format. Without it the disk receives no partition table; use add type=partition afterwards to create partitions, which are stored in a GUID partition table. Default: no. |
| Read-only Argument | Type | Description |
|---|---|---|
| output | string | Progress of the format: the mkfs command line and its output, a progress percentage or byte counter, and a final format done line. |