Commit Graph

185 Commits (f35e6440ef09dca989d98213c1be62efd1ee183a)

Author SHA1 Message Date
Theodore Ts'o 9b61b8c424 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-20 14:25:23 -04:00
Theodore Ts'o da376f5a13 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-07-19 20:38:53 -04:00
Theodore Ts'o 67960139d7 Update changelogs for 1.22. 2001-06-23 00:16:37 -04:00
Theodore Ts'o f4f75bae85 ChangeLog:
Update for 1.21 release.
2001-06-16 01:14:28 +00:00
Theodore Ts'o 562ba5ecea ChangeLog, mke2fs.c:
mke2fs.c (PRS): Remove unneeded test in when creating a external
  	filesystem journal.
2001-06-14 07:05:44 +00:00
Theodore Ts'o 66cf2f6035 ChangeLog, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
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.
2001-06-14 06:42:44 +00:00
Theodore Ts'o 83d5abf1d7 ChangeLog:
Add debian bug number reference.
  Add debian bug reference.
2001-06-13 23:31:27 +00:00
Theodore Ts'o cdf186e477 ChangeLog, configure, configure.in:
configure.in: Add --disable-resizer, --disable-imager, and
  	--disable-debugfs switches, which allow people who are building boot
  	floppies to build a very restricted e2fsprogs distribution.  Note:
  	these functions limit the functions in the shared library, so beware!
Makefile.in, ChangeLog:
  Makefile.in: Don't recurse into debugfs and resize subdirectory if
  	--disable-debugfs or --disable-resizer is given as a configuration
  	option.
ChangeLog, Makefile.in:
  Makefile.in: Don't build e2image if --disable-imager is specified to
  	configure.
2001-06-13 22:16:47 +00:00
Theodore Ts'o cbbf031b6e ChangeLog, dumpe2fs.c, mke2fs.c:
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.
ChangeLog, inode.c, tst_iscan.c:
  inode.c, tst_iscan.c: Stop using the compatibility badblocks function,
  	and use the ext2fs_badblocks_* functions instead.
ChangeLog, badblocks.c:
  badblocks.c: Stop using the compatibility badblocks function, and use
  	the ext2fs_badblocks_* functions instead.
2001-06-13 00:12:04 +00:00
Theodore Ts'o 28cf9041b8 ChangeLog, fsck.c:
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.
2001-06-12 22:35:00 +00:00
Theodore Ts'o b705640ae1 ChangeLog, chattr.c, lsattr.c:
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-08 02:53:20 +00:00
Theodore Ts'o 36a23e1806 ChangeLog:
Fix typo in ChangeLog.
2001-06-02 00:54:10 +00:00
Theodore Ts'o 797f5ef14e ChangeLog, wordwrap.pl:
Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
  wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
  Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
2001-06-01 23:49:46 +00:00
Theodore Ts'o bb185861d1 e2fsprogs.lsm, version.h:
Update version string for 1.20 release
ChangeLog:
  Update Changelogs for 1.20 release.
2001-05-25 17:35:00 +00:00
Theodore Ts'o e549d0a6a8 ChangeLog, tune2fs.c:
tune2fs.c (update_feature_set): Fix capitalization typo.
2001-05-25 16:38:48 +00:00
Theodore Ts'o a9bc79add1 ChangeLog, partinfo.c:
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 :-)
2001-05-23 22:29:22 +00:00
Theodore Ts'o c7a24e461e ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead
  	of _() to initialize static variables.
2001-05-23 22:26:39 +00:00
Theodore Ts'o 10a32f1e03 ChangeLog, fsck.8.in, fsck.c:
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.
2001-05-21 02:15:15 +00:00
Theodore Ts'o 9164b862ff ChangeLog, fsck.c:
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.
2001-05-21 01:41:37 +00:00
Theodore Ts'o 07025aea9b ChangeLog, fsck.c:
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-21 01:39:02 +00:00
Theodore Ts'o 54c637d4d2 Many files:
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
ChangeLog, Makefile.in, resize2fs.h:
  resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
  debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
  e2fsck.h, scantest.c: Change location of ext2_fs.h to be
  	ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
  tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
  e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
  test_icount.c, test_rel.c: Change location of ext2_fs.h to be
  	ext2fs/ext2_fs.h
2001-05-14 11:45:38 +00:00
Theodore Ts'o 251395db0c ChangeLog, tune2fs.8.in:
tune2fs.8.in: Fix typo's and make other clarifications suggested by
  	Andreas Dilger.
2001-05-14 04:43:05 +00:00
Theodore Ts'o 1400bbb60b ChangeLog, mke2fs.c:
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 04:19:25 +00:00
Theodore Ts'o 8d6417498c ChangeLog:
Clarify some of the Changelog entries.
ChangeLog, fsck.8.in, mke2fs.8.in, tune2fs.8.in:
  fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other
  	clarifications suggested by Andreas Dilger.
ChangeLog, tune2fs.c:
  tune2fs.c (update_feature_set): Clean up some printf messages.
2001-05-14 04:12:27 +00:00
Theodore Ts'o 14bbcbc31c ChangeLog, mke2fs.c:
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-13 22:58:27 +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 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 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 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 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 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 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 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 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 1d08d9bfc2 ChangeLog, mke2fs.c, tune2fs.c:
mke2fs.c, tune2fs.c: Add newlines to error messages so that they look
  	nicer.
2001-04-17 01:01:49 +00:00
Theodore Ts'o 2537b6d0c1 ChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
ke2fs.8.in, tune2fs.8.in: Change man paegs to document that the
  journal must be bewteen 1024 and 10,240 file system blocks.
  mke2fs.c, tune2fs.c: Change to use figure_journal_size()
  util.c, util.h (figure_journal_size): Change journal_default_size into
  	routine which also converts the requested journal size into filesystem
  	blocks and does bounds checking to make sure the journal is sized
  	reasonably.  Renamed function to journal_default_size.
  	parse_journal_opts): Remove bounds check for the journal size, since
  	this is now done in figure_journal_size, and based on the number of
  	filesystem blocks, as opposed to using the absolute size of the
  	journal.
2001-03-26 20:07:13 +00:00
Theodore Ts'o 93345d1588 ChangeLog, mke2fs.c:
mke2fs.c (main): Flush out the "creating journal" message.  Also
  	handle the case where the default journal size returns zero blocks ==
  	no journal.  Print out how often the filesystem will be checked.
2001-02-17 06:09:50 +00:00
Theodore Ts'o c5423c5b3e ChangeLog, e2image.c:
e2image.c (main): Add code to write the e2image header.
ChangeLog, e2image.h:
  e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
2001-02-08 05:45:17 +00:00
Theodore Ts'o be4244bafd ChangeLog, tune2fs.8.in:
tune2fs.8.in: Update man page to reflect that 2.0.39 supports
  	sparse_super.
2001-02-08 03:28:18 +00:00
Theodore Ts'o 8b164f974d ChangeLog, dumpe2fs.c:
dumpe2fs.c (list_desc): Fix fencepost error when calculating the range
  of inode table blocks.  Add '0x' to values printed in hex.
2001-02-08 03:24:18 +00:00
Theodore Ts'o fff18b4e76 ChangeLog, chattr.c, lsattr.c:
chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of
  the LFS so that lstat will work on large files.
2001-02-08 03:06:43 +00:00
Theodore Ts'o dc2ec525f5 ChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c:
tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user interface
  	so that -J is used to specify journal options, and -j is used to
  	request creation of a journal using default values.  (This is a UI
  	change, but we haven't done a formal release, and it makes things much
  	more consistent with the rest of the options out there.)
  tune2fs.c: Add support for removing a filesystem from an external
  	journal; we correctly remove the filesystem UUID from the external
  	journal's filesystem list.
2001-01-18 01:51:15 +00:00
Theodore Ts'o 5683e6e2c7 ChangeLog, util.c, util.h:
util.h, util.c (journal_default_size): New function from Andreas
  	Dilger to calculate an appropriate default journal size given a
  	filesystem size.
  util.c (parse_journal_opts): Allow the creation of a journal as small
  	as 1MB.
2001-01-18 01:47:48 +00:00
Theodore Ts'o 020888625f ChangeLog, mkjournal.c:
mkjournal.c (ext2fs_add_journal_device): Fix bug where the device
  	number of the filesystem (instead of the journal) was being dropped
  	into s_journal_dev.
ChangeLog, dumpe2fs.c:
  dumpe2fs.c (print_journal_information): Use s_first_data_block to find
  	the correct block to read the journal superblock.
2001-01-18 01:44:19 +00:00