blob: 8d020c224008467ce975bbdbc0cae7748257c57e [file] [log] [blame]
Theodore Ts'o74becf31997-04-26 14:37:06 +00001Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
2
3 * Release of E2fsprogs version 1.02
4
5Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu>
6
7 * mke2fs.c (check_plausibility): Add check to warn user if they
8 are trying to mke2fs the whole disk. (/dev/hda
9 vs. /dev/hda1)
10
11Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu>
12
13 * fsck.c (check_all): If we break out of the loop because we are
14 serializing and have just started at fsck we haven't
15 finished the pass. We need to go round again in case there
16 are more filesystems to be done in this pass. (Patch
17 submitted by Mike Jagdis)
18
19Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu>
20
21 * dumpe2fs.c (in_use): test_bit() was renamed to
22 ext2fs_test_bit().
23
Theodore Ts'o297f47a1997-04-26 14:25:20 +000024Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
25
26 * fsck.c (fsck_device): Check fstype instead of type; this was a
27 stupid typo which caused coredumps in some cases.
28
Theodore Ts'oa418d3a1997-04-26 14:00:26 +000029Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
30
31 * Makefile.in (install): Strip programs when they are installed.
32
33Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
34
35 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
36 so we do the check to see if the filesystem is mounted
37 *before* we try to determine the size of the device.
38
39Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
40
41 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
42 the same order.
43
44Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
45
46 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
47 function to determine if the device is mounted.
48
49 * mke2fs.c (PRS): Change call to use the new
50 ext2fs_get_device_size() function in order to determine
51 the size of the filesystem. Remove get_size() and
52 is_valid_offset(), which are no longer called.
53
54Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
55
56 * fsck.c (fsck_device): Make sure fstype has been set by the user
57 and that it does not begin with "no" and the user has
58 specified exactly one type before using it as the type to
59 check.
60
61Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
62
63 * badblocks.8:
64 * chattr.1:
65 * dumpe2fs.8:
66 * fsck.8:
67 * lsattr.1:
68 * mke2fs.8:
69 * mklost+found.8:
70 * tune2fs.8: Updated date and version number.
71
72Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
73
74 * tune2fs.c: Fixed a bug which prevented the use of user and group
75 names with the -g and -u options. Thanks to Jean Christophe
76 ANDRE <progfou@mycrob.cafard.freenix.fr>.
77
78 * mke2fs.8:
79 * tune2fs.8: Fixed a spelling error in Ted's name :-)
80
81Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
82
83 * mke2fs.c (count_blocks): Divide the size by
84 EXT2_BLOCK_SIZE(&param), instead of assuming that the
85 blocksize is always 1024 bytes.
86
87Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
88
89 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
90 not portable!! In any case putenv() in some systems must
91 take a static character array or malloc()'ed memory;
92 passing memory allocated using alloca() to putenv() is not
93 advisable.
94
95 * chattr.c (chattr_dir_proc):
96 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
97 alloca is not portable!
98
99 * fsck.c (fsck_device): If the filesystem type is specified by the
100 user using the -t option, let it override the type in
101 /etc/fstab.
102
103 * fsck.c (strdup): Don't build strdup() if the system defines it.
104
105Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
106
107 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
108 benefit.
109
110 * The $(UPROGS) go in bin, not sbin.
111
112 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
113 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
114
115Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
116
117 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
118 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
119
120Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
121
122 * chattr.c: Include errno.h, since we use errno
123
124 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
125 explicitly initialize filesys_info to be NULL.
126
127 * mke2fs.c: Include the stdio.h and errno.h header files
128
129Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
130
131 * mke2fs.c: Only include <linux/fs.h> if we can.
132 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
133 (check_mount): Only check to see if the device is mounted if
134 HAVE_MNTENT_H is defined (by configure).
135
136 * fsck.c (load_fs_info): Only try to get info about filesystems if
137 HAVE_MNTENT_H is defined (by configure).
138 (main): Allocate space for a new fsck_path instead of append to a
139 statically sized buffer.
140 (PRS): Use alloca to allocate the new path string, instead of
141 having a fixed size buffer (which was the wrong size anyway).
142
143 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
144 filename instead of using a fixed-size buffer.
145 * lsattr.c (lsattr_dir_proc): Ditto.
146 * mklost+fond.c (main): Calculate the actual needed size for the
147 path buffer instead of using MAXPATHLEN (which not all systems have).
148
149 * badblocks.c: Only include linux include files if we have them.
150 (flush_bufs): New function to flush a block device, optionally
151 syncing it first. This replaces other copies of this code.
152 (test_ro): Replace calls to ioctl with flush_bufs().
153 (test_rw): Ditto.
154
155 * Makefile.in: Rewritten to conform to GNU coding standards and
156 support separate compilation directories.
157
Theodore Ts'of3db3561997-04-26 13:34:30 +0000158Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
159
160 * mke2fs.c (main, zap_bootblock): Added new function
161 zap_bootblock() which clears the first 512 bytes of the
162 filesystem. This protects the filesystem from being
163 misidentified as a MS-DOS FAT filesystem.
164
165 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
166 allocated for printing the block numbers, so that the
167 display doesn't get corrupted when running badblocks on a
168 very large partition.
169
170 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
171 ext2_loff_t, so that when checking a large device,
172 spurious seek errors aren't reported.
173
174 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
175 instead of type int, so that it works for filesystems
176 greater than 2 GB. (Fortunately count_blocks is only
177 called if the device does not support the BLKGETSIZE
178 ioctl, which most do.)
179
180 * fsck.c (ignore): Add check to ignore filesystems with a pass
181 number of zero. (This check was accidentally deleted at
182 during 0.5b development.)
183
184Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
185
186 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
187 option, -S, which only writes the superblock and group
188 descriptors. Useful for recovering when all of the
189 superblocks are corrupted somehow (as a last ditch
190 measure).
191
192 Also, don't bother initializing the bitmap blocks in
193 alloc_tables(), since they will be overwritten at the end
194 anyway. (Should speed up mke2fs by a little.)
195
196Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
197
198 * fsck.c (main): Fix stupid typo where a null inst would be freed.
199
200 * fsck.c (wait_one): Check WIFEXITED on status before trying to
201 extract the exit status. In other cases, return
202 FSCK_ERROR if the back end processor exited with a signal.
203
204Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
205
206 * tune2fs.c (main): Fixed a bug which prevented the use of the
207 new options.
208 Added the `w' (week) suffix recognition in the check interval.
209
210Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
211
212 * fsck.c (load_fs_info): If the user has an obviously old
213 /etc/fstab file, issue a warning message and assume that
214 all partitions should be checked.
215
216Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
217
218 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
219 structures.
220
221 * mke2fs.c (create_root_dir): Create the root directory owned by
222 the effective uid.
223
224Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
225
226 * tune2fs.c (main.c): Added support for new options:
227 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
228
229Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
230
231 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
232
233Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
234
235 * badblocks.c (test_rw): Added verbose output like in the
236 read-only test.
237
238 (do_test and test_rw): Use the llseek system call if available.
239
240 * chattr.c: Added support for new attributes.
241
242 * lsattr.c: Added support for long format.
243
244 * mke2fs.c (usage): Fixed bogus usage message.
245
246 (valid_offset): Use the llseek system call if available.
247
248Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
249
250 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
251 where a backup superblock/group descriptor is stored. If so,
252 print a warning message and adjust the superblock counts so that
253 they are correct. (Otherwise, the bad block will get counted
254 twice and the # of free blocks count will be wrong.)
255
256 (alloc_tables): Removed code which calcualated the free block
257 statistics, which was moved to lib/ext2fs/initialize.c. This
258 allows the bad block code to adjust the group descriptor
259 statistics if necessary.