OSDN Git Service

da9b5c0c088a8bee85c14340d991b9e23c2bcb6a
[android-x86/external-e2fsprogs.git] / lib / e2p / ChangeLog
1 2004-01-31  Theodore Ts'o  <tytso@mit.edu>
2
3         * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c: Apply
4                 patch from Brian Bergstrand to support ext2_ioctl() in
5                 Darwin.  This is implemented via the fsctl system call.
6
7 2003-08-20  Theodore Ts'o  <tytso@mit.edu>
8
9         * ls.c (list_super2): Display the journal backup type.
10
11 2003-07-25  Theodore Ts'o  <tytso@mit.edu>
12
13         * Release of E2fsprogs 1.34
14
15 2003-07-06  Theodore Ts'o  <tytso@mit.edu>
16
17         * iod.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
18
19 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
20
21         * Release of E2fsprogs 1.33
22
23 2003-04-19  Theodore Ts'o  <tytso@mit.edu>
24
25         * fgetflags.c (fgetflags), fsetflags.c (fsetflags): Remove unused
26                 and useless close(fd).
27
28         * hashstr.c (e2p_hash2string): Remove unused variables.
29
30         * iod.c: Fix gcc -Wall warnings by including stdlib.h.
31
32 2003-04-12  Theodore Ts'o  <tytso@mit.edu>
33
34         * iod.c (iterate_on_dir): Support systems that don't have d_reclen
35                 in struct dirent.
36
37 2003-04-11  Theodore Ts'o  <tytso@mit.edu>
38
39         * feature.c: Remove support for EXT2_FEATURE_RO_COMPAT_BTREE_DIR,
40                 since it's not actually used, and may confuse people who
41                 are looking for EXT2_FEATURE_COMPAT_DIR_INDEX, which is in
42                 use.
43
44 2003-03-17  Theodore Ts'o  <tytso@mit.edu>
45
46         * ls.c (list_super2): Display the superblock fields even if the
47                 journal or the dir index feature is not enabled.
48
49 2002-11-09  Theodore Ts'o  <tytso@mit.edu>
50
51         * Release of E2fsprogs 1.32
52
53 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
54
55         * Release of E2fsprogs 1.31
56
57 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
58
59         * pf.c: Print the indexed directory flag if present.  Don't
60                 display all of the compression flags unless compression 
61                 is enabled.
62
63 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
64
65         * Release of E2fsprogs 1.30
66
67 2002-11-01  Theodore Ts'o  <tytso@mit.edu>
68
69         * pf.c: Add support for a new inode flag, which is to be used for
70                 indicating the top of directory hierarchies for the Orlov
71                 block allocator.
72
73 2002-10-25  Theodore Ts'o  <tytso@mit.edu>
74
75         * ls.c (list_super2): Print the s_mkfs_time field if it is
76                 present.  If the last mount time (s_mtime) is zero, print
77                 "n/a".
78
79 2002-10-20  Theodore Ts'o  <tytso@valinux.com>
80
81         * e2p.h (e2p_string2mntopt), mntopts.c, ls.c (print_mntopts):
82                 Remove unneeded "compat" argument to e2p_string2mntopt().
83                 Add mount options for the journal data mode (journaled,
84                 ordered, writeback).
85
86         * feature.c, ls.c (list_super2): Add support for the
87                 meta_blockgroup filesystem format.
88
89 2002-10-15    <tytso@snap.thunk.org>
90
91         * ls.c (print_mntopts, list_super2): Print any default mount
92                 options which the filesystem might have.
93
94         * e2p.h, mntopts.c: New function which converts back and forth
95                 between strings and default mount options.
96
97 2001-09-24  Theodore Tso  <tytso@mit.edu>
98
99         * Release of E2fsprogs 1.29
100
101 2001-08-31  Theodore Tso  <tytso@thunk.org>
102
103         * Release of E2fsprogs 1.28
104
105 2002-08-23  Theodore Ts'o  <tytso@mit.edu>
106
107         * ls.c (list_super2): Print the default hash version and the hash
108                 seed for the directory indexing.  Use the new e2p_uuid2str
109                 function to factor out common code.
110                 
111         * uuid.c (e2p_uuid2str), e2p.h: New utility function which factors
112                 out some common code.
113
114         * hashstr.c (e2p_hash2string, e2p_string2hash): New functions
115                 which convert the hash algorithm name to and from a string.
116         
117 2002-08-17  Theodore Ts'o  <tytso@mit.edu>
118
119         * fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c
120                 (setflags), getflags.c (getflags): Check to make sure the
121                 file is a regular file or a directory before attempting to
122                 use the ext2 ioctls.  Otherwise, return EOPNOTSUPP.
123                 (Addresses Debian Bug #152029).
124
125 2002-07-14  Theodore Ts'o  <tytso@mit.edu>
126
127         * fsetflags.c (fsetflags), fgetflags.c (fgetflags,
128                 fsetversion.c (fsetversion), fgetversion.c,
129                 fgetversion.c: Save errno if the ioctl fails, and
130                 restore it just before we return.
131
132         * iod.c (iterate_on_dir): Rewrite function to make it more
133                 portable.  We now make much fewer assumptions about nature
134                 and layout of struct dirent, which will hopefully help
135                 things on the Hurd.
136
137 2002-06-15  Theodore Ts'o  <tytso@mit.edu>
138
139         * pf.c: Changed "compressed dirty flag" from 'D' to 'Z'.  Add
140                 dirsync flag and assign it 'D'.
141
142 2002-03-08  Theodore Tso  <tytso@mit.edu>
143
144         * Release of E2fsprogs 1.27
145
146 2002-02-03  Theodore Tso  <tytso@thunk.org>
147
148         * Release of E2fsprogs 1.26
149
150 2001-12-16  Theodore Tso  <tytso@mit.edu>
151
152         * pf.c: Add const to struct flags_name to avoid -Wall complaints.
153
154 2001-11-05  Theodore Tso  <tytso@mit.edu>
155
156         * pf.c: Add a new file attribute, EXT2_NOTAIL_FL
157
158 2001-09-20  Theodore Tso  <tytso@thunk.org>
159
160         * Release of E2fsprogs 1.25
161
162 2001-09-02  Theodore Tso  <tytso@thunk.org>
163
164         * Release of E2fsprogs 1.24a
165
166 2001-08-30  Theodore Tso  <tytso@thunk.org>
167
168         * Release of E2fsprogs 1.24
169
170 2001-08-15  Theodore Tso  <tytso@valinux.com>
171
172         * Release of E2fsprogs 1.23
173
174 2001-06-23  Theodore Tso  <tytso@valinux.com>
175
176         * feature.c: Add entry in feature table to interpret
177                 EXT2_FEATURE_COMPAT_EXT_ATTR.
178
179         * Release of E2fsprogs 1.22
180
181 2001-06-15  Theodore Tso  <tytso@valinux.com>
182
183         * Release of E2fsprogs 1.21
184
185 2001-06-01  Theodore Tso  <tytso@valinux.com>
186
187         * Makefile.in, uuid.c: Move include/asm/types.h.in to
188                 lib/ext2fs/ext2_types.h.in.
189
190 2001-05-25  Theodore Tso  <tytso@valinux.com>
191
192         * Release of E2fsprogs 1.20
193
194 2001-05-20  Theodore Tso  <tytso@valinux.com>
195
196         * e2p.h: #include <> instead of "" for ext2fs and et header files,
197                 since they will be installed in /usr/include
198
199 2001-05-14  Theodore Tso  <tytso@valinux.com>
200
201         * e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
202
203 2001-05-11  Andreas Dilger  <adilger@turbolinux.com>
204
205         * feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features
206
207 2001-05-13  Theodore Tso  <tytso@valinux.com>
208
209         * ls.c (print_features): Added missing space when printing (none)
210                 as the filesystem feature.
211                 (list_super2): If the filesystem revision is unknown, say so.
212
213 2001-01-15  Theodore Ts'o  <tytso@valinux.com>
214
215         * ls.c (list_super2): Fix bug where we were printing the
216                 filesystem UUID instead of journal UUID when trying to
217                 display the journal UUID.
218
219 2001-01-14  Theodore Ts'o  <tytso@valinux.com>
220
221         * feature.c: Remove backward compatibility #ifdef's for old
222                 ext2_fs.h header files.
223
224         * feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV
225
226 2001-01-11  Theodore Ts'o  <tytso@valinux.com>
227
228         * pf.c: Clarified name of the Compression_Raw_Access flag, and
229                 capitalized Journaled_Data.
230
231 2001-01-01    <tytso@snap.thunk.org>
232
233         * ls.c: Remove our own internal definition of struct ext2fs_sb.
234                 We can assume that ext2_super_block is always up to date.
235
236 2000-12-31    <tytso@snap.thunk.org>
237
238         * pf.c: Add code to print out the journalled data flag.
239
240 2000-12-02    <tytso@snap.thunk.org>
241
242         * fgetflags.c (fgetflags):
243         * fgetversion.c (fgetversion):
244         * fsetflags.c (fsetflags):
245         * fsetversion.c (fsetversion): Use the LFS API if available so
246                 that the files are opened with O_LARGEFILE.  Addresses
247                 Debian bug #72690.
248
249 2000-08-14    <tytso@valinux.com>
250
251         * ls.c (list_super): Use better description of s_last_orphan
252
253         * ls.c (list_super, list_super2): Added new API function which
254                 takes a FILE * so that the output can be redirected to a
255                 stream. 
256
257 2000-07-13    <tytso@valinux.com>
258
259         * Release of E2fsprogs 1.19
260
261 2000-07-06  Theodore Ts'o  <tytso@valinux.com>
262
263         * ls.c (list_super): Display the journal information fields in the
264                 superblock if the filesystem has a journal.
265
266 2000-07-04  Theodore Ts'o  <tytso@valinux.com>
267
268         * Makefile.in: Remove explicit link of -lc in the shared library.
269                 (It shouldn't be necessary, and is harmful in some cases).
270
271 2000-05-08  Theodore Ts'o  <tytso@valinux.com>
272
273         * ls.c (list_super): Change the string displayed for the Hurd to
274                 be GNU/Hurd, instead of just "GNU".
275
276 Thu Apr  6 17:38:00 2000  Theodore Y. Ts'o  <tytso@signal.thunk.org>
277
278         * feature.c: Make feature_list static; it shouldn't be exported.
279
280         * dll/jump.funcs: Update a.out shared library control file.
281
282 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
283
284         * pf.c (print_flags): Rename EXT2_NOCOMP_FL to  EXT2_NOCOMPR_FL.
285
286         * Makefile.in: Add "set -e" so that any errors in installing
287                 header files causes an immediate exit.
288
289 2000-02-10  Theodore Ts'o  <tytso@valinux.com>
290
291         * Makefile.in: Install the e2p.h header.
292         
293         * e2p.h, pf.c (print_flags): Change the third parameter of
294                 print_flags() to be an option parameter, although we only
295                 support one option at this point.
296
297         * pf.c (print_flags): Updated to use a more generic structure for
298                 storing the ext2 inode flags.  Add support for the
299                 (current) set of compression flags.  
300         
301 1999-11-19    <tytso@valinux.com>
302
303         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
304                 the source directory.
305
306 1999-11-10    <tytso@valinux.com>
307
308         * Release of E2fsprogs 1.18
309
310 1999-10-26    <tytso@valinux.com>
311
312         * Release of E2fsprogs 1.17
313
314 1999-10-26    <tytso@valinux.com>
315
316         * feature.c: Fix GCC warnings; add const to the char * types in
317                 the function prototypes for e2p_feature2string and
318                 e2p_edit_feature.
319
320 1999-10-22    <tytso@valinux.com>
321
322         * Release of E2fsprogs 1.16
323
324 1999-10-22    <tytso@valinux.com>
325
326         * feature.c (e2p_edit_feature), e2p.h: Add a new argument which
327                 allows the calling application to limit what features the
328                 user is allowed to set or clear using this function.
329                 Also add support for comma separated lists.
330
331 1999-09-07    <tytso@valinux.com>
332
333         * Makefile.in, feature.c, e2p.h: New file which is used for
334                 displaying and editing superblock feature sets.
335
336         * ls.c (print_features, list_super): Add new function
337                 print_features which is used to display the feature
338                 bits in the superblock.
339
340 1999-07-18  Theodore Ts'o  <tytso@valinux.com>
341
342         * Release of E2fsprogs 1.15
343
344 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
345
346         * Release of E2fsprogs 1.14
347
348 Mon Jan  4 02:34:53 1999  Theodore Y. Ts'o  <tytso@mit.edu>
349
350         * uuid.c: Use asm/types.h instead of linux/types.h, to be
351                 consistent with other locations where we've had to do this
352                 to work around glibc.
353
354 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
355
356         * Release of E2fsprogs 1.13
357
358 1998-12-02  Theodore Ts'o  <tytso@rsts-11.mit.edu>
359
360         * Makefile.in: Updated dependencies.
361
362 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
363
364         * Release of E2fsprogs 1.12
365
366 1998-03-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
367
368         * Makefile.in: Change to use new installation directory variables
369                 convention.  Fix uninstall rules to take $(DESTDIR) into
370                 account.
371
372 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
373
374         * getversion.c (getversion): Return 0 if there's no error.
375
376         * fgetversion.c (fgetversion): Pass the address of the temporary
377                 variable instead of the unitialized variable to the
378                 EXT2_IOC_GETVERSION ioctl.
379
380 Mon Mar  9 08:05:30 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
381
382         * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c,
383                 getflags.c, getversion.c, setflags.c, setversion.c:
384                 The ext2 version and flags ioctl's take an int *, not a
385                 long *.  Fix library to use the correct type, so we don't
386                 have problems on the Alpha.
387
388 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
389
390         * Release of E2fsprogs 1.11
391
392 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
393
394         * Release of E2fsprogs version 1.10
395
396 Wed Apr 23 22:41:55 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
397
398         * ls.c (list_super): Add #ifdef's so it will compile under 1.2.13
399
400 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
401
402         * Release of E2fsprogs version 1.09
403
404 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
405
406         * Release of E2fsprogs version 1.08
407
408 Sat Apr  5 11:48:03 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
409
410         * ls.c (list_super): Display the filesystem revision and any
411                 features that might be implemented.
412
413 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
414
415         * Release of E2fsprogs version 1.07
416
417 Thu Jan  2 00:06:29 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
418
419         * uuid.c: Include string.h, since we use memcpy().
420
421 Wed Jan  1 23:47:22 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
422
423         * ls.c (list_super): Copy times from the superblock to a time_t
424                 variable.  (The alpha has different sizes for time_t and
425                 the time in the superblock.)
426
427 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
428
429         * Release of E2fsprogs version 1.06
430
431 Sun Sep 22 16:20:12 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
432
433         * pf.c: Add support for the 'A' (no atime) flag.
434
435 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
436
437         * Release of E2fsprogs version 1.05
438
439 Sat Sep  7 14:48:35 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
440
441         * ls.c (interval_string): Pretty print the check interval.
442
443 Tue Aug  6 14:12:36 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
444
445         * ls.c (list_super): Display the OS, volume label, last mounted,
446                 and UUID field if present.
447
448 Mon Jun 24 09:55:58 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
449
450         * ps.c, pf.c, pe.c, ls.c, setversion.c, setflags.c, getversion.c, 
451                 fsetversion.c, fsetflags.c, fgetversion.c, fgetflags.c,
452                 getflags.c: Remove include of ext2_fs.h, since it's
453                 included by e2p.h; this also solves a sys/types.h vs
454                 linux/types.h inclusion ordering problem with the GNU libc.
455
456 Thu May 16 11:12:30 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
457
458         * Release of E2fsprogs version 1.04
459
460 Wed Mar 27 00:33:40 1996    <tytso@rsts-11.mit.edu>
461
462         * Release of E2fsprogs version 1.03
463
464 Wed Jan 31 11:06:08 1996    <tytso@rsts-11.mit.edu>
465
466         * Release of E2fsprogs version 1.02
467
468 Tue Jan  2 20:50:44 1996    <tytso@rsts-11.mit.edu>
469
470         * fgetflags.c (fgetflags): 
471         * fsetflags.c (fsetflags):
472         * fgetversion.c (fgetversion):
473         * fsetversion.c (fsetversion): Add the O_NONBLOCK flag to open
474                 call, so that we don't hang trying to open things like
475                 named pipes.
476
477 Mon Oct 30 17:44:07 1995    <tytso@rsts-11.mit.edu>
478
479         * ls.c (list_super): Use the correct field (s_def_resgid) when
480                 printing the reserved group gid.
481
482 Fri Oct 27 18:07:48 1995    <tytso@rsts-11.mit.edu>
483
484         * iod.c (iterate_on_dir): Don't assume that d->reclen is the size
485                 of the dirent structure; it isn't under Linux.
486
487 Mon Sep  4 21:43:53 1995  Remy Card  <card@bbj>
488
489         * Makefile.in: Added support for BSD shared libraries.
490
491 Fri Aug 11 08:36:40 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
492
493         * setflags.c: #include <sys/types.h> before including <sys/stat.h>
494
495 Sat Aug 12 03:11:45 1995  Remy Card  <card@bbj>
496
497         * Makefile.in (install): Install static libraries in $(ulibdir)
498                 (/usr/lib on Linux) instead of $(libdir) (/lib on Linux).
499
500 Sat Aug  5 11:43:36 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
501
502         * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the
503                 installation directories correctly.
504
505 Thu Jun 15 23:41:20 1995  Remy Card  <card@bbj>
506
507         * Makefile.in: Added support for ELF shared libraries.
508
509 Mon Jun 12 08:34:44 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
510
511         * e2p.h: Move <direct.h> after <stdio.h>
512
513 Thu Jun  8 12:47:04 1995  Miles Bader  <miles@churchy.gnu.ai.mit.edu>
514
515         * iod.c (iterate_on_dir): If struct dirent has a d_namlen field,
516         assume that actual dirent entries may be larger than the structure
517         (by the name field), and take extra care deal with this case.
518         This code assumes that d_reclen is a valid dirent field.
519         Also, don't include <dirent.h>, as e2p.h already does.
520
521         * fgetversion.c (fgetversion): Only use the ext2 ioctl if it
522         doesn't cause a compile-time barf, otherwise just return EOPNOTSUPP.
523         * getversion.c (getversion): Ditto.
524         * fsetversion.c (fsetversion): Ditto.
525         * setversion.c (setversion): Ditto.
526         * fsetflags.c (fsetflags): Use chflags instead of the ext2 ioctl
527         if possible, and otherwise only use the ioctl if it doesn't barf.
528         * setflags.c (setflags): Ditto (with fchflags).
529         * fgetflags.c (fgetflags): Use the stat st_flags field instead of
530         the ext2 ioctl if possible, and otherwise only use the ioctl if it
531         doesn't barf.
532         * getflags.c (getflags): Ditto.
533
534         * e2p.h: Include <sys/types.h>, as some <dirent.h>s need it.
535         * ls.c: Move the include of <sys/types.h> to where <grp.h> can see it.
536
537         * Makefile.in: Rewritten to conform to GNU coding standards and
538         support separate compilation directories.
539
540 Mon Nov  7 21:59:12 1994  Remy Card  <card@bbj>
541
542         * ls.c (list_super): List the new fields s_def_resuid and
543         s_def_resgid.
544
545         (print_user): New function which prints the uid and the user name.
546
547         (print_group): New function which prints the gid and the group name.
548
549 Wed Aug 17 21:50:39 1994  Remy Card  (card@bbj)
550
551         * pf.c (print_flags): New attributes are recognized and a long
552         format can be used.
553
554