From 8d6fd9d6764547c87a8a29d24b39194da64d1f02 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 9 Aug 2016 16:31:19 +0300 Subject: 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 --- installer.yaml | 1 + mke2fs.conf | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 mke2fs.conf 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 + } -- cgit v1.2.1