Commit Graph

516 Commits (f20d0d57f73f7eb7fc801b85921cff4a3d90e385)

Author SHA1 Message Date
Theodore Ts'o ad6783df0c ChangeLog, fsck.c:
fsck.c (execute): Fix really stupid bug in the linked list management
  	which caused fsck in parallel mode to go into an infinite loop.
ChangeLog, mke2fs.c:
  mke2fs.c (show_stats): Capitalized Hurd to make the GNU types happy.
ChangeLog, configure.in:
  configure.in: Capitalized Hurd to make the GNU folks happy.
1999-10-26 01:58:54 +00:00
Theodore Ts'o c40db6d571 ChangeLog, pass2.c, problem.c, problem.h:
problem.c, problem.h (PR_2_NULL_NAME): Add new problem code.
  pass2.c (check_dir_block): Require that the length of the directory
  	entry be at least 12 bytes.  Check to see if the filename is
  	zero-length, and flag that as an error.
1999-10-25 21:03:34 +00:00
Theodore Ts'o bac43be999 ADD TAG: E2FSPROGS-1_16 1999-10-23 04:25:48 +00:00
Theodore Ts'o 8a31ffef73 README, RELEASE-NOTES, TODO, e2fsprogs.lsm, e2fsprogs.spec, version.h:
Update for 1.16 release.
1999-10-23 03:33:15 +00:00
Theodore Ts'o 0859c04fce Makefile.in:
Update makefile dependencies for 1.16 release.
1999-10-23 03:22:38 +00:00
Theodore Ts'o 614fdfd5d9 ChangeLog:
Update for 1.16 release.
libext2fs.texinfo:
  Update version number for 1.16 release.
1999-10-23 03:19:51 +00:00
Theodore Ts'o 06968e7e27 debugfs.c:
Update to pass new required parameter to e2p_edit_features
mke2fs.8.in:
  Update man page to add explanatory note about how the default block
  size is determined.
1999-10-23 03:17:10 +00:00
Theodore Ts'o 1d0fc069af ChangeLog, com_err.3:
com_err.3: Fix to have correct #include path for com_err.h
1999-10-23 02:51:33 +00:00
Theodore Ts'o 18160d26c0 mke2fs.c, tune2fs.c:
Fixed usage messages.
1999-10-23 01:22:17 +00:00
Theodore Ts'o 06cefee50d Many files:
Update copyright statements.
1999-10-23 01:16:22 +00:00
Theodore Ts'o 896938d57e ChangeLog, Makefile.in, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c:
tune2fs.c (main): Add a new option -O which allows the user to set and
  	clear certain "safe" filsystem feature flags.  Currently, the only
  	ones which are supported for modification are sparse_superblock and
  	filetype.
  mke2fs.c (PRS): Add new option -O which allows the user to request
  	filesystems with specific filesystem options.  By default on 2.2 and
  	later systems, create filesystems that have both file type information
  	and sparse superblocks.
1999-10-23 01:04:50 +00:00
Theodore Ts'o 944ab7139a ChangeLog, e2p.h, feature.c:
feature.c (e2p_edit_feature), e2p.h: Add a new argument which allows
  	the calling application to limit what features the user is allowed to
  	set or clear using this function.  Also add support for comma
  	separated lists.
1999-10-23 01:01:09 +00:00
Theodore Ts'o e6198e5a01 ChangeLog, link.c, mkdir.c, newdir.c:
mkdir.c (ext2fs_mkdir): Pass EXT2_FT_DIR flag to ext2fs_link().
  link.c (ext2fs_link): This call now uses the low three bits of the
  	flags parameter to pass the directory filetype information; it will
  	set the directory entry FILETYPE information if the filesystem
  	supports it.
  newdir.c (ext2fs_new_dir_block): If the FILETYPE superblock option is
  	set, then create the '.' and '..' entries with the filetype set to
  	EXT2_FT_DIR.
1999-10-23 00:58:54 +00:00
Theodore Ts'o 7847c1d4ff ChangeLog, pass2.c, problem.c, problem.h:
pass2.c (check_filetype): If the filetype filesystem feature is not
  	set, and a directory entry has a dirent feature, offer to clear it
  	(since 2.0 kernels will do complain will interpret it as a very large
  	name length field).
1999-10-22 15:11:42 +00:00
Theodore Ts'o caf8ce4cc4 Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
  fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
  tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
  	format (bold option flags and italicized variables), as suggested by
  	Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
  e2fsck.8.in: Update man page to use a more standard format (bold
  	option flags and italicized variables), as suggested by Andreas Dilger
  	(adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
  uuid_generate.8.in: Update man page to use a more standard format
  	(bold option flags and italicized variables), as suggested by Andreas
  	Dilger (adilger@enel.ucalgary.ca)
1999-10-21 19:56:34 +00:00
Theodore Ts'o aa4115a47c Many files:
pass4.c (e2fsck_pass4): If an inode is set in the inode_imagic_map
  	bitmap, don't check to see if it is disconnected from the inode tree
  	(because it almost certainly will be).  Free inode_imagic_map at the
  	end of pass 4.
  pass2.c (check_dir_block, check_filetype): If the FILETYPE feature is
  	set, check the directory entry's filetype information field, and
  	fix/set it if necessary.  (e2fsck_pass2): Free the inode_reg_map
  	bitmap at the end of pass 2.
  pass1.c (e2fsck_pass1, alloc_imagic_map): Allocate and fill in
  	information for inode_reg_map and inode_imagic_map, which indicates
  	which inodes are regular files and AFS inodes, respectively.
  	Since only the master superblock is written during a restart, force
  	that superblock to be used after a restart; otherwise changes to the
  	block group descriptors end up getting ignored.
  problem.c, problemP.h: If e2fsck is run -n, make def_yn variable be 0
  	for "no".  Add support for a new flag, PR_NO_NOMSG, which supresses
  	the problem message if e2fsck is run with the -n option.
  problem.c, problem.h (PR_2_SET_FILETYPE, PR_2_BAD_FILETYPE): Add new
  	problem codes.
  message.c (expand_dirent_expression): Add support for %dt which prints
  	the dirent type information.
  e2fsck.c (e2fsck_reset_context): Free new bitmaps (inode_reg_map and
  	inode_imagic_map).
  e2fsck.h (e2fsck_t): Add new inode_reg_map and inode_magic_map to the
  	context structure.
ChangeLog, nt_io.c:
  nt_io.c: New file which supports I/O under Windows NT.
ChangeLog, gen_uuid_nt.c:
  gen_uuid_nt.c: New file which creates a UUID under Windows NT.
Many files:
  Add support for non-Unix compiles
1999-10-21 19:33:18 +00:00
Theodore Ts'o 78cf05478d ChangeLog, super.c:
super.c (check_super_block): Check to see whether the inodes_per_group
  	value in the superblock is insanely too high.
1999-10-20 18:29:18 +00:00
Theodore Ts'o 9ecd8becf4 ChangeLog, unix.c, util.c:
unix.c (PRS), util.c (ask_yn): Add #ifdef's to make e2fsprogs easier
  	to port to non-Unix platforms.
1999-10-20 18:24:31 +00:00
Theodore Ts'o c03bc4e8f2 ChangeLog, configure, configure.in:
* configure.in (HAVE_STATE_FLAGS): Check to see if st_flags is
  	actually useful (since glibc 2.1 declares it on Alpha without
  	it being usable).  Add check for signal.h header file, which
  	doesn't exist on non-unix platforms.
1999-10-20 18:20:36 +00:00
Theodore Ts'o 671cbfa9fa ChangeLog, tune2fs.c:
tune2fs.c: Fix typo (double spaces) in messages regarding changing the
  	sparse superblock option
1999-10-20 18:14:23 +00:00
Theodore Ts'o 7f4bb6c6e8 ChangeLog, fsck.c, fsck.h:
fsck.c (wait_one): If the fsck process just started, wait a second
  	before sending a SIGUSR1, to give it a chance to set the signal
  	handler; otherwise, fsck will die on an unhandled SIGUSR1.
1999-10-20 18:11:01 +00:00
Theodore Ts'o 7671433a9d ChangeLog, mke2fs.c:
Fix display bug when printing out the number of superblocks.
  Suggested by Yann Dirson.
1999-10-20 18:06:29 +00:00
Theodore Ts'o 67efcf71ab ChangeLog, expect.1, expect.2, image.gz, name:
New test case which tests duplicate '.' and '..' entries.
1999-09-16 14:20:07 +00:00
Theodore Ts'o d3aea7dc1b ChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c:
debugfs.c, debug_cmds.ct: Add new debugfs command "feature" which
  	allows the user to set or clear filesystme features.  Add the -f
  	(force) option to the open command.  Add the -h (superblock header
  	only) option to the stats command.
1999-09-14 20:55:37 +00:00
Theodore Ts'o 3a5f8eaa97 ChangeLog, expanddir.c, ext2fs.h:
ext2fs.h: Add new fields for journalling and define new feature bits
  	used by newer filesystems: IMAGIC_INODES, HAS_JOURNAL, RECOVER.
  expanddir.c (ext2fs_expand_dir, expand_dir_proc): Change where we
  	update the inode block count and size files so that the block count
  	field is updated correctly when we create an indirect block.
1999-09-14 20:21:26 +00:00
Theodore Ts'o d7b701ded6 ChangeLog, Makefile.in, e2p.h, feature.c, ls.c:
Makefile.in, feature.c, e2p.h: New file which is used for displaying
  	and editing superblock feature sets.
  ls.c (print_features, list_super): Add new function print_features
  	which is used to display the feature bits in the superblock.
1999-09-14 20:17:38 +00:00
Theodore Ts'o 2740156bd1 ChangeLog, dumpe2fs.8.in, dumpe2fs.c, mke2fs.8.in, mke2fs.c, partinfo.c:
partinfo.c: Fix minor compilation bugs pointed out by Yann Dirson.
  mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2 kernels.
  mke2fs.8.in: Add the possible valid block sizes for mke2fs.  Document
  	the -n flag, and the new defaults for the -s flag.
  dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h (header-only).
  mke2fs.c (PRS): Fix logic for turning on/off the sparse superblock option.
Many files:
  Updated copyright statements to reflect the GPL with permission of the
  original authors.
1999-09-14 20:11:19 +00:00
Theodore Ts'o c1faf9cc3a ChangeLog, pass1b.c:
pass1b.c (clone_file_block): Don't clear the dup_map flag if the block
  	also shares data with the fs metadata when the count drops to 1, since
  	the block should still be cloned, as fs metadata isn't included in the
  	count.
ChangeLog, pass3.c:
  pass3.c (adjust_inode_count): Fix bug where we didn't keep the
  	internal and external inode counts in sync when we decremented an
  	inode whose link count was already zero.  Now we skip incrementing or
  	decrementing both link counts if we would cause an overflow condition.
  	(expand_dir, expand_dir_proc): Change where we update the inode block
  	count and size files so that the block count field is updated
  	correctly when we create an indirect block.
1999-09-14 20:00:54 +00:00
Theodore Ts'o 8b25041ede ChangeLog, expect.1, expect.2, image.gz:
f_expand: Make test case better by testing increasing the size of
  	lost+found where an indirect block must be created.  Also add checks
  	to see what happens when directories are disconnected because their
  	containing directory is destroyed (turned into a socket :-)
  f_dupfsblks: Add additional test cases where files share duplicate
  	blocks with both other files and filesystem metadata.
1999-09-14 19:54:39 +00:00
Theodore Ts'o 8573470251 ChangeLog, expect:
f_swapfs: Change to deal with new dump_inode command.
1999-07-31 00:35:04 +00:00
Theodore Ts'o 55376d8729 ChangeLog, debugfs.c:
debugfs.c (dump_inode): Fix debugfs message so it is the same for when
  	compiled under either Linux 2.2 or 2.3.  This allows for the f_swapfs
  	regression test suite to work regardless of which OS e2fsprogs was
  	compiled on.
1999-07-31 00:32:57 +00:00
Theodore Ts'o 657cb97522 ChangeLog:
Add 1.15 release note to the Changelogs.
1999-07-30 23:19:10 +00:00
Theodore Ts'o bd1e9b7ca7 ADD TAG: E2FSPROGS-1_15 1999-07-20 02:02:40 +00:00
Theodore Ts'o a39f3efea1 RELEASE-NOTES, e2fsprogs.lsm, e2fsprogs.spec, version.h:
Checkin for 1.15 release.
1999-07-20 02:02:40 +00:00
Theodore Ts'o 3ac9f0efa1 Makefile.in:
Add flushb to list of files which are removed when doing a make clean.
  Add a distclean production which removes Makefile
  Add the doc substree to the clean and distclean rules.
1999-07-19 21:02:11 +00:00
Theodore Ts'o f3b3dbbe60 Makefile.in:
Fix cleanup procedure to delete subst.conf properly.
1999-07-19 16:18:52 +00:00
Theodore Ts'o 790a0ad4d5 Makefile.in:
Add resize2fs.clean to the clean list.
1999-07-19 16:16:12 +00:00
Theodore Ts'o 6676326251 Makefile.in:
Add the -f option to rm when making the distribution_tar_file.
1999-07-19 15:52:58 +00:00
Theodore Ts'o e2a99be61e ChangeLog, depfix.sed:
depfix.sed: Remove all line continuations from the dependencies; the
  	word wrapping is now done by wordwrap.pl.
README, RELEASE-NOTES, TODO, e2fsprogs.spec:
  Update for 1.15 release.
1999-07-19 15:48:08 +00:00
Theodore Ts'o 945934d58d libext2fs.texinfo:
Update for the 1.15 release.
1999-07-19 15:43:58 +00:00
Theodore Ts'o b89122fca1 fsck.8.in:
Make clear the -- is optional.
Makefile.in:
  Add makefile production for the findsuper program.  We do not build
  it by default, however.
1999-07-19 15:40:49 +00:00
Theodore Ts'o b55199eaf7 ChangeLog, unix.c:
unix.c (usage): Add minimalist emergency help to the usage message.
1999-07-19 15:37:46 +00:00
Theodore Ts'o 50787ea22e ChangeLog, fsck.8.in, fsck.c, fsck.h, mke2fs.8.in, mke2fs.c:
* mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows the
  	user to specify the how the filesystem is to be used.  Mke2fs now
  	chooses the filesystem parameters automatically based on the size of
  	the filesystem and the intended use of the filesystem.  Add new option
  	-n which simply goes through the calculations to determine the
  	parameters of the filesystem the system would make.
  * fsck.c, fsck.h: Add support for new option -C.  This option will
  	automatically manage e2fsck processes so that they will print
  	completion/progress bars.  If multiple filesystems are being checked,
  	arrange to make sure that only one e2fsck process is displaying a
  	progress bar at a time.
1999-07-19 15:30:21 +00:00
Theodore Ts'o 5596defa1e Many files:
unix.c: Add support for calculating a progress bar if the -C0 option
  	is given.  The function e2fsck_clear_progbar() clears the progress bar
  	and must be called before any message is issued.  SIGUSR1 will enable
  	the progress bar, and SIGUSR2 will disable the progress bar.  This is
  	used by fsck to handle parallel filesystem checks.  Also, set the
  	device_name from the filesystem label if it is available.
  e2fsck.h: Add new flags E2F_FLAG_PROG_BAR and E2F_FLAG_PROG_SUPRESS.
  	Add new field in the e2fsck structure which contains the last tenth of
  	a percent printed for the user.
  message.c (print_e2fsck_message): Add call to e2fsck_clear_progbar().
  pass1.c (e2fsck_pass1):
  pass2.c (e2fsck_pass2):
  pass3.c (e2fsck_pass3):
  pass4.c (e2fsck_pass4):
  pass5.c (e2fsck_pass5): Add call to e2fsck_clear_progbar when printing
  	the resource tracking information.
  pass5.c (check_block_bitmaps, check_inode_bitmaps): If there is an
  	error in the bitmaps, suppress printing the progress bar using the
  	suppression flag for the remainder of the check, in order to clean up
  	the display.
1999-07-19 15:27:37 +00:00
Theodore Ts'o 9f10a7b31e ChangeLog, badblocks.c:
badblocks.c (do_test): Don't complain if the write error occurs on a
  	non-block boundary.  This is perfectly common when using blocksizes
  	larger than 1k.
1999-07-16 10:41:36 +00:00
Theodore Ts'o 6d53db3fba RELEASE-NOTES:
Interim checkin of the release notes for 1.15
1999-07-03 20:52:21 +00:00
Theodore Ts'o 45a676b5f1 Makefile.in:
Update dependencies.
ChangeLog:
  Update ChangeLog to reflect full set of changes to configure.in
1999-07-03 20:45:28 +00:00
Theodore Ts'o 6c133523b2 ChangeLog, MCONFIG.in, configure.in, configure:
MCONFIG.in (BUILD_CC):
  configure.in (BUILD_CC): If cross compiling, find the native C
  	compiler and set it to BUILD_CC so that we can successfully build
  	util/subst.
ChangeLog, Makefile.in:
  Makefile.in (subst): Build subst using $(BUILD_CC), since it's a
  	helper program which must be built using the native C compiler during
  	a cross-compilation.
Makefile.in:
  Update dependencies.
1999-07-03 20:37:03 +00:00
Theodore Ts'o 9d564f73f5 ChangeLog, Makefile.in, configure.in, MCONFIG.in, configure, wordwrap.pl:
Makefile.in (depend): Make "make depend" at the top-level
  	automatically recurse through all subdirectories.
  configure.in: Test for perl since it's needed by wordwrap.pl
  MCONFIG.in (depend): Fix make-depend so that it the dependencies are
  	automatically word-wrapped.  Added the makefile macro $(PERL).
  wordwrap.pl: New file which does the word wrapping.
1999-07-03 20:25:58 +00:00
Theodore Ts'o c54b3c3c99 ChangeLog, pass3.c:
Fix some stupid spelling typo's.
ChangeLog:
  Fix e-mail address.
1999-07-03 07:20:06 +00:00