You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:usage-type: Specify the usage type for the filesystem. Only valid with mke2fs.
298
298
More details can be found in the mke2fs man-page.
299
299
300
+
f2fs
301
+
****
302
+
Generates F2FS images.
303
+
304
+
Options:
305
+
306
+
:label: Specify the volume-label.
307
+
:extraargs: Extra arguments passed to mkfs.f2fs
308
+
300
309
file
301
310
****
302
311
@@ -472,6 +481,44 @@ Options:
472
481
473
482
:extraargs: Extra arguments passed to mkfs.jffs2
474
483
484
+
mdraid
485
+
****
486
+
Generates MD RAID images.
487
+
488
+
Options:
489
+
490
+
:label: Text name of array (optional) eg: localhost:42
491
+
:level: RAID level, currently only level 1 (default) is supported
492
+
:devices: Number of devices in array (default 1)
493
+
:role: 0 based index of this image in whole array. (autoassigned by default)
494
+
:timestamp: Unix timestamp of array creation (current time by default, has to match across array devices)
495
+
:raid-uuid: UUID of whole array (has to be identical across all disks in array, random by default)
496
+
:disk-uuid: UUID of disk (has to be unique for each array member disk, random by default)
497
+
:image: Image of data to be preloaded into array (optional)
498
+
:parent: Image to inherit array identity/config from (when creating extra members of existing array).
499
+
Effectively overrides all array-wide options mentioned here and replaces them with values from parent.
500
+
501
+
For example here only the first image has configuration and the UUID/timestamp is generated on demand::
502
+
503
+
image mdraid-a.img {
504
+
mdraid {
505
+
level = 1
506
+
devices = 2
507
+
image = "mdraid-ext4.img"
508
+
}
509
+
}
510
+
511
+
Then to create second member to that array we just inherit config from the parent member::
512
+
513
+
image mdraid-b.img {
514
+
mdraid {
515
+
parent = "mdraid-a.img"
516
+
}
517
+
}
518
+
519
+
Default role number is 0 for the parent image and when other images inherit configuration from it, they are assigned roles from autoincrementing counter.
520
+
521
+
475
522
qemu
476
523
****
477
524
Generates a QEMU image. Needs at least one valid partition.
@@ -683,6 +730,7 @@ variable.
683
730
:mmd: path to the mmd program (default mmd)
684
731
:mkcramfs: path to the mkcramfs program (default mkcramfs)
685
732
:mkdosfs: path to the mkdosfs program (default mkdosfs)
733
+
:mkfsf2fs: path to the mkfs.f2fs program (default mkfs.f2fs)
686
734
:mkfsjffs2: path to the mkfs.jffs2 program (default mkfs.jffs2)
687
735
:mkfsubifs: path to the mkfs.ubifs program (default mkfs.ubifs)
688
736
:mksquashfs: path to the mksquashfs program (default mksquashfs)
@@ -742,3 +790,6 @@ commits (e.g. using ``git commit -s``) looking as follows:
0 commit comments