diff options
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | misc/mke2fs-hurd.conf | 36 |
2 files changed, 40 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 6b55b909..4e507a06 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 00000000..52ed7e50 --- /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 + } |