|
|
022f11 |
From 7248348ed7b68e68048c3075629691745e361cad Mon Sep 17 00:00:00 2001
|
|
|
022f11 |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
022f11 |
Date: Thu, 29 Aug 2013 13:59:14 +0100
|
|
|
022f11 |
Subject: [PATCH] mke2fs: Document that too small blockscount will result in
|
|
|
022f11 |
ext2 filesystem (RHBZ#1002032).
|
|
|
022f11 |
|
|
|
022f11 |
(cherry picked from commit 1c8986e45c3f1a7e2391bde2848667332495e3aa)
|
|
|
022f11 |
---
|
|
|
022f11 |
generator/actions.ml | 10 +++++++---
|
|
|
022f11 |
1 file changed, 7 insertions(+), 3 deletions(-)
|
|
|
022f11 |
|
|
|
022f11 |
diff --git a/generator/actions.ml b/generator/actions.ml
|
|
|
022f11 |
index d679f1a..435411b 100644
|
|
|
022f11 |
--- a/generator/actions.ml
|
|
|
022f11 |
+++ b/generator/actions.ml
|
|
|
022f11 |
@@ -10748,11 +10748,15 @@ or C<guestfs_rm_rf> to remove directories recursively." };
|
|
|
022f11 |
["cat"; "/new"]], "new file contents"), []
|
|
|
022f11 |
]);
|
|
|
022f11 |
shortdesc = "create an ext2/ext3/ext4 filesystem on device";
|
|
|
022f11 |
+ (* XXX document optional args properly *)
|
|
|
022f11 |
longdesc = "\
|
|
|
022f11 |
C<mke2fs> is used to create an ext2, ext3, or ext4 filesystem
|
|
|
022f11 |
-on C<device>. The optional C<blockscount> is the size of the
|
|
|
022f11 |
-filesystem in blocks. If omitted it defaults to the size of
|
|
|
022f11 |
-C<device>." (* XXX document optional args properly *) };
|
|
|
022f11 |
+on C<device>.
|
|
|
022f11 |
+
|
|
|
022f11 |
+The optional C<blockscount> is the size of the filesystem in blocks.
|
|
|
022f11 |
+If omitted it defaults to the size of C<device>. Note if the
|
|
|
022f11 |
+filesystem is too small to contain a journal, C<mke2fs> will
|
|
|
022f11 |
+silently create an ext2 filesystem instead." };
|
|
|
022f11 |
|
|
|
022f11 |
{ defaults with
|
|
|
022f11 |
name = "list_disk_labels";
|
|
|
022f11 |
--
|
|
|
022f11 |
1.8.3.1
|
|
|
022f11 |
|