Whamcloud - gitweb
Add support for the meta_blockgroup filesystem format.
[tools/e2fsprogs.git] / misc / ChangeLog
index eb45487..63f1d98 100644 (file)
@@ -1,5 +1,452 @@
+2002-10-20  Theodore Ts'o  <tytso@valinux.com>
+
+       * dumpe2fs.c (list_desc), mke2fs.c (PRS), e2image.c
+               (mark_table_blocks): Add support for the meta_blockgroup
+               filesystem format.
+
+2002-10-15    <tytso@snap.thunk.org>
+
+       * tune2fs.8.in, tune2fs.c (update_mntopts, main): Add new option
+               'o' which allows the system administrator to specify
+               default mount options.
+
+2002-10-13  Theodore Ts'o  <tytso@mit.edu>
+
+       * get_device_by_label.c (read_partitions): Use a 16k buffer to
+               read in /proc/partitions in one go.
+
+       * badblocks.c, fsck.c, fstype.c, get_device_by_label.c, 
+               tune2fs.c: Fix gcc -Wall nits.
+
+2002-10-11  Theodore Ts'o  <tytso@mit.edu>
+
+       * mklost+found.c (main): Make sure the lost+found directory is
+               created with 0700 permissions.
+
+2002-10-02  Theodore Ts'o  <tytso@mit.edu>
+
+       * e2image.c (write_raw_image_file): Handle a bad block in the
+               inode table correctly.
+
+2002-09-29  Theodore Ts'o  <tytso@mit.edu>
+
+       * get_device_by_label.c: Applied sourceforge patch #613447, which
+               adds support for reiserfs volumes for LABEL= and UUID=
+               fstab entries.
+
+       * badblocks.c (main): Appled sourceforge patch #600451, which
+               addresses sourceforge bug #600388, by AEF.  This allows
+               badblocks to work correctly on read-only devices such as
+               CD-ROM's, DVD's, etc.
+
+2002-09-24  Theodore Ts'o  <tytso@mit.edu>
+
+       * mke2fs.8.in, tune2fs.8.in: Clarify manual pages about using the
+               caret ('^') character to negate feature sets when using
+               the -O option.  Define the has_journal feature to avoid
+               confusion about what ^has_journal means.
+
+2001-09-24  Theodore Tso  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.29
+
+2002-09-24  Theodore Ts'o  <tytso@mit.edu>
+
+       * fsck.c: If the bone-headed user enters the filename twice, the
+               -R option which skips the root filesystem will skip all of
+               them.  (Addresses Debian bug #159423).  Note!  This is not
+               a precedent for dealing intelligently with any other kind
+               of doubled entry in /etc/fstab!
+
+2002-09-22  root  <tytso@mit.edu>
+
+       * mke2fs.c (main): Enable directory indexing by default.
+
+       * tune2fs.c (update_feature_set): Allow directory indexing flag to
+               be set.  If so, set the default hash to be TEA, and
+               initialize the hash seed to a random value.
+
+2002-09-21  Theodore Ts'o  <tytso@mit.edu>
+
+       * get_device_by_label.c (init_lvm): Fix bug which caused
+               LABEL='xxx' to not work correctly when using LVM.
+               (Reversed sense of error check reported by ateeq@hotpop.com)
+
+2001-08-31  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.28
+
+2002-08-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * findfs.8.in: New man page.
+
+       * tune2fs.c (do_findfs): If tune2fs is executed with argv[0] set
+               to findfs, then it will interpret argv[1] as one of
+               LABEL=xxx or UUID=xxx and translate it to a device name.
+
+       * get_device_by_label.c (uuidcache_init): Moved code which
+               interpreted /proc/partitions into read_partitions(), and
+               then added support for interpreting /proc/evms/volumes in
+               read_evms().  uuidcache_init() calls both read_evms() and
+               read_partitions().
+
+       * mke2fs.8.in: Add a common usage of the -n option.  (Addresses
+               Debian Bug #146437)
+
+       * fsck.c (main): If no filesystems are specified on the command
+               line, default to -As.  (Addresses Debian Bug #153102)
+
+       * badblocks.8.in: Clarify why it's bad to do a non-destructive
+               test on a r/o mounted filesystem.  (Addresses Debian Bug
+               #131350)
+
+       * chattr.1.in: Document the compression attribute flags E, X, and
+               Z, and explain that chattr can't set or set these flags.
+               (Addresses Debian Bug #151990)
+
+       * fsck.8.in: Fix typo in man page, and clarified text regarding
+               options specifiers for -t option.  (Addresses Debian bug 
+               #145044)
+
+       * mke2fs.c (main): If there is a problem zeroing blocks at the end
+               of the filesystem, don't abort mke2fs.  Addresses Debian
+               bug #155007.
+
+2002-08-16  Theodore Ts'o  <tytso@mit.edu>
+
+       * e2image.c (write_raw_image_file): Check for an extended
+               attribute block before checking for has_valid_blocks.
+
+2002-07-21  Theodore Ts'o  <tytso@mit.edu>
+
+       * fsck.8.in: Document new fsck exit code, FSCK_CANCELED.
+
+       * fsck.c: Trap SIGINT and SIGTERM, and relay it to all of the
+               child fsck processes.
+
+2002-07-14  Theodore Ts'o  <tytso@mit.edu>
+
+       * mke2fs.c (zap_sector): Clear the buffer *after* testing for the
+               BSD sector label.  Otherwise the first 512 bytes don't get
+               zapped.  (Addresses Debian bug #147256.)
+
+2002-07-02  Theodore Ts'o  <tytso@mit.edu>
+
+       * mke2fs.8.in: Cleaned up man page, and made it a bit more
+               OS-agnostic.  Addresses Debian bug #144621.  Hope this
+               makes the Hurd whiners happy.  :-)
+
+2002-06-28  Theodore Ts'o  <tytso@mit.edu>
+
+       * chattr.1.in: Fix man page typo.  (Addresses Debian bug #141938)
+
+2002-06-15  Theodore Ts'o  <tytso@mit.edu>
+
+       * chattr.c: Applied patch from Andrew to support the dirsync flag.
+
+2002-05-22  Andreas Dilger <adilger@clusterfs.com>
+
+       * mke2fs.c (set_fs_defaults): make the default inode ratio at most
+               one inode per block for large blocksizes.
+
+2002-05-17  Theodore Ts'o  <tytso@mit.edu>
+
+       * mke2fs.c (PRS): Determine the page size using sysconf() at
+               runtime, instead of using the Linux system header files.
+
+2002-05-16  Andreas Dilger <adilger@clusterfs.com>
+
+       * mke2fs.c (PRS): Allow blocksizes larger than 4k to be specified,
+               with warning printed and the user questioned if blocksize
+               is larger than the system's page size according to the
+               Linux kernel header files.  Added better checking for
+               valid inode sizes, and again print a warning message if
+               using a large inode size (since most kernels today don't
+               support this yet).
+       
+2002-04-30  Theodore Ts'o  <tytso@mit.edu>
+
+       * fsck.8.in: Fix typo in man page.
+
+2002-03-08  Theodore Tso  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.27
+
+2002-03-08  Theodore Tso  <tytso@mit.edu>
+
+       * mke2fs.c: Check for the BSD disklabel on all architectures, and
+               also check the byte-swapped magic number as well.
+
+2002-03-07  Theodore Tso  <tytso@mit.edu>
+
+       * mke2fs.c: Output warnings to stderr 
+               (From Philipp Thomas <pthomas@suse.de>)
+
+       * base_device.c (main): Fix gcc -Wall complaints in debug code.
+
+       * mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha.
+               (From Thorsten Kukuk <kukuk@suse.de>)
+
+2002-03-04  Philipp Thomas  <pthomas@suse.de>
+
+       * chattr.c (main), fsck.c (main), mke2fs.c (main), findsuper.c
+               (main), dumpe2fs.c (main), lsattr.c (main), partinfo.c (main),
+               tune2fs.c (main), mklost+found.c (main), badblocks.c
+               (main), e2image.c (main): Newer libintl needs LC_CTYPE to
+               be set in addition to LC_MESSAGES.
+
+2002-02-25  Andreas Dilger  <adilger@clusterfs.com>
+
+       * mke2fs.c: Add check for mkfs.ext3 and create a journal in
+               this case.
+
+2002-02-24  Theodore Tso  <tytso@mit.edu>
+
+       * Makefile.in (install): Install hard links for man pages for
+               mkfs.ext2 and mkfs.ext3.  Also install hard link for
+               mkfs.ext3.  Remove any compressed man pages before
+               installing the man pages.
+
+2002-02-23  Theodore Tso  <tytso@mit.edu>
+
+       * badblocks.8.in: Clarify man page's description of the -f option
+
+2002-02-12  Theodore Tso  <tytso@mit.edu>
+
+       * get_device_by_label.c: Since on non-STDC compilers, we define
+               away const, include get_device_by_label.h after we include
+               fsck.h.
+
+       * Makefile.in (base_device): Remove use of $<, which is
+               non-portable.
+
+2002-02-03  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.26
+
+2002-02-03  Theodore Tso  <tytso@mit.edu>
+
+       * fsck.c (interpret_type): Allow filesystems types of the form
+               "ext3,ext2", etc.
+
+       * fstype.c (identify_fs): Add support for only searching for a
+               specified list of filesystems.  Also add support for
+               identifying reiserfs filesystems.
+
+2002-01-29  Theodore Tso  <tytso@mit.edu>
+
+       * fsck.c: Allow the number of outstanding processes fs-specific
+               fsck programs to be capped via the FSCK_MAX_INST
+               envrionment variable.
+
+       * fsck.8.in: Document all of the environment variables used by fsck.
+
+2002-01-27  Theodore Tso  <tytso@mit.edu>
+
+       * tune2fs.8.in: Document the -f flag to tune2fs.
+
+2002-01-02  Theodore Tso  <tytso@mit.edu>
+
+       * badblocks.c (main): Open the device as O_RDWR if possible, since
+               fsync() isn't guaranteed to work if the filesystem is
+               opened read-only.
+
+2001-12-26  Theodore Tso  <tytso@mit.edu>
+
+       * tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add
+               support for new option, -T, which allows the user to set
+               the last checked time on the filesystem.
+
+2001-12-24  Theodore Tso  <tytso@mit.edu>
+
+       * mke2fs.c (main, test_disk): If two -c options are
+               specified, then perform a destructive read/write test
+               of the disk.
+
+       * mke2fs.8.in: Document the double -c option; also encourage users
+               to use -c instead of the -l/-L options since it's too hard
+               for users to get things like the blocksize parameter correct.
+
+       * badblocks.8.in: Encourage users to use the -c option in mke2fs
+               and e2fsck instead of running badblocks directly.
+
+       * mke2fs.c (create_lost_and_found): The lost+found directory is
+               now created with 0700 permissions, since files which get
+               dropped into that directory may have come from a protected
+               directory, and the system administrator may not deal with
+               immediately.  (Addresses Debian bug #118443)
+
+2001-12-23  Theodore Tso  <tytso@mit.edu>
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
+2001-12-22  Theodore Tso  <tytso@mit.edu>
+
+       * get_device_by_label.c (init_lvm): Add support to read out
+               information from the LVM proc hierarchy, so that the UUID
+               cache can search the LVM logical volumes for UUID's,
+               labels, etc.
+
+2001-12-21  Theodore Tso  <tytso@mit.edu>
+
+       * dumpe2fs.c (list_bad_blocks): Change to not die if the listing
+               of the bad blocks can't be found.  Slimmed down dumpe2fs
+               by eliminating duplicate code paths.  
+
+2001-12-16  Theodore Tso  <tytso@mit.edu>
+
+       * dumpe2fs.c (list_desc), fsck.c (fs_match),
+               get_device_by_label.c (get_label_uuid), 
+               mke2fs.c (set_fs_defaults, zap_sector, PRS),
+               tune2fs.c (remove_journal_device, update_feature_set),
+               util.c (figure_journal_size), util.h: Fix gcc -Wall nits.
+
+       * e2image.c (write_raw_image_file): Fix gcc -Wall nits, and use
+               the stashed inode functions to optimize away system calls.
+
+       * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
+               linux/jbd.h
+
+2001-12-02  Theodore Tso  <tytso@mit.edu>
+
+       * dumpe2fs.c: Don't print the offset to the bitmap and inode table
+               if it's negative.  Also did some generalized code clean up
+               to slim it down the support of the -x option.
+
+2001-11-24  Theodore Tso  <tytso@mit.edu>
+
+       * e2image.8.in: Fix cut-and-paste typo (Addresses Debian bug
+               #119624)
+
+2001-11-13  Theodore Tso  <tytso@mit.edu>
+
+       * util.c (check_plausibility): Use stat64 if available so that
+               check_plausibility() works with files > 2GB.
+
+2001-11-05  Theodore Tso  <tytso@mit.edu>
+
+       * chattr.1.in: Update the man page to document the EXT2_NOTAIL_FL
+               flag.
+
+       * chattr.c: Add support for the EXT2_NOTAIL_FL flag.
+
+       * fsck.c (interpret_type): If the "auto" type is specified, make
+               sure interpet_device() is called so that device
+               specifications which use LABEL= or UUID= are translated
+               into a real device name.
+
+2001-10-12  Theodore Tso  <tytso@mit.edu>
+
+       * e2image.c (output_meta_data_blocks): Optimize away excess
+               lseek() calls when creating a sparse file.  Fewer system
+               calls are a good thing.  <g>
+
+2001-10-07  Andreas Dilger  <adilger@turbolinux.com>
+
+       * mke2fs.c (main): Always exit with non-zero code in case of error.
+
+       * mke2fs.c (zap_sector): Check that buffer allocation succeeded.
+
+2001-09-20  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.25
+
+2001-09-19  Theodore Tso  <tytso@mit.edu>
+
+       * tune2fs.c (remove_journal_inode): Remove dead code that wasn't
+               in use.
+
+       * tune2fs.8.in: Update man page to reflect the fact that adding or
+               removing a journal doesn't require running e2fsck.
+
+2001-09-13  Theodore Tso  <tytso@mit.edu>
+
+       * mke2fs.c (zap_sector): Allocate sufficient space for 
+               zero-filled buffer.
+
+2001-09-02  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.24a
+
+2001-08-31  Andreas Dilger  <adilger@turbolinux.com>
+
+       * mke2fs.c (main): Fix version format string.
+
+2001-08-30  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.24
+
+2001-08-30  Theodore Tso  <tytso@valinux.com>
+
+       * badblocks.8.in: Fix spelling typo.  (Addresses Debian bug #110621)
+
+       * mke2fs.c (zap_sector): Now takes a third argument, which is how
+               many sectors to clear out.  Fixed up Andreas's patch to
+               make it a bit more efficient/compact.
+
+2001-08-30  Andreas Dilger  <adilger@turbolinux.com>
+
+       * mke2fs.c (main): Zap the second sector of the disk, along with
+               any sectors in the same filesystem block after the superblock.
+               The latter will remove (for example) swapspace signatures
+               on 4kB+ blocksize filesystems.  Also when zeroing the "end"
+               of the filesystem don't actually zero the start of a very
+               small device (less than 64 blocks).
+
+2001-08-27  Theodore Tso  <tytso@valinux.com>
+
+       * fsck.c (main): Make version display consistent with the other
+               e2fsprogs programs.
+
+       * lsattr.c, chattr.c, mke2fs.c, tune2fs.c, dumpe2fs.c, e2image.c,
+               mklost+found.c: Remove EXT2FS_VERSION from the version
+               display, since it only confuses people.
+
+2001-08-18  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c (remove_journal_device): Remove unused variable
+               check_uuid.
+
+       * get_device_by_label.h: Define function prototype for
+               copy_string(), since this was moved from fsck.c to
+               get_device_by_label.c by Andreas's BK changeset.
+
+2001-08-17  Andreas Dilger  <adilger@turbolinux.com>
+
+       * get_device_by_label.[ch], fsck.c, util.c:  New interpret_spec()
+               function in get_device_by_label.c to allow the use of
+               UUID= or LABEL= when creating filesystems which use external
+               journal dev (e.g.  mke2fs -J device=LABEL=<journal_label>).
+
+       * tune2fs.c: Use superblock s_journal_uuid to locate an external
+               journal device instead of s_journal_dev when removing it.
+               Allow opening journal devices to set the label and UUID
+               in the ext2 superblock.
+
+       * mke2fs.c, tune2fs.c: Free journal_device after use, as it is
+               malloc'd in interpret spec.
 2001-08-15  Theodore Tso  <tytso@valinux.com>
 
+       * Release of E2fsprogs 1.23
+
+2001-08-15  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c: Make sure that error messages are sent to stderr, and
+               normal messages are sent to stdout.  (Addresses Debian bug
+               #108555.)
+
+       * fsck.8.in: Fixed error in synopsis of the man page.
+
+       * fsck.c (check_all): Don't bother to interpret a device where the
+               pass number is zero.  (Addresses Debian bug #106696.)
+               (main): Print a warning message if there are no devices to
+               be checked.  (Addresses Debian bug #107458.)
+
        * mke2fs.c (PRS): Handle -O and -s options in line in the getopt
                loop, so that -s and -O handling are a bit more intuitive.
                (Not that they should be mixed anyway; -s is deprecated.)