add a good defaults file for mke2fs
Jason D. Clinton [Wed, 22 Apr 2009 02:30:15 +0000 (21:30 -0500)]
etc/mke2fs.conf [new file with mode: 0644]
manifest

diff --git a/etc/mke2fs.conf b/etc/mke2fs.conf
new file mode 100644 (file)
index 0000000..3795b1e
--- /dev/null
@@ -0,0 +1,44 @@
+[defaults]
+       base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
+       blocksize = 4096
+       inode_size = 256
+       inode_ratio = 16384
+
+[fs_types]
+       ext3 = {
+               features = has_journal
+       }
+       ext4 = {
+               features = has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
+               inode_size = 256
+       }
+       ext4dev = {
+               features = has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
+               inode_size = 256
+               options = test_fs=1
+       }
+       small = {
+               blocksize = 1024
+               inode_size = 128
+               inode_ratio = 4096
+       }
+       floppy = {
+               blocksize = 1024
+               inode_size = 128
+               inode_ratio = 8192
+       }
+       news = {
+               inode_ratio = 4096
+       }
+       largefile = {
+               inode_ratio = 1048576
+               blocksize = -1
+       }
+       largefile4 = {
+               inode_ratio = 4194304
+               blocksize = -1
+       }
+       hurd = {
+            blocksize = 4096
+            inode_size = 128
+       }
index 203ffb9..4d3e13f 100644 (file)
--- a/manifest
+++ b/manifest
@@ -9,6 +9,7 @@
 755:./etc/cloner/startup.sh
 755:./etc/cloner/switch_cd.sh
 755:./etc/logdev.sh
+644:./etc/mke2fs.conf
 644:./etc/dropbear/dropbear_rsa_host_key
 644:./etc/dropbear/dropbear_dss_host_key
 644:./etc/nsswitch.conf