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:
Richard W.M. Jones
2010-12-02 13:35:14 +00:00
parent 65f44b4590
commit 0710326ac5
7 changed files with 91 additions and 64 deletions

View File

@@ -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