1 Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
3 * fsck.c (fsck_device): Check fstype instead of type; this was a
4 stupid typo which caused coredumps in some cases.
6 Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
8 * Makefile.in (install): Strip programs when they are installed.
10 Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
12 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
13 so we do the check to see if the filesystem is mounted
14 *before* we try to determine the size of the device.
16 Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
18 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
21 Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
23 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
24 function to determine if the device is mounted.
26 * mke2fs.c (PRS): Change call to use the new
27 ext2fs_get_device_size() function in order to determine
28 the size of the filesystem. Remove get_size() and
29 is_valid_offset(), which are no longer called.
31 Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
33 * fsck.c (fsck_device): Make sure fstype has been set by the user
34 and that it does not begin with "no" and the user has
35 specified exactly one type before using it as the type to
38 Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
47 * tune2fs.8: Updated date and version number.
49 Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
51 * tune2fs.c: Fixed a bug which prevented the use of user and group
52 names with the -g and -u options. Thanks to Jean Christophe
53 ANDRE <progfou@mycrob.cafard.freenix.fr>.
56 * tune2fs.8: Fixed a spelling error in Ted's name :-)
58 Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
60 * mke2fs.c (count_blocks): Divide the size by
61 EXT2_BLOCK_SIZE(¶m), instead of assuming that the
62 blocksize is always 1024 bytes.
64 Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
66 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
67 not portable!! In any case putenv() in some systems must
68 take a static character array or malloc()'ed memory;
69 passing memory allocated using alloca() to putenv() is not
72 * chattr.c (chattr_dir_proc):
73 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
74 alloca is not portable!
76 * fsck.c (fsck_device): If the filesystem type is specified by the
77 user using the -t option, let it override the type in
80 * fsck.c (strdup): Don't build strdup() if the system defines it.
82 Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
84 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
87 * The $(UPROGS) go in bin, not sbin.
89 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
90 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
92 Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
94 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
95 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
97 Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
99 * chattr.c: Include errno.h, since we use errno
101 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
102 explicitly initialize filesys_info to be NULL.
104 * mke2fs.c: Include the stdio.h and errno.h header files
106 Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
108 * mke2fs.c: Only include <linux/fs.h> if we can.
109 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
110 (check_mount): Only check to see if the device is mounted if
111 HAVE_MNTENT_H is defined (by configure).
113 * fsck.c (load_fs_info): Only try to get info about filesystems if
114 HAVE_MNTENT_H is defined (by configure).
115 (main): Allocate space for a new fsck_path instead of append to a
116 statically sized buffer.
117 (PRS): Use alloca to allocate the new path string, instead of
118 having a fixed size buffer (which was the wrong size anyway).
120 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
121 filename instead of using a fixed-size buffer.
122 * lsattr.c (lsattr_dir_proc): Ditto.
123 * mklost+fond.c (main): Calculate the actual needed size for the
124 path buffer instead of using MAXPATHLEN (which not all systems have).
126 * badblocks.c: Only include linux include files if we have them.
127 (flush_bufs): New function to flush a block device, optionally
128 syncing it first. This replaces other copies of this code.
129 (test_ro): Replace calls to ioctl with flush_bufs().
132 * Makefile.in: Rewritten to conform to GNU coding standards and
133 support separate compilation directories.
135 Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
137 * mke2fs.c (main, zap_bootblock): Added new function
138 zap_bootblock() which clears the first 512 bytes of the
139 filesystem. This protects the filesystem from being
140 misidentified as a MS-DOS FAT filesystem.
142 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
143 allocated for printing the block numbers, so that the
144 display doesn't get corrupted when running badblocks on a
145 very large partition.
147 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
148 ext2_loff_t, so that when checking a large device,
149 spurious seek errors aren't reported.
151 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
152 instead of type int, so that it works for filesystems
153 greater than 2 GB. (Fortunately count_blocks is only
154 called if the device does not support the BLKGETSIZE
155 ioctl, which most do.)
157 * fsck.c (ignore): Add check to ignore filesystems with a pass
158 number of zero. (This check was accidentally deleted at
159 during 0.5b development.)
161 Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
163 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
164 option, -S, which only writes the superblock and group
165 descriptors. Useful for recovering when all of the
166 superblocks are corrupted somehow (as a last ditch
169 Also, don't bother initializing the bitmap blocks in
170 alloc_tables(), since they will be overwritten at the end
171 anyway. (Should speed up mke2fs by a little.)
173 Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
175 * fsck.c (main): Fix stupid typo where a null inst would be freed.
177 * fsck.c (wait_one): Check WIFEXITED on status before trying to
178 extract the exit status. In other cases, return
179 FSCK_ERROR if the back end processor exited with a signal.
181 Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
183 * tune2fs.c (main): Fixed a bug which prevented the use of the
185 Added the `w' (week) suffix recognition in the check interval.
187 Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
189 * fsck.c (load_fs_info): If the user has an obviously old
190 /etc/fstab file, issue a warning message and assume that
191 all partitions should be checked.
193 Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
195 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
198 * mke2fs.c (create_root_dir): Create the root directory owned by
201 Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
203 * tune2fs.c (main.c): Added support for new options:
204 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
206 Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
208 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
210 Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
212 * badblocks.c (test_rw): Added verbose output like in the
215 (do_test and test_rw): Use the llseek system call if available.
217 * chattr.c: Added support for new attributes.
219 * lsattr.c: Added support for long format.
221 * mke2fs.c (usage): Fixed bogus usage message.
223 (valid_offset): Use the llseek system call if available.
225 Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
227 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
228 where a backup superblock/group descriptor is stored. If so,
229 print a warning message and adjust the superblock counts so that
230 they are correct. (Otherwise, the bad block will get counted
231 twice and the # of free blocks count will be wrong.)
233 (alloc_tables): Removed code which calcualated the free block
234 statistics, which was moved to lib/ext2fs/initialize.c. This
235 allows the bad block code to adjust the group descriptor
236 statistics if necessary.