diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-28 23:12:45 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-28 23:22:01 -0400 |
commit | b1c828e87590f613015185a19f8e2067a7220a05 (patch) | |
tree | fa43184f7f0f0f3bc288ca78a4895e42c3a71819 | |
parent | 14b283ae565930144ef5ace12483d602cc3e7539 (diff) | |
download | e2fsprogs-b1c828e87590f613015185a19f8e2067a7220a05.tar.gz |
debian: add hurd-specific mke2fs.conf file
Addresses-Debian-Bug: #629355
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-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 + } |