summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-11-22 15:58:54 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-11-22 16:03:27 +0100
commita2a33efa29fdb10ffa8e5d77106d2d705ddabb8f (patch)
tree5d618003d6947c4f84e0b222685bded3650e55df
parentf1146b37e37f5f144d08a364f73f5156b43b5915 (diff)
downloadgenimage-a2a33efa29fdb10ffa8e5d77106d2d705ddabb8f.tar.gz
genimage-a2a33efa29fdb10ffa8e5d77106d2d705ddabb8f.tar.xz
document all ext* options
Fixes #80 Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--README.rst15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 6993de3..620b9da 100644
--- a/README.rst
+++ b/README.rst
@@ -155,16 +155,27 @@ Generates ext* images.
Options:
-:extraargs: Extra arguments passed to genext2fs
+:use-mke2fs: If set to true, then mke2fs is used to create the
+ image. Otherwise, genext2fs is used. Defaults to false.
+:mke2fs-conf: mke2fs.conf that should be used. If unspecified, the system
+ default is used.
+:extraargs: Extra arguments passed to genext2fs or mke2fs.
:features: Filesystem features. Passed to the ``-O`` option of tune2fs. This
is a comma separated list of enabled or disabled features. See
- ``man tune2fs`` for features. Default for ext3 images is
+ ``man ext4`` for features.
+ For genext2fs all feature are specified. Default for ext3 images is
``has_journal``. Default for ext4 images is
``extents,uninit_bg,dir_index,has_journal``.
+ For mke2fs these features are added in addition to the default
+ features of the ext type. Already enabled features can be disabled
+ by prefixing the feature with ``^``.
:label: Specify the volume-label. Passed to the ``-L`` option of tune2fs
:fs-timestamp: Sets different timestamps in the image. Sets the given timestamp
using the debugfs commands ``set_current_time``,
``set_super_value mkfs_time`` and ``set_super_value lastcheck``
+:root-owner: User and group IDs for the root directory. Defaults to ``0:0``.
+:usage-type: Specify the usage type for the filesystem. Only valid with mke2fs.
+ More details can be found in the mke2fs man-page.
FIT
***