1 2004-01-31 Theodore Ts'o <tytso@mit.edu>
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.
7 2003-08-20 Theodore Ts'o <tytso@mit.edu>
9 * ls.c (list_super2): Display the journal backup type.
11 2003-07-25 Theodore Ts'o <tytso@mit.edu>
13 * Release of E2fsprogs 1.34
15 2003-07-06 Theodore Ts'o <tytso@mit.edu>
17 * iod.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
19 2003-04-21 Theodore Ts'o <tytso@mit.edu>
21 * Release of E2fsprogs 1.33
23 2003-04-19 Theodore Ts'o <tytso@mit.edu>
25 * fgetflags.c (fgetflags), fsetflags.c (fsetflags): Remove unused
26 and useless close(fd).
28 * hashstr.c (e2p_hash2string): Remove unused variables.
30 * iod.c: Fix gcc -Wall warnings by including stdlib.h.
32 2003-04-12 Theodore Ts'o <tytso@mit.edu>
34 * iod.c (iterate_on_dir): Support systems that don't have d_reclen
37 2003-04-11 Theodore Ts'o <tytso@mit.edu>
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
44 2003-03-17 Theodore Ts'o <tytso@mit.edu>
46 * ls.c (list_super2): Display the superblock fields even if the
47 journal or the dir index feature is not enabled.
49 2002-11-09 Theodore Ts'o <tytso@mit.edu>
51 * Release of E2fsprogs 1.32
53 2002-11-08 Theodore Ts'o <tytso@mit.edu>
55 * Release of E2fsprogs 1.31
57 2002-11-08 Theodore Ts'o <tytso@mit.edu>
59 * pf.c: Print the indexed directory flag if present. Don't
60 display all of the compression flags unless compression
63 2002-10-31 Theodore Ts'o <tytso@mit.edu>
65 * Release of E2fsprogs 1.30
67 2002-11-01 Theodore Ts'o <tytso@mit.edu>
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
73 2002-10-25 Theodore Ts'o <tytso@mit.edu>
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
79 2002-10-20 Theodore Ts'o <tytso@valinux.com>
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,
86 * feature.c, ls.c (list_super2): Add support for the
87 meta_blockgroup filesystem format.
89 2002-10-15 <tytso@snap.thunk.org>
91 * ls.c (print_mntopts, list_super2): Print any default mount
92 options which the filesystem might have.
94 * e2p.h, mntopts.c: New function which converts back and forth
95 between strings and default mount options.
97 2001-09-24 Theodore Tso <tytso@mit.edu>
99 * Release of E2fsprogs 1.29
101 2001-08-31 Theodore Tso <tytso@thunk.org>
103 * Release of E2fsprogs 1.28
105 2002-08-23 Theodore Ts'o <tytso@mit.edu>
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.
111 * uuid.c (e2p_uuid2str), e2p.h: New utility function which factors
112 out some common code.
114 * hashstr.c (e2p_hash2string, e2p_string2hash): New functions
115 which convert the hash algorithm name to and from a string.
117 2002-08-17 Theodore Ts'o <tytso@mit.edu>
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).
125 2002-07-14 Theodore Ts'o <tytso@mit.edu>
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.
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
137 2002-06-15 Theodore Ts'o <tytso@mit.edu>
139 * pf.c: Changed "compressed dirty flag" from 'D' to 'Z'. Add
140 dirsync flag and assign it 'D'.
142 2002-03-08 Theodore Tso <tytso@mit.edu>
144 * Release of E2fsprogs 1.27
146 2002-02-03 Theodore Tso <tytso@thunk.org>
148 * Release of E2fsprogs 1.26
150 2001-12-16 Theodore Tso <tytso@mit.edu>
152 * pf.c: Add const to struct flags_name to avoid -Wall complaints.
154 2001-11-05 Theodore Tso <tytso@mit.edu>
156 * pf.c: Add a new file attribute, EXT2_NOTAIL_FL
158 2001-09-20 Theodore Tso <tytso@thunk.org>
160 * Release of E2fsprogs 1.25
162 2001-09-02 Theodore Tso <tytso@thunk.org>
164 * Release of E2fsprogs 1.24a
166 2001-08-30 Theodore Tso <tytso@thunk.org>
168 * Release of E2fsprogs 1.24
170 2001-08-15 Theodore Tso <tytso@valinux.com>
172 * Release of E2fsprogs 1.23
174 2001-06-23 Theodore Tso <tytso@valinux.com>
176 * feature.c: Add entry in feature table to interpret
177 EXT2_FEATURE_COMPAT_EXT_ATTR.
179 * Release of E2fsprogs 1.22
181 2001-06-15 Theodore Tso <tytso@valinux.com>
183 * Release of E2fsprogs 1.21
185 2001-06-01 Theodore Tso <tytso@valinux.com>
187 * Makefile.in, uuid.c: Move include/asm/types.h.in to
188 lib/ext2fs/ext2_types.h.in.
190 2001-05-25 Theodore Tso <tytso@valinux.com>
192 * Release of E2fsprogs 1.20
194 2001-05-20 Theodore Tso <tytso@valinux.com>
196 * e2p.h: #include <> instead of "" for ext2fs and et header files,
197 since they will be installed in /usr/include
199 2001-05-14 Theodore Tso <tytso@valinux.com>
201 * e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
203 2001-05-11 Andreas Dilger <adilger@turbolinux.com>
205 * feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features
207 2001-05-13 Theodore Tso <tytso@valinux.com>
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.
213 2001-01-15 Theodore Ts'o <tytso@valinux.com>
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.
219 2001-01-14 Theodore Ts'o <tytso@valinux.com>
221 * feature.c: Remove backward compatibility #ifdef's for old
222 ext2_fs.h header files.
224 * feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV
226 2001-01-11 Theodore Ts'o <tytso@valinux.com>
228 * pf.c: Clarified name of the Compression_Raw_Access flag, and
229 capitalized Journaled_Data.
231 2001-01-01 <tytso@snap.thunk.org>
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.
236 2000-12-31 <tytso@snap.thunk.org>
238 * pf.c: Add code to print out the journalled data flag.
240 2000-12-02 <tytso@snap.thunk.org>
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
249 2000-08-14 <tytso@valinux.com>
251 * ls.c (list_super): Use better description of s_last_orphan
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
257 2000-07-13 <tytso@valinux.com>
259 * Release of E2fsprogs 1.19
261 2000-07-06 Theodore Ts'o <tytso@valinux.com>
263 * ls.c (list_super): Display the journal information fields in the
264 superblock if the filesystem has a journal.
266 2000-07-04 Theodore Ts'o <tytso@valinux.com>
268 * Makefile.in: Remove explicit link of -lc in the shared library.
269 (It shouldn't be necessary, and is harmful in some cases).
271 2000-05-08 Theodore Ts'o <tytso@valinux.com>
273 * ls.c (list_super): Change the string displayed for the Hurd to
274 be GNU/Hurd, instead of just "GNU".
276 Thu Apr 6 17:38:00 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
278 * feature.c: Make feature_list static; it shouldn't be exported.
280 * dll/jump.funcs: Update a.out shared library control file.
282 2000-04-03 Theodore Ts'o <tytso@valinux.com>
284 * pf.c (print_flags): Rename EXT2_NOCOMP_FL to EXT2_NOCOMPR_FL.
286 * Makefile.in: Add "set -e" so that any errors in installing
287 header files causes an immediate exit.
289 2000-02-10 Theodore Ts'o <tytso@valinux.com>
291 * Makefile.in: Install the e2p.h header.
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.
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.
301 1999-11-19 <tytso@valinux.com>
303 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
304 the source directory.
306 1999-11-10 <tytso@valinux.com>
308 * Release of E2fsprogs 1.18
310 1999-10-26 <tytso@valinux.com>
312 * Release of E2fsprogs 1.17
314 1999-10-26 <tytso@valinux.com>
316 * feature.c: Fix GCC warnings; add const to the char * types in
317 the function prototypes for e2p_feature2string and
320 1999-10-22 <tytso@valinux.com>
322 * Release of E2fsprogs 1.16
324 1999-10-22 <tytso@valinux.com>
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.
331 1999-09-07 <tytso@valinux.com>
333 * Makefile.in, feature.c, e2p.h: New file which is used for
334 displaying and editing superblock feature sets.
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.
340 1999-07-18 Theodore Ts'o <tytso@valinux.com>
342 * Release of E2fsprogs 1.15
344 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
346 * Release of E2fsprogs 1.14
348 Mon Jan 4 02:34:53 1999 Theodore Y. Ts'o <tytso@mit.edu>
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.
354 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
356 * Release of E2fsprogs 1.13
358 1998-12-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
360 * Makefile.in: Updated dependencies.
362 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
364 * Release of E2fsprogs 1.12
366 1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
368 * Makefile.in: Change to use new installation directory variables
369 convention. Fix uninstall rules to take $(DESTDIR) into
372 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
374 * getversion.c (getversion): Return 0 if there's no error.
376 * fgetversion.c (fgetversion): Pass the address of the temporary
377 variable instead of the unitialized variable to the
378 EXT2_IOC_GETVERSION ioctl.
380 Mon Mar 9 08:05:30 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
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.
388 Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
390 * Release of E2fsprogs 1.11
392 Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
394 * Release of E2fsprogs version 1.10
396 Wed Apr 23 22:41:55 1997 Theodre Ts'o <tytso@localhost.mit.edu>
398 * ls.c (list_super): Add #ifdef's so it will compile under 1.2.13
400 Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
402 * Release of E2fsprogs version 1.09
404 Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
406 * Release of E2fsprogs version 1.08
408 Sat Apr 5 11:48:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
410 * ls.c (list_super): Display the filesystem revision and any
411 features that might be implemented.
413 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
415 * Release of E2fsprogs version 1.07
417 Thu Jan 2 00:06:29 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
419 * uuid.c: Include string.h, since we use memcpy().
421 Wed Jan 1 23:47:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
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.)
427 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
429 * Release of E2fsprogs version 1.06
431 Sun Sep 22 16:20:12 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
433 * pf.c: Add support for the 'A' (no atime) flag.
435 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
437 * Release of E2fsprogs version 1.05
439 Sat Sep 7 14:48:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
441 * ls.c (interval_string): Pretty print the check interval.
443 Tue Aug 6 14:12:36 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
445 * ls.c (list_super): Display the OS, volume label, last mounted,
446 and UUID field if present.
448 Mon Jun 24 09:55:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
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.
456 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
458 * Release of E2fsprogs version 1.04
460 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
462 * Release of E2fsprogs version 1.03
464 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
466 * Release of E2fsprogs version 1.02
468 Tue Jan 2 20:50:44 1996 <tytso@rsts-11.mit.edu>
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
477 Mon Oct 30 17:44:07 1995 <tytso@rsts-11.mit.edu>
479 * ls.c (list_super): Use the correct field (s_def_resgid) when
480 printing the reserved group gid.
482 Fri Oct 27 18:07:48 1995 <tytso@rsts-11.mit.edu>
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.
487 Mon Sep 4 21:43:53 1995 Remy Card <card@bbj>
489 * Makefile.in: Added support for BSD shared libraries.
491 Fri Aug 11 08:36:40 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
493 * setflags.c: #include <sys/types.h> before including <sys/stat.h>
495 Sat Aug 12 03:11:45 1995 Remy Card <card@bbj>
497 * Makefile.in (install): Install static libraries in $(ulibdir)
498 (/usr/lib on Linux) instead of $(libdir) (/lib on Linux).
500 Sat Aug 5 11:43:36 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
502 * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the
503 installation directories correctly.
505 Thu Jun 15 23:41:20 1995 Remy Card <card@bbj>
507 * Makefile.in: Added support for ELF shared libraries.
509 Mon Jun 12 08:34:44 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
511 * e2p.h: Move <direct.h> after <stdio.h>
513 Thu Jun 8 12:47:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
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.
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
532 * getflags.c (getflags): Ditto.
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.
537 * Makefile.in: Rewritten to conform to GNU coding standards and
538 support separate compilation directories.
540 Mon Nov 7 21:59:12 1994 Remy Card <card@bbj>
542 * ls.c (list_super): List the new fields s_def_resuid and
545 (print_user): New function which prints the uid and the user name.
547 (print_group): New function which prints the gid and the group name.
549 Wed Aug 17 21:50:39 1994 Remy Card (card@bbj)
551 * pf.c (print_flags): New attributes are recognized and a long