diskimage-builder/doc/source/user_guide
Ian Wienand 5e2330d89c Put MKFS_OPTS after filesystem type
mkfs's arguments are

 mkfs [options] [-t type] [fs-options] device [size]

So it seems our MKFS_OPTS are really supposed to be fs-options, rather
than options to mkfs itself.

Why didn't we notice?  It's quite a trap -- mkfs.ext2 has a "-t"
option, so when we're calling

 $ mkfs -i 4096 ... -t ext4 ...

We actually just fall-back to the default from the mkfs wrapper which
is mkfs.ext2 which works!  But when you make that, say, xfs, we're not
calling the right wrapper at all.

Also update documentation

Closes-Bug: #1648287
Change-Id: I3ea5807088ab361bd9c235c07fb1553fbaf9178b
2016-12-09 07:22:38 +11:00
..
building_an_image.rst Put MKFS_OPTS after filesystem type 2016-12-09 07:22:38 +11:00
index.rst Move install-types doc to user guide 2015-11-13 18:45:28 +00:00
install_types.rst Move install-types doc to user guide 2015-11-13 18:45:28 +00:00
installation.rst Document install of diskimage-builder on Gentoo 2016-10-11 20:17:49 -05:00
supported_distros.rst Fix formatting for supported distros in docs 2016-10-07 15:19:47 +11:00