1 2004-12-14 Theodore Ts'o <tytso@mit.edu>
3 * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro
5 2004-11-30 Theodore Ts'o <tytso@mit.edu>
7 * Makefile.in: Use Linux-kernel-style makefile output to make it
8 easier to see errors/warnings.
10 2004-11-29 Theodore Ts'o <tytso@mit.edu>
12 * feature.c: Add support for the extents filesystem feature.
14 2004-06-04 Theodore Ts'o <tytso@mit.edu>
16 * setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS
17 to deal with lame glibc's that define this function
18 without actually implementing it. Can you say "attractive
19 nuisance", boys and girls? I knew you could! (Thanks to
20 Pavel Troller for reporting this braindamage.)
22 2004-02-29 Brian Bergstrand <brian@bergstrand.org>
24 * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
27 2004-02-28 Theodore Ts'o <tytso@mit.edu>
29 * Release of E2fsprogs 1.35
31 2004-01-31 Theodore Ts'o <tytso@mit.edu>
33 * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c: Apply
34 patch from Brian Bergstrand to support ext2_ioctl() in
35 Darwin. This is implemented via the fsctl system call.
37 2003-08-20 Theodore Ts'o <tytso@mit.edu>
39 * ls.c (list_super2): Display the journal backup type.
41 2003-07-25 Theodore Ts'o <tytso@mit.edu>
43 * Release of E2fsprogs 1.34
45 2003-07-06 Theodore Ts'o <tytso@mit.edu>
47 * iod.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
49 2003-04-21 Theodore Ts'o <tytso@mit.edu>
51 * Release of E2fsprogs 1.33
53 2003-04-19 Theodore Ts'o <tytso@mit.edu>
55 * fgetflags.c (fgetflags), fsetflags.c (fsetflags): Remove unused
56 and useless close(fd).
58 * hashstr.c (e2p_hash2string): Remove unused variables.
60 * iod.c: Fix gcc -Wall warnings by including stdlib.h.
62 2003-04-12 Theodore Ts'o <tytso@mit.edu>
64 * iod.c (iterate_on_dir): Support systems that don't have d_reclen
67 2003-04-11 Theodore Ts'o <tytso@mit.edu>
69 * feature.c: Remove support for EXT2_FEATURE_RO_COMPAT_BTREE_DIR,
70 since it's not actually used, and may confuse people who
71 are looking for EXT2_FEATURE_COMPAT_DIR_INDEX, which is in
74 2003-03-17 Theodore Ts'o <tytso@mit.edu>
76 * ls.c (list_super2): Display the superblock fields even if the
77 journal or the dir index feature is not enabled.
79 2002-11-09 Theodore Ts'o <tytso@mit.edu>
81 * Release of E2fsprogs 1.32
83 2002-11-08 Theodore Ts'o <tytso@mit.edu>
85 * Release of E2fsprogs 1.31
87 2002-11-08 Theodore Ts'o <tytso@mit.edu>
89 * pf.c: Print the indexed directory flag if present. Don't
90 display all of the compression flags unless compression
93 2002-10-31 Theodore Ts'o <tytso@mit.edu>
95 * Release of E2fsprogs 1.30
97 2002-11-01 Theodore Ts'o <tytso@mit.edu>
99 * pf.c: Add support for a new inode flag, which is to be used for
100 indicating the top of directory hierarchies for the Orlov
103 2002-10-25 Theodore Ts'o <tytso@mit.edu>
105 * ls.c (list_super2): Print the s_mkfs_time field if it is
106 present. If the last mount time (s_mtime) is zero, print
109 2002-10-20 Theodore Ts'o <tytso@valinux.com>
111 * e2p.h (e2p_string2mntopt), mntopts.c, ls.c (print_mntopts):
112 Remove unneeded "compat" argument to e2p_string2mntopt().
113 Add mount options for the journal data mode (journaled,
116 * feature.c, ls.c (list_super2): Add support for the
117 meta_blockgroup filesystem format.
119 2002-10-15 <tytso@snap.thunk.org>
121 * ls.c (print_mntopts, list_super2): Print any default mount
122 options which the filesystem might have.
124 * e2p.h, mntopts.c: New function which converts back and forth
125 between strings and default mount options.
127 2001-09-24 Theodore Tso <tytso@mit.edu>
129 * Release of E2fsprogs 1.29
131 2001-08-31 Theodore Tso <tytso@thunk.org>
133 * Release of E2fsprogs 1.28
135 2002-08-23 Theodore Ts'o <tytso@mit.edu>
137 * ls.c (list_super2): Print the default hash version and the hash
138 seed for the directory indexing. Use the new e2p_uuid2str
139 function to factor out common code.
141 * uuid.c (e2p_uuid2str), e2p.h: New utility function which factors
142 out some common code.
144 * hashstr.c (e2p_hash2string, e2p_string2hash): New functions
145 which convert the hash algorithm name to and from a string.
147 2002-08-17 Theodore Ts'o <tytso@mit.edu>
149 * fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c
150 (setflags), getflags.c (getflags): Check to make sure the
151 file is a regular file or a directory before attempting to
152 use the ext2 ioctls. Otherwise, return EOPNOTSUPP.
153 (Addresses Debian Bug #152029).
155 2002-07-14 Theodore Ts'o <tytso@mit.edu>
157 * fsetflags.c (fsetflags), fgetflags.c (fgetflags,
158 fsetversion.c (fsetversion), fgetversion.c,
159 fgetversion.c: Save errno if the ioctl fails, and
160 restore it just before we return.
162 * iod.c (iterate_on_dir): Rewrite function to make it more
163 portable. We now make much fewer assumptions about nature
164 and layout of struct dirent, which will hopefully help
167 2002-06-15 Theodore Ts'o <tytso@mit.edu>
169 * pf.c: Changed "compressed dirty flag" from 'D' to 'Z'. Add
170 dirsync flag and assign it 'D'.
172 2002-03-08 Theodore Tso <tytso@mit.edu>
174 * Release of E2fsprogs 1.27
176 2002-02-03 Theodore Tso <tytso@thunk.org>
178 * Release of E2fsprogs 1.26
180 2001-12-16 Theodore Tso <tytso@mit.edu>
182 * pf.c: Add const to struct flags_name to avoid -Wall complaints.
184 2001-11-05 Theodore Tso <tytso@mit.edu>
186 * pf.c: Add a new file attribute, EXT2_NOTAIL_FL
188 2001-09-20 Theodore Tso <tytso@thunk.org>
190 * Release of E2fsprogs 1.25
192 2001-09-02 Theodore Tso <tytso@thunk.org>
194 * Release of E2fsprogs 1.24a
196 2001-08-30 Theodore Tso <tytso@thunk.org>
198 * Release of E2fsprogs 1.24
200 2001-08-15 Theodore Tso <tytso@valinux.com>
202 * Release of E2fsprogs 1.23
204 2001-06-23 Theodore Tso <tytso@valinux.com>
206 * feature.c: Add entry in feature table to interpret
207 EXT2_FEATURE_COMPAT_EXT_ATTR.
209 * Release of E2fsprogs 1.22
211 2001-06-15 Theodore Tso <tytso@valinux.com>
213 * Release of E2fsprogs 1.21
215 2001-06-01 Theodore Tso <tytso@valinux.com>
217 * Makefile.in, uuid.c: Move include/asm/types.h.in to
218 lib/ext2fs/ext2_types.h.in.
220 2001-05-25 Theodore Tso <tytso@valinux.com>
222 * Release of E2fsprogs 1.20
224 2001-05-20 Theodore Tso <tytso@valinux.com>
226 * e2p.h: #include <> instead of "" for ext2fs and et header files,
227 since they will be installed in /usr/include
229 2001-05-14 Theodore Tso <tytso@valinux.com>
231 * e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
233 2001-05-11 Andreas Dilger <adilger@turbolinux.com>
235 * feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features
237 2001-05-13 Theodore Tso <tytso@valinux.com>
239 * ls.c (print_features): Added missing space when printing (none)
240 as the filesystem feature.
241 (list_super2): If the filesystem revision is unknown, say so.
243 2001-01-15 Theodore Ts'o <tytso@valinux.com>
245 * ls.c (list_super2): Fix bug where we were printing the
246 filesystem UUID instead of journal UUID when trying to
247 display the journal UUID.
249 2001-01-14 Theodore Ts'o <tytso@valinux.com>
251 * feature.c: Remove backward compatibility #ifdef's for old
252 ext2_fs.h header files.
254 * feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV
256 2001-01-11 Theodore Ts'o <tytso@valinux.com>
258 * pf.c: Clarified name of the Compression_Raw_Access flag, and
259 capitalized Journaled_Data.
261 2001-01-01 <tytso@snap.thunk.org>
263 * ls.c: Remove our own internal definition of struct ext2fs_sb.
264 We can assume that ext2_super_block is always up to date.
266 2000-12-31 <tytso@snap.thunk.org>
268 * pf.c: Add code to print out the journalled data flag.
270 2000-12-02 <tytso@snap.thunk.org>
272 * fgetflags.c (fgetflags):
273 * fgetversion.c (fgetversion):
274 * fsetflags.c (fsetflags):
275 * fsetversion.c (fsetversion): Use the LFS API if available so
276 that the files are opened with O_LARGEFILE. Addresses
279 2000-08-14 <tytso@valinux.com>
281 * ls.c (list_super): Use better description of s_last_orphan
283 * ls.c (list_super, list_super2): Added new API function which
284 takes a FILE * so that the output can be redirected to a
287 2000-07-13 <tytso@valinux.com>
289 * Release of E2fsprogs 1.19
291 2000-07-06 Theodore Ts'o <tytso@valinux.com>
293 * ls.c (list_super): Display the journal information fields in the
294 superblock if the filesystem has a journal.
296 2000-07-04 Theodore Ts'o <tytso@valinux.com>
298 * Makefile.in: Remove explicit link of -lc in the shared library.
299 (It shouldn't be necessary, and is harmful in some cases).
301 2000-05-08 Theodore Ts'o <tytso@valinux.com>
303 * ls.c (list_super): Change the string displayed for the Hurd to
304 be GNU/Hurd, instead of just "GNU".
306 Thu Apr 6 17:38:00 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
308 * feature.c: Make feature_list static; it shouldn't be exported.
310 * dll/jump.funcs: Update a.out shared library control file.
312 2000-04-03 Theodore Ts'o <tytso@valinux.com>
314 * pf.c (print_flags): Rename EXT2_NOCOMP_FL to EXT2_NOCOMPR_FL.
316 * Makefile.in: Add "set -e" so that any errors in installing
317 header files causes an immediate exit.
319 2000-02-10 Theodore Ts'o <tytso@valinux.com>
321 * Makefile.in: Install the e2p.h header.
323 * e2p.h, pf.c (print_flags): Change the third parameter of
324 print_flags() to be an option parameter, although we only
325 support one option at this point.
327 * pf.c (print_flags): Updated to use a more generic structure for
328 storing the ext2 inode flags. Add support for the
329 (current) set of compression flags.
331 1999-11-19 <tytso@valinux.com>
333 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
334 the source directory.
336 1999-11-10 <tytso@valinux.com>
338 * Release of E2fsprogs 1.18
340 1999-10-26 <tytso@valinux.com>
342 * Release of E2fsprogs 1.17
344 1999-10-26 <tytso@valinux.com>
346 * feature.c: Fix GCC warnings; add const to the char * types in
347 the function prototypes for e2p_feature2string and
350 1999-10-22 <tytso@valinux.com>
352 * Release of E2fsprogs 1.16
354 1999-10-22 <tytso@valinux.com>
356 * feature.c (e2p_edit_feature), e2p.h: Add a new argument which
357 allows the calling application to limit what features the
358 user is allowed to set or clear using this function.
359 Also add support for comma separated lists.
361 1999-09-07 <tytso@valinux.com>
363 * Makefile.in, feature.c, e2p.h: New file which is used for
364 displaying and editing superblock feature sets.
366 * ls.c (print_features, list_super): Add new function
367 print_features which is used to display the feature
368 bits in the superblock.
370 1999-07-18 Theodore Ts'o <tytso@valinux.com>
372 * Release of E2fsprogs 1.15
374 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
376 * Release of E2fsprogs 1.14
378 Mon Jan 4 02:34:53 1999 Theodore Y. Ts'o <tytso@mit.edu>
380 * uuid.c: Use asm/types.h instead of linux/types.h, to be
381 consistent with other locations where we've had to do this
382 to work around glibc.
384 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
386 * Release of E2fsprogs 1.13
388 1998-12-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
390 * Makefile.in: Updated dependencies.
392 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
394 * Release of E2fsprogs 1.12
396 1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
398 * Makefile.in: Change to use new installation directory variables
399 convention. Fix uninstall rules to take $(DESTDIR) into
402 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
404 * getversion.c (getversion): Return 0 if there's no error.
406 * fgetversion.c (fgetversion): Pass the address of the temporary
407 variable instead of the unitialized variable to the
408 EXT2_IOC_GETVERSION ioctl.
410 Mon Mar 9 08:05:30 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
412 * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c,
413 getflags.c, getversion.c, setflags.c, setversion.c:
414 The ext2 version and flags ioctl's take an int *, not a
415 long *. Fix library to use the correct type, so we don't
416 have problems on the Alpha.
418 Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
420 * Release of E2fsprogs 1.11
422 Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
424 * Release of E2fsprogs version 1.10
426 Wed Apr 23 22:41:55 1997 Theodre Ts'o <tytso@localhost.mit.edu>
428 * ls.c (list_super): Add #ifdef's so it will compile under 1.2.13
430 Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
432 * Release of E2fsprogs version 1.09
434 Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
436 * Release of E2fsprogs version 1.08
438 Sat Apr 5 11:48:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
440 * ls.c (list_super): Display the filesystem revision and any
441 features that might be implemented.
443 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
445 * Release of E2fsprogs version 1.07
447 Thu Jan 2 00:06:29 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
449 * uuid.c: Include string.h, since we use memcpy().
451 Wed Jan 1 23:47:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
453 * ls.c (list_super): Copy times from the superblock to a time_t
454 variable. (The alpha has different sizes for time_t and
455 the time in the superblock.)
457 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
459 * Release of E2fsprogs version 1.06
461 Sun Sep 22 16:20:12 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
463 * pf.c: Add support for the 'A' (no atime) flag.
465 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
467 * Release of E2fsprogs version 1.05
469 Sat Sep 7 14:48:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
471 * ls.c (interval_string): Pretty print the check interval.
473 Tue Aug 6 14:12:36 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
475 * ls.c (list_super): Display the OS, volume label, last mounted,
476 and UUID field if present.
478 Mon Jun 24 09:55:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
480 * ps.c, pf.c, pe.c, ls.c, setversion.c, setflags.c, getversion.c,
481 fsetversion.c, fsetflags.c, fgetversion.c, fgetflags.c,
482 getflags.c: Remove include of ext2_fs.h, since it's
483 included by e2p.h; this also solves a sys/types.h vs
484 linux/types.h inclusion ordering problem with the GNU libc.
486 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
488 * Release of E2fsprogs version 1.04
490 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
492 * Release of E2fsprogs version 1.03
494 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
496 * Release of E2fsprogs version 1.02
498 Tue Jan 2 20:50:44 1996 <tytso@rsts-11.mit.edu>
500 * fgetflags.c (fgetflags):
501 * fsetflags.c (fsetflags):
502 * fgetversion.c (fgetversion):
503 * fsetversion.c (fsetversion): Add the O_NONBLOCK flag to open
504 call, so that we don't hang trying to open things like
507 Mon Oct 30 17:44:07 1995 <tytso@rsts-11.mit.edu>
509 * ls.c (list_super): Use the correct field (s_def_resgid) when
510 printing the reserved group gid.
512 Fri Oct 27 18:07:48 1995 <tytso@rsts-11.mit.edu>
514 * iod.c (iterate_on_dir): Don't assume that d->reclen is the size
515 of the dirent structure; it isn't under Linux.
517 Mon Sep 4 21:43:53 1995 Remy Card <card@bbj>
519 * Makefile.in: Added support for BSD shared libraries.
521 Fri Aug 11 08:36:40 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
523 * setflags.c: #include <sys/types.h> before including <sys/stat.h>
525 Sat Aug 12 03:11:45 1995 Remy Card <card@bbj>
527 * Makefile.in (install): Install static libraries in $(ulibdir)
528 (/usr/lib on Linux) instead of $(libdir) (/lib on Linux).
530 Sat Aug 5 11:43:36 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
532 * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the
533 installation directories correctly.
535 Thu Jun 15 23:41:20 1995 Remy Card <card@bbj>
537 * Makefile.in: Added support for ELF shared libraries.
539 Mon Jun 12 08:34:44 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
541 * e2p.h: Move <direct.h> after <stdio.h>
543 Thu Jun 8 12:47:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
545 * iod.c (iterate_on_dir): If struct dirent has a d_namlen field,
546 assume that actual dirent entries may be larger than the structure
547 (by the name field), and take extra care deal with this case.
548 This code assumes that d_reclen is a valid dirent field.
549 Also, don't include <dirent.h>, as e2p.h already does.
551 * fgetversion.c (fgetversion): Only use the ext2 ioctl if it
552 doesn't cause a compile-time barf, otherwise just return EOPNOTSUPP.
553 * getversion.c (getversion): Ditto.
554 * fsetversion.c (fsetversion): Ditto.
555 * setversion.c (setversion): Ditto.
556 * fsetflags.c (fsetflags): Use chflags instead of the ext2 ioctl
557 if possible, and otherwise only use the ioctl if it doesn't barf.
558 * setflags.c (setflags): Ditto (with fchflags).
559 * fgetflags.c (fgetflags): Use the stat st_flags field instead of
560 the ext2 ioctl if possible, and otherwise only use the ioctl if it
562 * getflags.c (getflags): Ditto.
564 * e2p.h: Include <sys/types.h>, as some <dirent.h>s need it.
565 * ls.c: Move the include of <sys/types.h> to where <grp.h> can see it.
567 * Makefile.in: Rewritten to conform to GNU coding standards and
568 support separate compilation directories.
570 Mon Nov 7 21:59:12 1994 Remy Card <card@bbj>
572 * ls.c (list_super): List the new fields s_def_resuid and
575 (print_user): New function which prints the uid and the user name.
577 (print_group): New function which prints the gid and the group name.
579 Wed Aug 17 21:50:39 1994 Remy Card (card@bbj)
581 * pf.c (print_flags): New attributes are recognized and a long