OSDN Git Service

debian: add hurd-specific mke2fs.conf file
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Sep 2011 03:12:45 +0000 (23:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Sep 2011 03:22:01 +0000 (23:22 -0400)
Addresses-Debian-Bug: #629355

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules
misc/mke2fs-hurd.conf [new file with mode: 0644]

index 6b55b90..4e507a0 100755 (executable)
@@ -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 (file)
index 0000000..52ed7e5
--- /dev/null
@@ -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
+       }