Commit Graph

836 Commits (67052a8aeeca8cd80d1dd33c2792f917573accc8)

Author SHA1 Message Date
Theodore Ts'o 49d5ddcce3 ChangeLog, feature.c:
feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features
2001-05-13 22:21:52 +00:00
Theodore Ts'o 6d21621c0c ChangeLog, ls.c:
ls.c (print_features): Added missing space when printing (none) as the
  	filesystem feature.
  	(list_super2): If the filesystem revision is unknown, say so.
2001-05-13 22:14:53 +00:00
Theodore Ts'o 328a5ce4ae ChangeLog, journal.c:
journal.c: Code cleanup; initialize journal_enable_debug using an
  	initializer.
2001-05-13 20:21:25 +00:00
Theodore Ts'o 777ebb3e51 ChangeLog, debugfs.c:
debugfs.c (print_features): Use fputs instead of printf to output
  	using the passed-in FILE *.
2001-05-13 02:45:15 +00:00
Theodore Ts'o 6930372eff ChangeLog, fsck.c:
fsck.c (PRS): fsck -? now prints the usage message.
ChangeLog, jfs.h:
  jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; if
  	necessasry it can be set with configure --enable-jfs-debug
2001-05-12 16:12:12 +00:00
Theodore Ts'o 12da49c947 Many files:
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.
2001-05-12 15:49:17 +00:00
Theodore Ts'o 6d56d51a0a ChangeLog, chattr.1.in, lsattr.1.in, uuidgen.1.in:
chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of
  	e2fsprogs package.
2001-05-12 15:46:21 +00:00
Theodore Ts'o 14fc5a37d3 Many files:
libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
  	uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
  	uuid_time.3.in, uuid_unparse.3.in: Update URL location of e2fsprogs
  	package.
2001-05-12 15:32:46 +00:00
Theodore Ts'o fc9a69ca37 ChangeLog, unix.c:
unix.c (PRS): Skip validation of -C's file descriptor if it is zero,
  	since that is special case.
2001-05-12 13:43:46 +00:00
Theodore Ts'o d5d9215f53 changelog:
Update with 1.20 (very brief) release notes:
e2fsprogs.spec:
  Update for 1.20 release.
2001-05-11 06:19:33 +00:00
Theodore Ts'o f698d42f98 COPYING:
Add actual text for the GPL and LGPL licenses.
version.h:
  Update for WIP release
2001-05-11 05:41:37 +00:00
Theodore Ts'o 31d1d0c890 RELEASE-NOTES:
Updated release notes for 1.20 release
README:
  Update for 1.20 release.
2001-05-11 05:15:06 +00:00
Theodore Ts'o 0cf43d8bab libext2fs.texinfo:
Update for 1.20 version release.
TODO:
  Update TODO list.
2001-05-11 05:12:07 +00:00
Theodore Ts'o 2521f52ddd Makefile.in:
Update make depend information.
2001-05-11 05:04:03 +00:00
Theodore Ts'o a7de6998fb ChangeLog, random_exercise.c:
random_exercise.c: Also do some random truncating as well.
2001-05-10 21:03:38 +00:00
Theodore Ts'o 085cb19a55 ChangeLog, debugfs.c:
debugfs.c (do_write, do_mknod): Set the file type information when
  	creating the inode.
2001-05-09 06:09:12 +00:00
Theodore Ts'o f0b8c87d2a ChangeLog, super.c:
super.c (release_orphan_inodes): Add gettext quoting around
  	"Truncating" and "Clearing" for i18n.
2001-05-09 06:03:58 +00:00
Theodore Ts'o 4d8f08f458 Many files:
Added Debian directory from e2fsprogs 1.19-4
2001-05-09 04:51:07 +00:00
Theodore Ts'o d71a495dd0 ChangeLog, util.c:
util.c: Use specific check for HAVE_SYS_STAT_H.
2001-05-07 16:53:26 +00:00
Theodore Ts'o 0f6794591e ChangeLog, fileio.c:
fileio.c (ext2fs_file_read): Factored out common code and cleaned up
  	function.  Fixed a bug where if there was an error reading from the
  	disk, the number of bytes read wasn't reliably set.  (Fixes Debian bug
  	#79163)
  	(ext2fs_file_write): Factored out common code and made function more
  	efficient; if writing a full block, don't bother to do a
  	read-modify-write cycle.
2001-05-05 16:42:24 +00:00
Theodore Ts'o bfcd9a116f ChangeLog, expect, name, script:
d_loaddump: New test which verifies debugfs's dump and load routines.
dirblock.c:
  Fix misc. gcc -Wall errors
2001-05-05 16:21:48 +00:00
Theodore Ts'o d8998861a8 ChangeLog, config.guess, config.sub:
config.guess, config.sub: Update to use latest version from FSF
  	(2001-04-20)
2001-05-05 06:49:27 +00:00
Theodore Ts'o e39ac92269 ChangeLog, util.c:
util.c (fatal_error): Use the correct magic number when checking the
  	magic number for the io_channel data structure.  Also remove
  	extraneous call to io_channel_flush() that was left over from an
  	editing session.
2001-05-05 06:47:24 +00:00
Theodore Ts'o 609c9d0f49 ChangeLog, fsck.8.in:
fsck.8.in: Add explicit language to describe how options get passed to
  	filesystem-specific checkers.
2001-05-05 06:45:05 +00:00
Theodore Ts'o cd130a0887 ChangeLog, badblocks.8.in, badblocks.c:
badblocks.8.in: Fixed man page to describe the first optional
  	parameter to badblocks as last_block, instead of num_blocks.  (Debian
  	nbug #87216)
  badblocks.c: Change the blocks_count variable to be last_count, which
  	is a more accurate description of the variable.
2001-05-05 05:43:23 +00:00
Theodore Ts'o b9852cd87b ChangeLog, pass2.c:
pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors from
  	ext2fs_read_dir_block().
2001-05-05 05:14:59 +00:00
Theodore Ts'o 1cca4d6036 ChangeLog, dirblock.c:
dirblock.c (ext2fs_read_dir_block): Check for an directory record
  	length which isn't a multiple four, and treat that as an invalid.
  	Scan the directory and return an error (EXT2_ET_DIR_CORRUPTED) if the
  	directory records are orrupted.
  	(ext2fs_write_dir_block): If while byte-swapping the directory block,
  	if there's an error, abort and return EXT2_ET_DIR_CORRUPTED.
2001-05-05 05:12:14 +00:00
Theodore Ts'o 0edb4d8504 e2image.8.in:
Updates and clarifications to the manual page.
2001-05-03 16:30:48 +00:00
Theodore Ts'o a3827953b2 e2image.c:
Update copyright date.
  :
2001-05-03 16:24:57 +00:00
Theodore Ts'o 59cf7e0da8 ChangeLog, debugfs.8.in, debugfs.c:
debugfs.c (do_open_filesys, main): Add -i option which will allow
  	debugfs to examine ext2 image files.
2001-05-03 15:05:55 +00:00
Theodore Ts'o 348e43dccb ChangeLog, dumpe2fs.8.in, dumpe2fs.c:
dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs to dump
  	out the filesystem statistics from an ext2 image file.
Many files:
  e2image.8.in: New manual page
  badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in,
  	tune2fs.8.in: Update location of e2fsprogs to be
  	http://e2fsprogs.sourceforge.net.
2001-05-03 14:43:43 +00:00
Theodore Ts'o 095b459dac ChangeLog, e2image.c:
e2image.c (main): Fix format of e2image to be easier to be parse by
  	ext2fs_open().
2001-05-03 13:33:11 +00:00
Theodore Ts'o a78926effb Many files:
ext2fs.h (EXT2_FLAG_IMAGE_FILE): Add new flag, and add image_header
  	field in the ext2_filsys structure
  block.c (block_iterate_ind, block_iterate_dind, block_iterate_tind):
  inode.c (ext2fs_read_inode):
  rw_bitmaps.c (read_bitmaps):
  openfs.c (ext2fs_open): Add support for EXT2_FLAG_IMAGE_FILE
  imager.c (ext2fs_image_bitmap_read): Fix bug in imager to make sure
  	the full bitmap is saved.
2001-05-03 04:02:29 +00:00
Theodore Ts'o ae8160e692 ChangeLog, unix.c:
unix.c (PRS): Validate the completion information file descriptor so
  	that the completion bar won't get accidentally written onto the disk.
2001-05-01 21:13:37 +00:00
Theodore Ts'o 5f629b7491 ChangeLog, e2fsck.8.in:
e2fsck.8.in: Add explanation that you can use mke2fs -n -b blocksize
  	to printout alternate superblock locations.
2001-05-01 20:01:08 +00:00
Theodore Ts'o f955cc1425 ChangeLog, dir_iterate.c:
dir_iterate.c (ext2fs_process_dir_block): Add a double-check to make
  	sure the rec_len is a multiple of 4, to prevent bus-errors on
  	architectures which care about mis-aligned pointer references.
2001-05-01 19:04:28 +00:00
Theodore Ts'o 766b1e00a2 .del-ext2_fs.h~7a460879, ChangeLog:
ext2_fs.h: New feature assignments for
  	EXT2_FEATURE_COMPAT_RESIZE_INODE for Andreas Dilger and
  	EXT3_FEATURE_COMPAT_DIR_INDEX for Daniel Phillips.  Synchronize kernel
  	function prototypes (which don't matter for e2fsprogs) with Linux
  	2.4.4.
2001-05-01 16:01:34 +00:00
Theodore Ts'o 45d7086f4e ChangeLog, fsck.c:
fsck.c (device_already_active): If we're not able to determine the
  	base device, we should assume that the device is already active in
  	order to force serialization.
2001-05-01 15:44:37 +00:00
Theodore Ts'o b1416db322 ChangeLog, compare.c, gen_uuid.c, parse.c:
parse.c, compare.c: Include string.h to fix gcc -Wall complaints.
  gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors because some
  	required structures wouldn't be otherwise defined.  Fix a minor gcc
  	-Wall nit in the declaration of get_random_fd().
2001-05-01 15:32:44 +00:00
Theodore Ts'o ce57f14f40 ChangeLog, tune2fs.c:
tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for
  	backwards compatibility with older kernels).  -c 0 makes more sense to
  	users.
tune2fs.8.in:
  Update tune2fs manual papge so that it is up to date.
2001-04-26 04:25:39 +00:00
Theodore Ts'o bc57f15390 ChangeLog, unix.c:
unix.c (check_if_skip): If the max_mount_count is zero, treat it as
  	having no count set.
2001-04-26 04:11:46 +00:00
Theodore Ts'o 954a683dd0 ChangeLog, getsize.c:
getsize.c (ext2fs_get_device_size): Use an unsigned long to query the
  	device sizes using the BLKGETSIZE ioctl.
2001-04-26 01:42:37 +00:00
Theodore Ts'o 4d0f22832c ChangeLog, tune2fs.c:
tune2fs.c (remove_journal_device): If the force flag is given, tune2fs
  	will remove the journal device information from the superblock even if
  	tune2fs failed to open the journal device or otherwise other failed to
  	remove the filesystem from journal device.
  	(parse_tune2fs_options): Fix -j option so that it works (it was
  	missing the open_flag being set to EXT2_FLAG_RW).
  	(main): Accept "-U clear" to set a null UID.
2001-04-23 20:58:03 +00:00
Theodore Ts'o bd7eae169b ChangeLog, subst.conf.in:
subst.conf.in: Add definition of JDEV for mke2fs' and tune2fs' man page.
2001-04-22 20:39:07 +00:00
Theodore Ts'o 48015ced4e ChangeLog, mke2fs.8.in:
mke2fs.8.in: Manual page cleanups.  Temporarily comment out the
  	documentation for the extern journal device support.
2001-04-22 03:58:32 +00:00
Theodore Ts'o b10fd5e84e ChangeLog, mke2fs.c:
mke2fs.c (usage): Remove the deprecated -s option from the usage message.
2001-04-22 03:47:23 +00:00
Theodore Ts'o 2103ea787f ChangeLog, mke2fs.c:
mke2fs.c (main): Add better explanation about when the filesystem will
  	be checked after it is created.
2001-04-21 20:53:43 +00:00
Theodore Ts'o 913c4e9f14 ChangeLog, subst.c:
subst.c (replace_string): Fix replace_string so that it correctly
  	handles replacing a substitution variable with a zero-length string.
2001-04-17 05:05:37 +00:00
Theodore Ts'o d6a27e0048 ChangeLog, mke2fs.c:
mke2fs.c (create_journal_dev): Call ext2fs_create_journal_superblock()
  first, so if it's going to error out, the user finds out before
  waiting for the entire device to get zero'ed.
ChangeLog, util.c:
  util.c (parse_journal_opts): Remove code which allowed a bare number
  	to be treated as a journal size.
2001-04-17 02:34:41 +00:00
Theodore Ts'o 52db0b4178 ChangeLog, Makefile.in, ismounted.c:
ismounted.c (check_mntent): Check /proc/mounts on Linux systems before
  	checking /etc/mtab.  The EXT2_MF_READONLY flag is now set from the
  	/etc/mtab options field for all filesystems, not just the root
  	filesystem.  Add debugging code to make it easier to test
  	ext2fs_check_if_mounted().
2001-04-17 02:22:05 +00:00