Whamcloud - gitweb
Fix various gcc -Wall complaints.
[tools/e2fsprogs.git] / misc / ChangeLog
index 13f85bc..7c5e596 100644 (file)
@@ -1,3 +1,451 @@
+2002-03-07  Theodore Tso  <tytso@mit.edu>
+
+       * 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.)
+
+       * tune2fs.c (parse_tune2fs_options): Give an error if -O is
+               specified more than once.
+
+2001-08-10  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.8.in: Slim down text describing the -O flag to remove
+               text that erroneously implied that all features
+               (including compatible flags) aren't compatible with older
+               kernels.
+
+2001-08-09  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if
+               mke2fs -O none is specified, the sparse_super feature
+               should not be present.
+
+       * e2image.c, e2image.8.in: Add support for raw image files.
+
+2001-08-04  Andreas Dilger  <root@lynx.adilger.int>
+
+       * mke2fs.c (PRS): Put check for JOURNAL_DEV before sparse_option,
+               so we don't set the sparse superblock flag on journal devices.
+
+2001-07-31  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c (update_feature_set, remove_journal_inode): If
+               removing an in-filesystem journal, clear out the journal
+               inode and update the filesystem accounting structures so
+               we don't have to run e2fsck to clean up after ourselves
+
+2001-07-30  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c (update_feature_set): Don't require a forced fsck if
+               we're removing an external journal from a filesystem.
+
+2001-07-27  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (PRS): If the blocksize is not specified and the
+               journal device is specified, use it to determine the
+               blocksize of the new filesystem.
+
+2001-07-20  Theodore Tso  <tytso@valinux.com>
+
+       * fsck.8.in: Add much more explicit language documenting how the
+               fs_passno field in /etc/fstab is handled.  (Addresses
+               Debian bug #30833).
+
+2001-07-19  Theodore Tso  <tytso@valinux.com>
+
+       * fstype.c (identify_fs): New file which looks at the superblock
+               of the filesystem to determines its type.
+
+       * fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
+               if the type specified in /etc/fstab is "auto".
+
+2001-06-23  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.22
+
+2001-06-15  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.21
+
+2001-06-14  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (PRS): Remove unneeded test in when creating a external
+               filesystem journal.
+
+2001-06-13  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move
+               the message which displays how often the filesystem will
+               be checked from mke2fs into a utility subroutine.  Then
+               cause tune2fs to call that function to display the message
+               after adding a journal to a filesystem.
+
+       * mke2fs.8.in: Add manual page fixups and explanation for why it's
+               good to check filesystems periodically from Andreas
+               Dilger.
+
+       * Makefile.in: Don't build e2image if --disable-imager is
+               specified to configure.
+
+2001-06-12  Theodore Tso  <tytso@valinux.com>
+
+       * dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not
+               we're (not) using i386 byte order.
+
+       * dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks
+               function, and use the ext2fs_badblocks_* functions
+               instead.
+
+       * fsck.c (device_already_active): Fixed bug which can cause fsck
+               to core dump if there are a mix of devices with standard
+               and non-standard names.  (Addresses Debian bug #100559)
+
+2001-06-07  Theodore Tso  <tytso@valinux.com>
+
+       * chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using
+               the 64-bit function, since this changes the expected size
+               of struct dirent.  Instead use lseek64 explicitly.
+
+2001-06-01  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in: Move include/asm/types.h.in to
+               lib/ext2fs/ext2_types.h.in.
+
+2001-05-25  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.20
+
+2001-05-25  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c (update_feature_set): Fix capitalization typo.
+
+2001-05-23  Theodore Tso  <tytso@valinux.com>
+
+       * partinfo.c (main): Use unsigned long instead of long when
+               querying the size of a device using the BLKGETSIZE ioctl,
+               to remove the 1TB limit (and turn it into a 2TB limit :-)
+
+       * fsck.c (compile_fs_type): Fix I18N compilation bug: use N_()
+               instead of _() to initialize static variables.
+
+2001-05-20  Theodore Tso  <tytso@valinux.com>
+
+       * fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix
+               handling of -t option to be more intuitive.  Also add
+               support for the Mandrake -t loop hack.  See man page
+               for description of new -t semantics.
+
+       * fsck.c (device_already_active): Fix bug in
+               device_already_active which could cause infinite loops if
+               we don't know the base_device of the filesystem.
+
+       * fsck.c: Make sure all exit status codes returned by fsck are
+               consistent with the error codes documented in the fsck man
+               page.
+
+2001-05-14  Theodore Tso  <tytso@valinux.com>
+
+       * badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, 
+               lsattr.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c:
+               Change location of ext2_fs.h to be ext2fs/ext2_fs.h
+
+       * tune2fs.8.in: Fix typo's and make other clarifications suggested
+               by Andreas Dilger.
+
+2001-05-11  Andreas Dilger  <adilger@turbolinux.com>
+
+       * mke2fs.c: don't zap the superblock if we are running with noaction!
+               Zap the end of the device to remove stale RAID superblocks.
+
+2001-05-14  Theodore Tso  <tytso@valinux.com>
+
+       * tune2fs.c (update_feature_set): Clean up some printf messages.
+
+       * fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other
+               clarifications suggested by Andreas Dilger.
+
+2001-05-13  Theodore Tso  <tytso@valinux.com>
+
+       * mke2fs.c (PRS): Integrated changes from Andreas Dilger which
+               make the revision superblock field be set to the correct
+               value depending on if superblock features are set.
+
+2001-05-12  Theodore Tso  <tytso@valinux.com>
+
+       * fsck.c (PRS): fsck -? now prints the usage message.
+
+       * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in, 
+               mklost+found.8.in, tune2fs.8.in: Fix typo; removed
+               excess "anonymous" in the AVAILABILITY section.
+
+       * chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of
+               e2fsprogs package.
+
 2001-05-07  Theodore Tso  <tytso@valinux.com>
 
        * util.c: Use specific check for HAVE_SYS_STAT_H.
 2001-03-26  Theodore Tso  <tytso@valinux.com>
 
        * mke2fs.8.in, tune2fs.8.in: Change man paegs to document that the
-               journal must be bewteen 1024 and 10,240 file system
+               journal must be bewteen 1024 and 102,400 file system
                blocks.
 
        * mke2fs.c, tune2fs.c: Change to use figure_journal_size()
@@ -917,8 +1365,8 @@ Thu Apr  6 17:50:25 2000  Theodore Y. Ts'o  <tytso@signal.thunk.org>
 
 1999-01-05  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
-       * mke2fs.c (PRS): Allow the user to specify exactly how many
-               inodes he/she wishes.
+       * mke2fs.c (PRS): Add -N option to allow the user to specify
+               exactly how many inodes he/she wishes.
 
        * chattr.c, lsattr.c: Only print the version information for the
                program if the -V option is given.