1E2fsprogs 1.13 (December 15, 1998) 2================================== 3 4Fixed a bug in debugfs where an error messages weren't getting printed 5when the ext2 library routines to read inodes returned errors in the 6stat, cmri and rm commands. 7 8Fixed a bug in mke2fs so that if a ridiculous inode ratio parameter is 9provided, it won't create an inode table smaller than the minimum 10number of inodes required for a proper ext2 filesystem. 11 12Fsck now parses the /etc/fstab file directly (instead of using 13getmntent()), so that it can distinguish between a missing pass number 14field and pass number field of zero. This caused problems for 15diskless workstations where all of the filesystems in /etc/fstab have 16an explicit pass number of zero, and fsck could not distinguish this 17from a /etc/fstab file with missing pass numbers. 18 19E2fsck will create a /lost+found directory if there isn't one in the 20filesystem, since it's safer to create the lost+found directory before 21it's needed. 22 23Fixed e2fsck so that it would detect bogus immutable inodes which 24happen to be sockets and FIFO files, and offer to clear them. 25 26If a filesystem has multiple reasons why it needs to be checked, and 27one of the reasons is that it is uncleanly mounted, e2fsck will print 28that as the reason why the filesystem is being checked. 29 30Cleaned up the output routines of mke2fs so that it doesn't overflow 31an 80 column display when formatting really big filesystems. 32 33Added a sanity check to e2fsck to make sure that file descriptors 0, 341, 2 are open before opening the hard disk. This avoids a problem 35where a broken program might exec e2fsck with those file descriptors 36closed, which would cause disastrous results if the kernel returns a 37file descriptor for the block device which is also used by FILE * 38stdout. 39 40Fixed up the e2fsck progress reporting functions so that the values 41reliably reach 100% at the completion of all of the e2fsck passes. 42 43Fixed minor documentation bugs in man pages and usage messages. 44 45Programmer's notes: 46------------------- 47 48Fixed a number of lint warnings in the ext2fs library and potential 49portability problems from other OS's header files that might define 50CPP macros for names like "max" and "min". 51 52ext2fs_badblocks_list_add() has been made more efficient when it needs 53to grow the bad blocks list. 54 55Fixed a bug in e2fsck which caused it to dereference a freed pointer 56just before exiting. 57 58Fixed the substitution process for generating the mk_cmds and compile_et 59scripts so that they will work outside of the build tree. 60 61Add sanity check to e2fsck so that if an internal routine 62(ext2fs_get_dir_info) returns NULL, avoid dereferencing the pointer 63and causing a core dump. This should never happen, but... 64 65