From b1c828e87590f613015185a19f8e2067a7220a05 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 28 Sep 2011 23:12:45 -0400 Subject: [PATCH] debian: add hurd-specific mke2fs.conf file Addresses-Debian-Bug: #629355 Signed-off-by: "Theodore Ts'o" --- debian/rules | 4 ++++ misc/mke2fs-hurd.conf | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 misc/mke2fs-hurd.conf diff --git a/debian/rules b/debian/rules index 6b55b90..4e507a0 100755 --- a/debian/rules +++ b/debian/rules @@ -357,6 +357,10 @@ install-std: build rm ${tmpdir}/usr/include/quota/mkquota.h find ${tmpdir}/usr/lib -name quota.pc -o -name libquota.a | xargs rm +ifeq ($(DEB_BUILD_GNU_SYSTEM), gnu) + ${INSTALL} -m 0644 misc/mke2fs-hurd.conf ${tmpdir}/etc/mke2fs.conf +endif + dh_movefiles test -z "`find ${tmpdir} -type f`" diff --git a/misc/mke2fs-hurd.conf b/misc/mke2fs-hurd.conf new file mode 100644 index 0000000..52ed7e5 --- /dev/null +++ b/misc/mke2fs-hurd.conf @@ -0,0 +1,36 @@ +[defaults] + base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr + default_mntopts = acl,user_xattr + enable_periodic_fsck = 0 + blocksize = 4096 + inode_size = 128 + inode_ratio = 16384 + +[fs_types] + ext3 = { + features = has_journal + } + ext4 = { + features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize + auto_64-bit_support = 1 + inode_size = 256 + } + small = { + inode_ratio = 4096 + } + floppy = { + inode_ratio = 8192 + } + news = { + inode_ratio = 4096 + } + largefile = { + inode_ratio = 1048576 + } + largefile4 = { + inode_ratio = 4194304 + } + hurd = { + blocksize = 4096 + inode_size = 128 + } -- 1.8.3.1