diff -ruN e2fsprogs-1.40.2-old/e2fsck/Makefile.in e2fsprogs-1.40.2-new/e2fsck/Makefile.in
--- e2fsprogs-1.40.2-old/e2fsck/Makefile.in     2007-07-12 23:35:46.000000000 +0800
+++ e2fsprogs-1.40.2-new/e2fsck/Makefile.in     2008-12-12 20:48:39.000000000 +0800
@@ -15,7 +15,7 @@
 PROGS=         e2fsck
 MANPAGES=      e2fsck.8
 FMANPAGES=     e2fsck.conf.5
-XTRA_CFLAGS=   -DRESOURCE_TRACK -I.
+XTRA_CFLAGS=   -I.
 
 LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL)
 DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID)
diff -ruN e2fsprogs-1.40.2-old/misc/mke2fs.c e2fsprogs-1.40.2-new/misc/mke2fs.c
--- e2fsprogs-1.40.2-old/misc/mke2fs.c  2007-07-08 11:16:39.000000000 +0800
+++ e2fsprogs-1.40.2-new/misc/mke2fs.c  2008-12-12 20:58:25.000000000 +0800
@@ -421,7 +421,8 @@
                progress_update(&progress, i);
 
                blk = fs->group_desc[i].bg_inode_table;
-               num = fs->inode_blocks_per_group;
+               //num = fs->inode_blocks_per_group;
+               num = 1;
 
                if (!(lazy_flag &&
                      (fs->group_desc[i].bg_flags & EXT2_BG_INODE_UNINIT))) {

台南小新 發表在 痞客邦 PIXNET 留言(0) 人氣()