mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
New API: mkfs_opts, mkfs with optional arguments.
This is an extensible version of 'mkfs' which supports optional arguments. There is now no need for 'mkfs_b' since you should use 'mkfs_opts' with the optional 'blocksize' argument instead.
This commit is contained in:
@@ -54,7 +54,7 @@ qemu patch in the current directory.
|
||||
pvcreate /dev/vda : \
|
||||
vgcreate VG /dev/vda : \
|
||||
lvcreate LV VG 32 : \
|
||||
mkfs-b ext4 4096 /dev/VG/LV
|
||||
mkfs-opts ext4 /dev/VG/LV blocksize:4096
|
||||
|
||||
Some points to note:
|
||||
* an ext4 filesystem, so it has a journal and extents
|
||||
|
||||
Reference in New Issue
Block a user