summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-08-09 16:31:19 +0300
committerLars Wirzenius <liw@liw.fi>2016-08-09 16:31:19 +0300
commit8d6fd9d6764547c87a8a29d24b39194da64d1f02 (patch)
tree190343090bca3f9620b39044df780a29594b69fa
parent00ec27e23ff48d9e5eb47bbfad47c7a79641274a (diff)
downloadminipc-router-8d6fd9d6764547c87a8a29d24b39194da64d1f02.tar.gz
Add mke2fs.conf
This is a workaround for disabling metadata_csum. A future vmdebootstrap will do that for us. To use this config, set MKE2FS_CONFIG
-rw-r--r--installer.yaml1
-rw-r--r--mke2fs.conf52
2 files changed, 53 insertions, 0 deletions
diff --git a/installer.yaml b/installer.yaml
index 1a93640..7cb9103 100644
--- a/installer.yaml
+++ b/installer.yaml
@@ -19,3 +19,4 @@ config:
use-uefi: yes
log: installer.log
mbr: yes
+ roottype: ext2
diff --git a/mke2fs.conf b/mke2fs.conf
new file mode 100644
index 0000000..78fe50a
--- /dev/null
+++ b/mke2fs.conf
@@ -0,0 +1,52 @@
+[defaults]
+ base_features = sparse_super,large_file,filetype,resize_inode,dir_index,ext_attr
+ default_mntopts = acl,user_xattr
+ enable_periodic_fsck = 0
+ blocksize = 4096
+ inode_size = 256
+ inode_ratio = 16384
+
+[fs_types]
+ ext3 = {
+ features = has_journal
+ }
+ ext4 = {
+ features = has_journal,extent,huge_file,flex_bg,64bit,dir_nlink,extra_isize
+ inode_size = 256
+ }
+ ext4dev = {
+ features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,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
+ }
+ big = {
+ inode_ratio = 32768
+ }
+ huge = {
+ inode_ratio = 65536
+ }
+ news = {
+ inode_ratio = 4096
+ }
+ largefile = {
+ inode_ratio = 1048576
+ blocksize = -1
+ }
+ largefile4 = {
+ inode_ratio = 4194304
+ blocksize = -1
+ }
+ hurd = {
+ blocksize = 4096
+ inode_size = 128
+ }