Commit Graph

478 Commits (1f81f05a41a4ddf7a493d001be6063ac02cc5523)

Author SHA1 Message Date
Theodore Ts'o ed1b33e8fb Minor bug fixes in the blkid library.
Convert mke2fs, fsck, and tune2fs to use the blkid library.
2003-03-01 19:29:01 -05:00
Theodore Ts'o 98999c399d Rename blkid_get_devname() to blkid_get_dev(), and blkid_get_token()
to blkid_get_devname().
2003-02-16 00:47:07 -05:00
Theodore Ts'o 50b380b4d4 Wholesale changes to blkid library to simplify the implementation
and shrink its size.  Change library version to be 1.0.
2003-02-12 23:51:21 -05:00
Theodore Ts'o 19445ef970 Fixed up minor documentation issues (man page for badblocks and usage
message for e2fsck).
2003-01-29 21:04:52 -05:00
Theodore Ts'o 7a603aa89f Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
2003-01-26 01:54:39 -05:00
Theodore Ts'o e12f2ae74c Integrate new blkid library. 2003-01-23 16:45:16 -05:00
Theodore Ts'o 76ea3a2c7f fsck.c (parse_fstab_line, parse_escape): Add support for
backslash escaping in /etc/fstab.  (i.e., so that \040
	will work.)
2003-01-22 19:55:59 -05:00
Theodore Ts'o 54779c66e0 Update to deal with the fact that the INDEX_FL code in the ext2 2.4
code accidentally had the INDEX_FL backwards compatibility code
removed.   E2fsck will now fix HTREE corruptions in preen mode, and
mke2fs will not create filesystems with the dir_index flag set
by default.  (The user has to specifically request it.)
2002-11-13 07:00:16 -05:00
Theodore Ts'o 38513011b9 Update files for 1.32 release. 2002-11-09 15:00:56 -05:00
Theodore Ts'o ae65b29f11 Update files for 1.31 release. 2002-11-08 20:08:48 -05:00
Theodore Ts'o 51f8f8d260 chattr.1.in: Update man page 2002-11-08 20:02:21 -05:00
Theodore Ts'o 5d823a478f Update files for 1.30 release. 2002-11-01 02:13:53 -05:00
Theodore Ts'o a2c8bf9483 ext2_fs.h: Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
	Orlov block allocator.
2002-11-01 02:01:41 -05:00
Theodore Ts'o 15f9011add Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
Orlov block allocator.
2002-11-01 01:53:52 -05:00
Theodore Ts'o f68b3b0bda get_device_by_label.c (read_partitions): Pay attention to
partitions returned in /proc/partitions that begin with
	with the string "lvm".
2002-10-31 15:30:26 -05:00
Theodore Ts'o 482afc442d Makefile.in (install): Search all compression extensions when
deleting old man pages.
2002-10-31 03:32:34 -05:00
Theodore Ts'o 76dd5e5c28 Add support for the meta_bg feature flag to the resize2fs program.
Fix bug in meta_bg support in mke2fs, e2fsck, and dumpe2fs; we were 
incorrectly reserving the legacy block groups desriptor blocks.
2002-10-30 23:07:21 -05:00
Theodore Ts'o 1d4c7945ff fsck.c (main): Fix bug reported by Gregory Mutt. Multiple
filesystems explicitly specified on the command line were
	not being checked in parallel, due to a logic bug
	introduced in to support the FSCK_MAX_INST environment
	variable.
2002-10-28 16:52:12 -05:00
Theodore Ts'o d90a23e2f5 dumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that
if there is an error reading the block/inode bitmaps, it
	will still print out the contents of the block group
	descriptors.
2002-10-25 17:07:11 -04:00
Theodore Ts'o 2bae543eed Update man page to document the journal_* default mount options. 2002-10-25 16:21:03 -04:00
Theodore Ts'o c046ac7f2e Add support for the meta_blockgroup filesystem format. 2002-10-20 00:38:57 -04:00
Theodore Ts'o a0c3fd5e4c Add support for new feature in ext2/3 filesystems; a default mount options field
in the superblock.  Added the tune2fs '-o' option to set this field.
2002-10-15 17:43:43 -04:00
Theodore Ts'o 3e69906495 Fix gcc -Wall nits.
Fix format bug if NLS is in use.

Add extra so that the info directory looks OK on OpenWall.
2002-10-13 23:56:28 -04:00
Theodore Ts'o 64aecc4dd3 Fix bug in e2fsck and mklost+found; the lost+found directory should
created with mode 0700.
2002-10-11 17:44:12 -04:00
Theodore Ts'o 3432a916ed e2image.c (write_raw_image_file): Handle a bad block in the
inode table correctly.
2002-10-02 17:47:08 -04:00
Theodore Ts'o dbfb3f0b0c get_device_by_label.c: Applied sourceforge patch #613447, which
adds support for reiserfs volumes for LABEL= and UUID=
	fstab entries.
2002-09-29 22:42:27 -04:00
Theodore Ts'o 41ec7bb61f badblocks.c (main): Appled sourceforge patch #600451, which
addresses sourceforge bug #600388, by AEF.  This allows
	badblocks to work correctly on read-only devices such as
	CD-ROM's, DVD's, etc.
2002-09-29 22:37:40 -04:00
Theodore Ts'o 82b39c9f54 mke2fs.8.in, tune2fs.8.in: Clarify manual pages about using the
caret ('^') character to negate feature sets when using
	the -O option.  Define the has_journal feature to avoid
	confusion about what ^has_journal means.
2002-09-29 19:08:38 -04:00
Theodore Ts'o c663305947 Update for 1.29 release. 2002-09-24 01:26:50 -04:00
Theodore Ts'o 84bd550148 fsck.c: If the bone-headed user enters the filename twice, the
-R option which skips the root filesystem will skip all of
	them.  (Addresses Debian bug #159423).  Note!  This is not
	a precedent for dealing intelligently with any other kind
	of doubled entry in /etc/fstab!
2002-09-24 00:13:19 -04:00
Theodore Ts'o 843049c4db mke2fs.c (main): Enable directory indexing by default.
tune2fs.c (update_feature_set): Allow directory indexing flag to
	be set.  If so, set the default hash to be TEA, and
	initialize the hash seed to a random value.
2002-09-22 15:37:40 -04:00
Theodore Ts'o f9e4abf714 get_device_by_label.c (init_lvm): Fix bug which caused
LABEL='xxx' to not work correctly when using LVM.
	(Reversed sense of error check reported by ateeq@hotpop.com)
2002-09-21 06:46:43 -04:00
Theodore Ts'o 87ee8dcad3 Update changelogs for 1.28 release 2002-08-31 03:02:57 -04:00
Theodore Ts'o 0d608df100 Update version string for WIP release. 2002-08-18 03:38:15 -04:00
Theodore Ts'o 118d7dacc5 Add support for searching /proc/evms/volumes when interpreting
LABEL=xxx or UUID=xxx.  

Add new utility program /sbin/findfs, which interprets LABEL=xxx or
UUID=xxx, and returns the device name.  (Part of tune2fs).
2002-08-17 23:01:22 -04:00
Theodore Ts'o 1f22ce34fc mke2fs.8.in: Add a common usage of the -n option. (Addresses
Debian Bug #146437)
2002-08-17 18:16:29 -04:00
Theodore Ts'o a141135451 fsck.c (main): If no filesystems are specified on the command
line, default to -As.  (Addresses Debian Bug #153102)

badblocks.8.in: Clarify why it's bad to do a non-destructive
	test on a r/o mounted filesystem.  (Addresses Debian Bug
	#131350)
2002-08-17 17:39:39 -04:00
Theodore Ts'o 023d111e92 chattr.1.in: Document the compression attribute flags E, X, and
Z, and explain that chattr can't set or set these flags.
	(Addresses Debian Bug #151990)

fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c
	(setflags), getflags.c (getflags): Check to make sure the
	file is a regular file or a directory before attempting to
	use the ext2 ioctls.  Otherwise, return EOPNOTSUPP.
	(Addresses Debian Bug #152029).
2002-08-17 14:44:56 -04:00
Theodore Ts'o f044b4d8a0 Update and clarify man pages (addresses Debian Bug #145044).
Let e2fsck allow use of the TEA hash.

Mke2fs will no longer abort if it can't zero blocks at the end of the
filesystem.  (Addresses Debian Bug #155007)
2002-08-17 13:32:21 -04:00
Theodore Ts'o ed909bbe20 Fix up extended attribute handling in e2image, resize2fs, and in
debugfs's icheck command.
2002-08-16 17:03:59 -04:00
Theodore Ts'o 4cae04529e Add SIGINT and SIGTERM handling to fsck and e2fsck. For e2fsck,
make sure we gracefully clean up and only exit at safe points.
For fsck, we pass the SIGINT/SIGTERM signal to the child processes,
so they can do their own cleanup.
2002-07-21 14:14:03 -04:00
Theodore Ts'o 7098810daf mke2fs.c (zap_sector): Clear the buffer *after* testing for the
BSD sector label.  Otherwise the first 512 bytes don't get
	zapped.  (Addresses Debian bug #147256.)
2002-07-14 08:00:00 -04:00
Theodore Ts'o f0865ce4d6 mke2fs.8.in: Cleaned up man page, and made it a bit more
OS-agnostic.  Addresses Debian bug #144621.  Hope this
	makes the Hurd whiners happy.  :-)
2002-07-02 10:08:27 -04:00
Theodore Ts'o 5cfd7404ba chattr.1.in: Fix man page typo. (Addresses Debian bug #141938) 2002-06-28 10:47:24 -04:00
Theodore Ts'o 88372d5c4b Applied Andrew Morton's patch to support the dirsync option. 2002-06-15 18:58:39 -04:00
Andreas Dilger b21bf26778 Do sanity checking of the number of blocks and inodes in a group for
8192-byte and 16384-byte blocksize filesystems.

Change the default bytes-per-inode ratio of a new filesystem to be at most
one inode per block for large blocksizes.
2002-06-10 11:05:56 -06:00
Andreas Dilger aab6fe735d misc/mke2fs.c: Minor fix for new page size checking code. 2002-05-18 13:27:33 -06:00
Theodore Ts'o 31e29a12d1 Fix up Andreas's 8k blocksize changes to fix a number of bugs,
and to make the page size determined at run-time instead of 
compile time.
2002-05-17 10:53:07 -04:00
Andreas Dilger 932a489cdf Add support for creating and checking 8192-byte blocksize filesystems.
We complain if you try to create such a filesystem on a system with 4096
byte PAGE_SIZE.

Add checks for valid inode size for undocumented -I option.
2002-05-16 03:20:07 -06:00
Theodore Ts'o 7de6577cd9 Fix typo in man page. 2002-04-30 20:22:32 -04:00
Theodore Ts'o a8e772498c Update for 1.27 release. 2002-03-08 03:12:14 -05:00
Theodore Ts'o 7ef3bb838d mke2fs.c: Check for the BSD disklabel on all architectures, and
also check the byte-swapped magic number as well.
2002-03-08 03:01:53 -05:00
Theodore Ts'o 6693837e59 mke2fs.c: Output warnings to stderr
(From Philipp Thomas <pthomas@suse.de>)
2002-03-08 00:14:46 -05:00
Theodore Ts'o 546a1ff18c Fix various gcc -Wall complaints. 2002-03-07 23:52:56 -05:00
Theodore Ts'o 756df353e8 mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha.
(From Thorsten Kukuk <kukuk@suse.de>)
2002-03-07 20:52:12 -05:00
Theodore Ts'o 14308a5398 Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES. 2002-03-05 03:26:52 -05:00
Theodore Ts'o 57173d0feb Update Changelog messages to use tytso@mit.edu for all addresses
after September 7, 2001.  (Forgot to update my emacs file to get
rid of the tytso@valinux.com address.  Oops.)
2002-02-26 14:59:39 -05:00
Andreas Dilger 0072f8de52 Add check for mkfs.ext3 and create a journal in this case. 2002-02-25 23:11:26 -07:00
Theodore Ts'o b9f409255e Update makefiles to install mkfs.ext3, and to install man pages for
mkfs.ext2/3 and fsck.ext2/3.  Also remove any compressed man pages
before installing the man pages.
2002-02-24 03:08:57 -05:00
Theodore Ts'o 541d173d91 Update with the Debian package e2fsprogs-1.26-1.
Clarify and clean up the badblocks man page and the com_err info file.
2002-02-23 21:23:26 -05:00
Theodore Ts'o 7d4343d0d0 Lots of small random portability fixes to make e2fsprogs build
under AIX --- even without the 5L compatibility toolkit, and even
using the uber-crippled AIX native C compiler.
2002-02-12 02:34:44 -05:00
Theodore Ts'o a5f3f5c191 Update files for 1.26 release. 2002-02-03 01:00:22 -05:00
Theodore Ts'o 5599c2fa87 Changed fsck to support filesystems types in /etc/fstab of the form
"ext3,ext2", etc.

Added support for only searching for a specified list of filesystems.
	Also add support for identifying reiserfs filesystems.
2002-02-03 00:08:52 -05:00
Theodore Ts'o a1069118d4 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-29 12:49:14 -05:00
Theodore Ts'o 177ab2bebe Document the -f flag to tune2fs. 2002-01-27 18:23:49 -05:00
Andreas Dilger c713f6066c Always free vdirname. 2002-01-06 21:52:44 -07:00
Andreas Dilger c007bc06d9 Return a non-zero exit code on error. 2001-12-25 23:10:40 -07:00
Theodore Ts'o 5493a27dc1 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.
2002-01-02 14:15:35 -05:00
Theodore Ts'o d4de4aa938 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-26 08:58:01 -05:00
Theodore Ts'o 3ed57c27df In mke2fs and e2fsck, specifying the -c option twice will now do
a read/write test on the disk.  Update the man pages to encourage
using the -c option, and to discouraging running badblocks separately,
since users tend to forget to set the blocksize when running 
badblocks.
2001-12-24 15:01:59 -05:00
Theodore Ts'o 5f0fabe6db Fix broken Makefile dependencies. 2001-12-24 12:42:45 -05:00
Theodore Ts'o 6a525069a9 Mke2fs now creates the lost+found directory 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-24 09:40:00 -05:00
Theodore Ts'o 19007e51a5 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 include
search path.)
2001-12-23 19:33:51 -05:00
Theodore Ts'o eaf4dc5c98 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-22 00:04:22 -05:00
Theodore Ts'o 0655b104e6 Change dumpe2fs to not die if the listing of the bad blocks
can't be found.  Slimmed down dumpe2fs by eliminating duplicate 
code paths.
2001-12-21 23:59:46 -05:00
Theodore Ts'o 4ea7bd0439 Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogus
error message could be printed on an malloc() failure, and e2image
was optimized to avoid needless system calls by using the stashed
inode functions.
2001-12-16 23:23:37 -05:00
Theodore Ts'o 8cf93332d1 Fix e2fsck's handling of external journals,and update journal
recovery files from 2.4.17-pre8.
2001-12-16 02:23:36 -05:00
Theodore Ts'o a5f0bb9d1b Pull up dumpe2fs cleanup patch from the experimental branch. 2001-12-02 19:29:35 +01:00
Theodore Ts'o 571fc5a89c Fixes necessary for e2fsprogs to work using the diet libc.
- Renamed linux/list.h to be linux/linked_list.h to work around a
  problem caused by diet libc insistence to search the kernel
  header files ahead of all other files in the include path, 
  including the user specified include files.

- Worked around a bug in diet libc which core dumps when using 
  putc with stderr by using fputs instead.  As a bonus, this
  also shaved a few bytes off of com_err.o.

- Fixed a real bug in debugfs which was detected because diet libc
  was more sensitive than glibc when incorrectly using fclose()
  where pclose() is required.
2001-12-02 17:23:27 +01:00
Theodore Ts'o a36cf92009 e2image.8.in: Fix cut-and-paste typo (Addresses Debian bug #119624) 2001-11-24 16:13:49 -05:00
Theodore Ts'o 6ef3920a82 util.c (check_plausibility): Use stat64 if available so that
check_plausibility() works with files > 2GB.
2001-11-13 18:49:09 -05:00
Theodore Ts'o b3f5b4c229 Define a new ext2 file attribute, EXT2_NOTAIL_FL,
which signals that a particular inode should not have the
last bits of data (the "tail") be merged with another
file.  This is necessary to keep programs like LILO happy.
2001-11-05 19:22:02 -05:00
Theodore Ts'o 6430bd67ce 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-11-05 18:58:46 -05:00
Theodore Ts'o e3ef3502f7 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-11-05 18:57:43 -05:00
Andreas Dilger 568101f774 mke2fs.c(main): Always exit with non-zero code in case of error.
mke2fs.c(zap_sector): Check that buffer allocation succeeded.
2001-10-13 01:22:25 -06:00
Andreas Dilger d6903eccf9 Update findsuper to support > 2GB device sizes.
Add extra validity checks over just ext2 magic detection.
Add progress meter.
2001-10-01 15:38:14 -06:00
Theodore Ts'o fbf9111216 Update changelogs for 1.25 release. 2001-09-20 10:47:47 -04:00
Theodore Ts'o f6a6afcef4 Remove dead code that wasn't in use from tune2fs. 2001-09-19 18:27:39 -04:00
Theodore Ts'o 39567c4493 tune2fs.8.in: Update man page to reflect the fact that adding or
removing a journal doesn't require running e2fsck.
2001-09-19 15:28:21 -04:00
Theodore Ts'o 3f85f65c98 mke2fs.c (zap_sector): Allocate sufficient space for zero-filled
buffer.
2001-09-17 10:38:06 -04:00
Theodore Ts'o fb70775b0f Update for 1.24a release 2001-09-04 15:00:37 -04:00
Andreas Dilger 9d8e634632 Fix version format string. 2001-08-31 10:24:46 -06:00
Theodore Ts'o 109624a133 Update for 1.24 release. 2001-08-31 00:59:55 -04:00
Theodore Ts'o 04a968579e 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 21:55:26 -04:00
Andreas Dilger 59f27247f8 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 128kB).
2001-08-30 15:39:04 -06:00
Theodore Ts'o 177a9acef4 badblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621) 2001-08-30 18:07:40 -04:00
Theodore Ts'o 0f8973fb09 Remove EXT2FS_VERSION from the version display, since it
only confuses people.

Make fsck's version display be consistent with the other e2fsprogs
programs.
2001-08-27 12:44:23 -04:00
Theodore Ts'o 943ed874fc Add missing log entry showing when we released e2fsprogs 1.23 2001-08-27 12:29:22 -04:00
Theodore Ts'o b1c9a00071 Update makefile dependencies. 2001-08-18 14:31:41 -04:00
Theodore Ts'o e843c76016 Minor fixups to Andreas' changeset. Removed unused variable
from tune2fs and added missing function prototype.
2001-08-18 14:22:25 -04:00
Andreas Dilger 2d15576dfe 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-17 03:48:11 -06:00
Theodore Ts'o 7141b54b1a * tune2fs.c: Make sure that error messages are sent to stderr, and
normal messages are sent to stdout.  (Addresses Debian bug
	#108555.)
2001-08-15 19:17:37 -04:00
Theodore Ts'o 1d349cce2d fsck.8.in: Fixed error in synopsis of the man page. 2001-08-15 19:06:55 -04:00
Theodore Ts'o 685c13f6d7 fsck.c (main): Print a warning message if there are no devices to
be checked.  (Addresses Debian bug #107458.)
2001-08-15 19:04:59 -04:00
Theodore Ts'o 88f8af61a4 fsck.c (check_all): Don't bother to interpret a device where the
pass number is zero.  (Addresses Debian bug #106696).
2001-08-15 18:39:51 -04:00
Theodore Ts'o f3561ed519 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.)
2001-08-15 11:58:16 -04:00
Theodore Ts'o d258668d58 Give an error if -O is specified more than once to tune2fs. 2001-08-15 11:03:58 -04:00
Theodore Ts'o 085b02cba9 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-10 19:13:11 -04:00
Theodore Ts'o e8a447db42 mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs
-O none is specified, the sparse_super feature should not be present.
2001-08-09 06:13:18 -04:00
Theodore Ts'o 1c1e004924 Add support for specifiying - as the image file (to send the image
file to standard out).

Save the journal inode if it is internal to the raw image file.
2001-08-09 06:04:32 -04:00
Theodore Ts'o 6304baf255 Add support for raw image files in e2image. 2001-08-09 05:41:29 -04:00
Theodore Ts'o 8c97b0bf16 Add ChangeLog entry for changes made by Andreas Dilger 2001-08-04 21:14:45 -04:00
Andreas Dilger fa72458adb Put check for JOURNAL_DEV before sparse_option, so we don't set the
sparse superblock flag on journal devices.
2001-08-04 01:18:34 -06:00
Theodore Ts'o 194686bbae 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-31 12:03:23 -04:00
Theodore Ts'o de49f015a4 tune2fs.c (update_feature_set): Don't require a forced fsck if
we're removing an external journal from a filesystem.
2001-07-30 16:31:30 -04:00
Theodore Ts'o 77dc4eb04c mke2fs.c (PRS): If the blocksize is not specified, and the journal
device is specified, user it to determine the blocksize
	of the filesystem.
2001-07-27 22:00:18 -04:00
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 21d14ec7aa Add support for XFS filesystems. 2001-07-03 21:43:07 -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 e9a2d07171 tune2fs.8.in:
Fix minor man page nits.
2001-06-14 07:15:02 +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 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 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 6b7e807e0a uuidgen.c:
Add check for HAVE_STDLIB_H before including stdlib.h
2001-02-08 02:38:07 +00:00
Theodore Ts'o a05c589a5e Makefile.in:
Update makefile dependencies
2001-01-18 02:37:21 +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
Theodore Ts'o 16ed5b3af4 ChangeLog, Makefile.in, dumpe2fs.c, jfs_user.h, mke2fs.c, tune2fs.c:
tune2fs.c: Changed the external journal code so that it simply adds a
  	filesystem to a journal; the journal must have bene created via
  	"mke2fs -O journal_dev /dev/XXX".
  mke2fs.c: Add support for creating an external journal device by using
  	the command "mke2fs -O journal_dev /dev/XXX".  Also changed the
  	external journal code so -j device=/dev/XXX it simply adds a
  	filesystem to that journal; the journal must have been created via
  	separate step.
  dumpe2fs.c (print_journal_information): Add support for dumping
  	information about an external journal device.
2001-01-16 07:47:31 +00:00
Theodore Ts'o 44c09c0454 ChangeLog, mke2fs.8.in, mke2fs.c:
mke2fs.c: Add new filesystem types, largefile and largefile4, for
  	those filesystems whose average inode size is 1MB and 4MB,
  	respectively.  Allow the inode ratio specified to be has high as 4MB.
  	Make the s_max_mount_count vary between 20 and 40, to avoid needing to
  	check all of the filesystems at the same time.  Add some random jitter
  	to the s_max_mount_count value so that we avoid checking all of the
  	filesystems at the same time when we reboot.
2001-01-14 17:02:09 +00:00
Theodore Ts'o 08dd830ddd ChangeLog, tune2fs.8.in:
tune2fs.8.in: Add description of the -j option.
tune2fs.c:
  Minor whitespace and option ordering fixes from Andreas Dilger
2001-01-14 16:25:58 +00:00
Theodore Ts'o 4055ef7301 ChangeLog, tune2fs.c:
tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush stdout
  	after printing in-progress message.
  	(main): Exit with status code 1 if we failed to determine the mount
  	status of the device.
ChangeLog, gcc-wall-cleanup:
  gcc-wall-cleanup: Remove additional annoying warning messages emited
  	by gcc 2.95.2.
ChangeLog, uuid.h:
  uuid: Change arguments to make it clear which argument is the source
  	and which is the destination.
2001-01-14 16:11:14 +00:00
Theodore Ts'o c8c071a073 ChangeLog, e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c:
e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c: Fix
  	gcc -Wall complaints, including one bug in tune2fs caused by a block
  	automatic shadowing version of the variable we really wanted to use,
  	which broke the logic testing to see if the filesystem was mounted.
ChangeLog, MCONFIG.in:
  (gcc-wall-new): Added new target which forgoes the make clean so we
  	only check the newly modified .c files.
2001-01-11 16:08:23 +00:00
Theodore Ts'o 4d4045475f ChangeLog, badblocks.c:
badblocks.c (flush_bufs): Use ext2fs_sync_device() to sync and flush
  	the device.
2001-01-11 16:04:59 +00:00
Theodore Ts'o dfcdc32f8d ChangeLog, libext2fs.texinfo:
libext2fs.texinfo: Change ino_t to ext2_ino_t
ChangeLog, extent.c, main.c, resize2fs.c:
  extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
ChangeLog, mke2fs.c:
  mke2fs.c: Change ino_t to ext2_ino_t.
ChangeLog, test_icount.c, test_rel.c:
  test_icount.c, test_rel.c: Change ino_t to ext2_ino_t
2001-01-11 15:38:00 +00:00
Theodore Ts'o 832381536e ChangeLog, Makefile.in, tune2fs.c:
Makefile.in, tune2fs.c: Move e2label functionality into tune2fs, using
  	argv[0] as a dispatch.  This allows e2label to be (more) safely used
  	on mounted filesystems.
2001-01-09 00:16:26 +00:00
Theodore Ts'o 8820c79f75 Many files:
get_device_by_label.h (get_volume_label_by_spec): Add function prototype.
  get_device_by_label.c: Use string_copy() instead of strdup() for
  	portability's sake.  Fix a few other gcc -Wall complaints.
  fsck.h, fsck.c (string_copy): Export string_copy() extern.
  badblocks.c: Fix various gcc -Wall complaints, including an incorrect
  	reference to sync in flush_bufs().
ChangeLog, configure, configure.in:
  configure.in: Add checks for the header files sys/mkdev.h and
  	sys/sysmacros.h.
2001-01-06 04:20:03 +00:00
Theodore Ts'o 6398532038 ChangeLog, Makefile.in, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
tune2fs.c (update_feature_set, add_journal): Moved to separate
  	functions.  Added ability to add and remove the journal while the
  	filesystem is live.  Added support for setting a time-based UUID.
  	Removed zero-initialized static variables.
  mke2fs.c, util.c, util.h (strcasecmp, proceed_question,
  	check_plausibility, parse_journal_opts, check_mount): Moved functions
  	to util.c so they can be used by tune2fs.
  mke2fs.c (main): Change ext2fs_add_journal_fs() to
  	ext2fs_add_journal_inode() to reflect function renaming.
2001-01-03 17:02:13 +00:00
Theodore Ts'o ef9abe5f25 ChangeLog, e2image.c, mke2fs.c:
mke2fs.c, e2image.c: Removed references to struct ext2fs_sb to struct
  	ext2_super_block.
2001-01-01 15:31:53 +00:00
Theodore Ts'o b21e38a0df ChangeLog, tune2fs.c:
tune2fs.c (main): Add support to allow HAS_JOURNAL flag to be cleared,
  	but only if the filesystem is unmounted or mounted read-only.  Changed
  	struct ext2fs_sb to struct ext2_super, and cleaned up old code which
  	was needed for old versions of ext2_fs.h (not needed since we're using
  	our own version now).
2001-01-01 15:26:58 +00:00
Theodore Ts'o d4cf2fcda2 ChangeLog, fsck.c:
fsck.c (check_all): Call interpet_device to resolve LABEL= and UUID=
  	right away so that the device_already_active() logic can do the right
  	thing.  Also cleaned up the the root filesystem logic checking code;
  	fixed up a logic bug with the parallel_root option.
2000-12-31 14:09:38 +00:00
Theodore Ts'o f10748d88c ChangeLog, lsattr.c:
lsattr.c (list_attributes): Minor cleanup to smooth out logic flow.
  	Also removed static initialized variables to zero.
ChangeLog, lsattr.1.in:
  lsattr.1.in: Add pointer to chattr man page for definition of the file
  	attributes.
2000-12-31 13:55:14 +00:00
Theodore Ts'o 9a71884968 ChangeLog, chattr.1.in, chattr.c:
chattr.c (decode_arg, get_flag): Use a table-driven method for
  	decoding the ext2 file flags character options.  Add support for the
  	journaled data flag.
  chattr.1.in: Document the -j/+j/=j flag.
2000-12-31 13:48:12 +00:00
Theodore Ts'o 16ad33346d ChangeLog, mke2fs.c:
mke2fs.c (usage): Document the -j option.
  (main): Print the number blocks used in the journal.
ChangeLog, mke2fs.8.in:
  Minor clarity edits.
2000-12-31 03:21:56 +00:00
Theodore Ts'o b9fd8c1fdb ChangeLog, base_device.c, fsck.c:
base_device.c (base_device): Add support for DAC960 device names.
  fsck.c (device_already_active): Handle the case where base_device
  	doesn't know how to interpret the device name, instead of core
  	dumping.
2000-12-29 03:10:45 +00:00
Theodore Ts'o 26900ae444 flushb.c, findsuper.c:
Adjust legal language.
2000-12-09 21:46:59 +00:00
Theodore Ts'o d48755e97f ChangeLog, mke2fs.c:
mke2fs.c (main, parse_journal_opts): Add support for creating V1
  	superblocks.  We now pass in a journal_flags field to the journal
  	creation routines for this purpose.
  mke2fs.c: Remove zero initializers to save a few bytes from the
  	executable image.  (Are we excited yet?)
2000-12-09 14:36:04 +00:00
Theodore Ts'o 74a74d22d8 ChangeLog, findsuper.c:
findsuper.c: And non-subtle copyright licensing restriction to get
  	Yann to remove this program from the Debian package.  :-)
2000-12-09 14:33:29 +00:00
Theodore Ts'o 0e8a9560d8 Many files:
jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h.  The jfs.h file has
  	been moved to the include/linux directory.
  journal.c, revoke.c, recovery.c: Updated files from Stephen to support
  	the V2 superblock and revoke processing.  The journal.c and revoke.c
  	files are copies from the ext3 kernel source.
  Makefile.in: Added revoke.c to the list of source/object files.
Makefile.in:
  Fix up some mistakes in the source file list, and regenerate the
  dependencies.
  Update Makefile dependencies.
ChangeLog, jfs.h:
  jfs.h: Remove excess #include of JFS_DEBUG.  Not needed for e2fsprogs,
  	since we optioanlly define it in the configuration file system.
2000-12-09 06:41:25 +00:00
Theodore Ts'o 3e377db294 ChangeLog, MCONFIG.in, Makefile.in, Makefile.in.in:
Fix so that top-level "make check" works correctly.
e2image.c:
  Fix program name for e2image.
2000-12-09 02:37:33 +00:00
Theodore Ts'o 793e27df73 ChangeLog, Makefile.in, base_device.c, base_device.tst, fsck.c, fsck.h:
fsck.c (device_already_active): Change to use new version of
  	base_device() which now returns dynamically allocated memory.
  base_device.c (base_device): New version moved from fsck.c which now
  	understands ugly devfs names.  (Debian bug #65181)
  base_device.tst: Test case for base_device.c
2000-12-03 06:33:56 +00:00
Theodore Ts'o 2d09179aec ChangeLog, fsck.8.in:
fsck.8.in: Add clarification that filesystems with a fs_passno of 0
  	are skipped with the -A option.  (Debian wishlist/bug #63442)
2000-12-02 07:03:32 +00:00
Theodore Ts'o e9f9dd8e93 ChangeLog, fsck.c:
fsck.c (wait_one): When we let a new fsck take control of the console
  	to display the progress bar, set FLAG_PROGRESS to so that fsck knows
  	not to start new processes during an fsck pass with the progress
  	bar. (Should fix debian bug #65267)
2000-12-02 06:35:07 +00:00
Theodore Ts'o e1c6b2f02b ChangeLog, tune2fs.8.in:
tune2fs.8.in: Add clarifying statement about converting user and group
  	names to uid's before storing them in the superblock.  (Debian bug
  	#67446)
2000-12-02 06:19:33 +00:00
Theodore Ts'o 8ddaa66bfe ChangeLog, mke2fs.8.in, mke2fs.c:
mke2fs.c(main): Expand the -j option so that it parses option=argument
  	style options, and add support for creating filesystems with external
  	journals.
  mke2fs.8.in: Document new syntax for the -j option.
2000-11-17 04:55:24 +00:00
Theodore Ts'o 72ed126483 ChangeLog, Makefile.in, e2image.h, ext2_err.et.in, ext2fs.h, imager.c:
imager.c (ext2fs_image_{inode,super,bitmap}_{read,write}, ext2_fs.h,
  	Makefile.in: New file that has routines that save ext2fs metadata to a
  	file.
  ext2_err.et.in (EXT2_ET_MAGIC_E2IMAGE): New error code assigned.
  e2image.h: New file which defines the file format for the ext2 image
  	file.  (Saved copy of ext2 metadata to a file as a saving throw
  	against worst-case damage.)
ChangeLog, Makefile.in, e2image.c:
  e2image.c, Makefile.in: New program which saves ext2 metadata to a
  	file for people who need a last-ditch saving throw.
2000-11-12 19:32:20 +00:00