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