Commit Graph

239 Commits (ce5ee99548593426b477a554653439ff7b11face)

Author SHA1 Message Date
Theodore Ts'o ce5ee99548 ChangeLog, icheck.c:
icheck.c (do_icheck): Check to make sure the inode has valid blocks
  	before iterating over that inode's blocks.
1999-02-19 18:56:43 +00:00
Theodore Ts'o 7d5633cf6e ChangeLog, fsck.c, mke2fs.c:
fsck.c (fsck_device): Print an error message if the user passes in a
  	device or directory name which isn't found in /etc/fstab.  Allow the
  	location of /etc/fstab to be overridden by the FSTAB_FILE environment
  	variable.
  mke2fs.c (write_inode_tables): Add kludge code so that when the
  	MKE2FS_SYNC environment variable is set, mke2fs will sync every
  	MKE2FS_SYNC block groups, while it is writing out the inode tables.
  	This is to work around a VM bug in the 2.0 kernel.  I've heard a
  	report that a RAID user was able to trigger it even using a 2.2
  	kernel.
1999-02-09 08:14:28 +00:00
Theodore Ts'o ee9229993a ChangeLog, fsck.c:
fsck.c (execute, wait_one): Modified routines so that they accurately
  create an fsck_instance even when the noexecute flag is set.  This
  allows for accurate debugging of the fsck pass structure.
  (check_all): When the verbose flag is given twice, print debugging
  information about when fsck is waiting for jobs to finish.
1999-01-16 05:39:12 +00:00
Theodore Ts'o c461e16afe TODO:
Added todo file for private use.
1999-01-12 23:40:01 +00:00
Theodore Ts'o 14790ed79b Makefile.in:
Add some files to the list of files to be excluded when building a
  source distribution file.
configure:
  Update to match last configure.in changes.
RELEASE-NOTES, e2fsprogs.lsm, e2fsprogs.spec, version.h:
  Update for e2fsprogs 1.14 release.
1999-01-12 23:32:52 +00:00
Theodore Ts'o 9e51eca782 ChangeLog, message.c:
message.c (safe_print): New function which prints strings, converting
  	non-printable characters using the '^' and M-notation.  This function
  	is now used to print directory name entries and pathnames.
ChangeLog:
  Update for release of E2fsprogs 1.14.
1999-01-09 16:32:31 +00:00
Theodore Ts'o 40fa8cc9b0 ChangeLog, configure.in:
configure.in (YEAR): Allow a 4-digit year for the version date, so we
  	can be Y2K politically correct.  (The date isn't used for anything
  	except display purposes, but it should make people more comfortable to
  	not use a 2-digit date, even though it doesn't matter.)
1999-01-09 05:06:02 +00:00
Theodore Ts'o 7953f61012 ChangeLog, fsck.8.in:
fsck.8.in: Clarified and expanded the documentation for the -A switch.
1999-01-09 05:03:52 +00:00
Theodore Ts'o 665f7107c5 ChangeLog, inode.c:
inode.c (ext2fs_read_inode, ext2fs_write_inode): Check to see if the
  inode number is zero; if it's zero, return EXT2_ET_BAD_INODE_NUM.
ChangeLog, fsck.c:
  fsck.c (load_fs_info): If the pass number field is missing, it needs
  	to be treated as zero.
libext2fs.texinfo, README:
  Update for 1.14 release.
1999-01-08 13:33:39 +00:00
Theodore Ts'o 5515e6b47d ChangeLog, mke2fs.8.in, mke2fs.c:
mke2fs.c (PRS): Allow the user to specify exactly how many inodes
  	he/she wishes.
1999-01-05 07:25:06 +00:00
Theodore Ts'o a88fa0c013 ChangeLog, chattr.1.in, chattr.c, lsattr.1.in, lsattr.c:
chattr.c, lsattr.c: Only print the version information for the program
  	if the -V option is given.
  chattr.c: Ignore symbolic links when doing a recursive descent through
  	a directory.
1999-01-05 07:02:39 +00:00
Theodore Ts'o 7a46952e3f ChangeLog, initialize.c:
initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead of
  	EXT2_FIRST_INO to ensure compatibility with Linux 1.2 header files.
1999-01-04 08:50:59 +00:00
Theodore Ts'o defde7840c Makefile.in, configure.in, ChangeLog, configure:
Makefile.in: Move the generated types.h file from the linux/ directory
  	to the asm/ directory.
  configure.in: Force Solaris to never use -static, due to its dynamic
  	loader not being available to statically linked programs.  Create the
  	asm/ directory if needed.
.del-types.h.in~ca55114a, .del-ext2_fs.h~7a460879, .del-types.h.in~7a460879:
  Move the types.h header file from linux/ to asm/.
1999-01-04 07:39:19 +00:00
Theodore Ts'o 73f17cfc39 ChangeLog, unix.c:
unix.c (main): Reset the context before calling ext2fs_close(), to
  avoid referencing already freed memory.
ChangeLog, llseek.c:
  llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the non-Linux case
  	to use EINVAL by default, unless it isn't defined, in which case we
  	use EXT2_ET_INVALID_ARGUMENT instead.
ChangeLog, mk_cmds.sh.in:
  mk_cmds.sh.in: Fixed portability bug in shell script; we were
  	depending on a bash'ism.
ChangeLog, uuid.c:
  uuid.c: Use asm/types.h instead of linux/types.h, to be consistent
  	with other locations where we've had to do this to work around glibc.
1999-01-04 07:35:45 +00:00
Theodore Ts'o 04c5b028a9 ChangeLog, INSTALL.elfbin:
INSTALL.elfbin (NOTE): Add a warning that the ELF binaries assume glibc.
1999-01-02 04:15:29 +00:00
Theodore Ts'o cf554b133d ChangeLog, config.guess:
config.guess: Update with a newer version from the FSF (although I've
  	removed rms's pathetic LINUX/GNU name kludgery)
1999-01-02 04:10:33 +00:00
Theodore Ts'o 93ab9d784e ChangeLog, mke2fs.c:
mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
  	compatibility with Linux 1.2.13 header files.
ChangeLog, fsck.c:
  fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines are
  	commented out.  Also allow blank lines in the /etc/fstab file.
  	(execute): In verbose mode, print the mountpount of the filesystem
  	which we are checking (user request).
1999-01-02 04:04:42 +00:00
Theodore Ts'o 74c13d28c6 ADD TAG: E2FSPROGS-1_13 1998-12-19 08:10:58 +00:00
Theodore Ts'o 556ad1327f Many files:
Update version information in ChangeLogs, release notes,
  documentation, etc.  for release of version 1.13.
1998-12-19 08:10:58 +00:00
Theodore Ts'o 7822c1d410 ChangeLog, subst.c:
subst.c (get_subst_symbol): Add [0-9] to the list of valid characters
  	for a substitution symbol.
1998-12-19 08:08:43 +00:00
Theodore Ts'o cb62017475 ChangeLog, mke2fs.8.in:
Fixed stupid typo ("Raid options are _comma_ separated", instead of
  common seperated)
1998-12-08 02:21:29 +00:00
Theodore Ts'o 1e0a221b5d ChangeLog, Makefile.in, tst_uuid.c, uuid.h, uuid_time.c:
Makefile.in: Update version numbers of the UUID shared library, since
  	we've added a new function (uuid_time()).
  uuid_time.c: New file which returns the time field of a UUID.  (Good
  	for debugging purposes)
libext2fs.texinfo:
  Update version number for 1.13 release.
1998-12-04 08:13:52 +00:00
Theodore Ts'o d56385e77c ChangeLog, expect.1, expect.2:
f_badtable, f_illitable, f_lpf: Update to deal with the fact that
  	e2fsck will now create a lost+found directory at the end of
  	pass 3 if one isn't present.
ChangeLog:
  Oops; premature checkin of ChangeLog.
1998-12-04 06:18:58 +00:00
Theodore Ts'o dba838b09e ChangeLog, Makefile.in:
Makefile.in: Updated dependencies.
1998-12-04 06:15:12 +00:00
Theodore Ts'o 5a679c8fb1 ChangeLog, pass3.c, problem.c:
pass3.c (get_lost_and_found): If the filesystem is not opened
  	read-only, then force /lost+found to be created if it is not present.
  problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen operation.
ChangeLog, Makefile.in:
  Makefile.in: Updated dependencies.
ChangeLog, fsck.c:
  fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of relying
  	on getmntent().  This has the advantage of allowing us to properly
  	handle missing pass numbers correctly.
ChangeLog, configure.in:
  configure.in: Add paths.h to header files for which we search.
1998-12-03 16:40:38 +00:00
Theodore Ts'o 1dde43f0c1 ChangeLog, mke2fs.c, tune2fs.8.in:
tune2fs.8.in: Fix minor display bug in the nroff.
  mke2fs.c (show_stats, write_inode_tables): Use the log10 function to
  	calculate the display of block numbers so that things look nice on an
  	80 character display.
  mke2fs.c (usage): Add the sparse-super-flag to the usage message.
ChangeLog, e2fsck.c, pass1.c, pass2.c, problem.c, problem.h, unix.c:
  unix.c (main): Move ext2fs_close() after e2fsck_free_context() since
  	e2fsck_free_context may reference data in ctx->fs.
  e2fsck.c (e2fsck_reset_context): Make sure ctx->fs is non-NULL before
  	checking ctx->fs->dblist.
  pass1.c (e2fsck_pass1): Use the device check subroutine on FIFO's and
  	Socket's, so that we catch bogus immutable inodes.
  pass2.c (process_bad_inode): Process bad socket and fifo's.
  problem.h, problem.c: Define new problem codes PR_2_BAD_FIFO and
  	PR_2_BAD_SOCKET.
1998-11-14 04:18:28 +00:00
Theodore Ts'o dc1d1b26ab README:
Insert pointer to the e2fsprogs web page.
1998-11-06 19:09:33 +00:00
Theodore Ts'o 3e8ffcdfec ADD TAG: RESIZE2FS-1_03 1998-09-30 00:54:35 +00:00
Theodore Ts'o 7e71e4c545 .del-resize2fs.spec~524d144b:
Fix up version number for 1.03
ChangeLog, main.c:
  Print a feedback message stating the new size of the filesystem when
  we're through.
1998-09-30 00:54:35 +00:00
Theodore Ts'o 612ff39bfd main.c:
Remove timebomb for production version.
resize2fs.8.in, .del-version.h~524d144b:
  Update for production version of resize2fs.
1998-09-29 04:00:55 +00:00
Theodore Ts'o 8d7e83b025 ChangeLog, initialize.c:
initialize.c (ext2fs_initialize): Make sure that we allocate enough
  	inodes so that we can make a valid filesystem.
1998-09-23 00:27:26 +00:00
Theodore Ts'o 7f813ba337 ChangeLog, pass3.c, pass4.c, problem.c, problem.h, super.c:
problem.c: Add PR_3_NO_DIRINFO error code.
  super.c (check_super_value): Rename min and max to min_val and max_val
  	to avoid possible cpp macro conflicts.
  pass4.c (e2fsck_pass4): Rename max to maxgroup, to avoid possible cpp
  	macro conflicts.
  pass3.c (e2fsck_pass3): Rename max to maxdirs, to avoid possible cpp
  	macro conflicts.
  	(check_directory): Fix logic to avoid possible core dump in the
  	case of ext2fs_get_dir_info returning NULL.  (By the time we get here,
  	it should never happen, but...).  Also simply/streamline the control
  	flow of the function.
1998-09-03 01:26:03 +00:00
Theodore Ts'o 2eb374c940 Many files:
rw_bitmaps.c: Fixed signed/unsigned warnings.
  fileio.c (ext2fs_file_set_size): Remove unneeded extern from the
  	function declaration.
  dblist.c (make_dblist): Add safety check in case the dblist pointer
  	passed in is null (in which case, assign it to fs->dblist).  Fixed
  	some signed/unsigned warnings.
  bmap.c: Make addr_per_block be of type blk_t to avoid signed/unsigned
  	warnings.
  namei.c (ext2fs_follow_link): Remove uneeded extern from the function
  	declaration.
  get_pathname.c (get_pathname_proc): Use return value from
  	ext2fs_get_mem, instead of checking if &gp->name is NULL.
  dir_iterate.c (ext2fs_process_dir_block):
  dblist_dir.c (ext2fs_dblist_dir_iterate): Remove uneeded extern from
  	the function declaration.
  block.c (ext2fs_block_iterate2): If the read_inode call fails, return
  	the error directly instead of jumping to the cleanup routine, since we
  	don't need to do any cleanup.
  alloc_table.c (ext2fs_allocate_group_table): Make this function take a
  	dgrp_t for its group argument.
  ext2fs.h: Make dgrp_t an __u32 type, and make fs->desc_group_count be
  	of type dgrp_t.
1998-09-03 01:22:57 +00:00
Theodore Ts'o 1333fe9344 ChangeLog, resize2fs.c:
resize2fs.c: Rename max to max_groups and max_dirs to avoid possible
  	conflicts with a cpp macro named "max".
1998-09-03 00:26:49 +00:00
Theodore Ts'o 24fc5032b5 ChangeLog, unix.c:
unix.c (check_if_skip): Move the "not cleanly mounted" check ahead of
  	the maximal mount and too long since checked tests.
  (reserve_stdio_fds): Make sure 0,1,2 file descriptors are open, so
  	that we don't open the filesystem using the same file
  	descriptor as stdout or stderr.
1998-08-26 15:23:31 +00:00
Theodore Ts'o e7549ca628 ChangeLog, subst.c, subst.conf.in:
* subst.c: Add the ability to substitute apparent shell/make variables
  	such as ${prefix}, since this is needed to make the shell scripts work
  	correctly.
  subst.conf.in: Add ${prefix} to the list of substitutions which subst
  	should make.
1998-08-01 04:35:39 +00:00
Theodore Ts'o 169cb54646 ChangeLog, mk_cmds.sh.in:
mk_cmds.sh.in: Fix error message so that it says mk_cmds's template
  	files instead of compile_et's template files.
ChangeLog, resize2fs.h:
  resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
e2fsprogs.lsm:
  Updated for 1.12 release.
1998-08-01 04:33:31 +00:00
Theodore Ts'o f75c28de47 ChangeLog, e2fsck.c, pass2.c, pass3.c, unix.c:
pass2.c (e2fsck_pass2): Fix the progress accounting so that we get to
  	100%.
  pass3.c (e2fsck_pass3): Change progress accounting to be consistent
  	with the other e2fsck passes.
  e2fsck.c (e2fsck_run): At the end of each pass, call the progress
  	function with the pass number set to zero.
  unix.c (e2fsck_update_progress): If the pass number is zero, ignore
  	the call, since that indicates that we just want to deallocate any
  	progress structures.
emptydir.c:
  Commit partially done file.
ChangeLog, badblocks.c:
  badblocks.c (ext2fs_badblocks_list_add): Use a bigger increment than
  	10 blocks when we need to expand the size of the badblocks list.
1998-08-01 04:18:06 +00:00
Theodore Ts'o 91d6d486d2 ChangeLog, debugfs.c:
debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't displaying
  	the error message if ext2fs_read_inode() failed.
  	(do_rm): Fix similar problem for call to ext2fs_namei().
1998-08-01 01:03:39 +00:00
Theodore Ts'o 4a5fa19212 ChangeLog, .del-ChangeLog~905e7699, version.h:
Update for 1.12 release.
1998-07-09 05:42:45 +00:00
Theodore Ts'o a569671add .release-checklist:
Update procedure slightly to deal with renamed files, etc.
RELEASE-NOTES, README:
  Update for 1.12 release
1998-07-09 05:38:07 +00:00
Theodore Ts'o 8144d67995 ChangeLog, unix.c:
unix.c (main): Fix typo in checking the incompat feature set; it
  	should be checked against EXT2_LIB_FEATURE_INCOMPAT_SUPP.
1998-07-09 05:33:18 +00:00
Theodore Ts'o 6e063672fc ADD TAG: E2FSPROGS-1_12 1998-07-07 05:44:43 +00:00
Theodore Ts'o 1fad9048b5 ChangeLog, badblocks.c:
badblocks.c (test_disk): Don't clear the existing bad blocks list when
  	using e2fsck -c, since it may cause blocks with marginal errors to be
  	dropped from the bad blocks list.
1998-07-07 05:44:43 +00:00
Theodore Ts'o bcdf9e6b11 e2fsprogs.lsm:
Update sizes for 1.12 release.
1998-07-06 17:47:56 +00:00
Theodore Ts'o 49e2fc9054 name:
Fixed spelling error.
1998-07-06 14:49:09 +00:00
Theodore Ts'o 874b4d262e ChangeLog, pass1.c:
pass1.c (e2fsck_pass1): Use ext2fs_sb structure for compatibility with
  	older kernels.
1998-07-06 14:33:12 +00:00
Theodore Ts'o c9833a605c ChangeLog, script:
f_swapfs: Fix script to ignore the version string header which debugfs
  	now prints when it starts up.
libext2fs.texinfo:
  Update copyright notice and revision date.
RELEASE-NOTES, version.h:
  Update for 1.12 release.
1998-07-05 19:37:53 +00:00
Theodore Ts'o 3ba00d681d Many files:
Rename e2fsprogs-1.12.spec and e2fsprogs-1.12.lsm to e2fsprogs.spec and
  e2fsprogs.lsm respectively.  This makes it easier to track revisions
  in CVS.
.cvsignore:
  Add .cvsignore file to ingore the build directory.

.cvsignore
1998/07/04 17:55:54-00:00 tytso@mit.edu +1 -0
Add .cvsignore file to ingore the build directory.

.cvsignore
1998/07/04 17:55:53 tytso@mit.edu +0 -0
RCS to BitKeeper
1998-07-04 17:55:54 +00:00
Theodore Ts'o 33e699450b ChangeLog, libext2fs.texinfo:
libext2fs.texinfo: Update definition of ext2fs_block_iterate2.
1998-07-04 17:52:41 +00:00