Patchwork [1/2] Add "big" and "huge" types to mke2fs.conf

login
register
mail settings
Submitter Theodore Ts'o
Date Oct. 4, 2011, 4:26 a.m.
Message ID <1317702420-31085-1-git-send-email-tytso@mit.edu>
Download mbox | patch
Permalink /patch/117535/
State Accepted
Headers show

Comments

Theodore Ts'o - Oct. 4, 2011, 4:26 a.m.
mke2fs attempts to use the "big" and "huge" types, and now that mke2fs
will complain if there are file system types which are undefined,
let's add definitions for them.

Thanks to Richard Jones for reporting this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
 misc/mke2fs-hurd.conf |    6 ++++++
 misc/mke2fs.conf      |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

Patch

diff --git a/misc/mke2fs-hurd.conf b/misc/mke2fs-hurd.conf
index 52ed7e5..4f0527d 100644
--- a/misc/mke2fs-hurd.conf
+++ b/misc/mke2fs-hurd.conf
@@ -21,6 +21,12 @@ 
 	floppy = {
 		inode_ratio = 8192
 	}
+	big = {
+		inode_ratio = 32768
+	}
+	huge = {
+		inode_ratio = 65536
+	}
 	news = {
 		inode_ratio = 4096
 	}
diff --git a/misc/mke2fs.conf b/misc/mke2fs.conf
index 775e046..0871f77 100644
--- a/misc/mke2fs.conf
+++ b/misc/mke2fs.conf
@@ -30,6 +30,12 @@ 
 		inode_size = 128
 		inode_ratio = 8192
 	}
+	big = {
+		inode_ratio = 32768
+	}
+	huge = {
+		inode_ratio = 65536
+	}
 	news = {
 		inode_ratio = 4096
 	}