summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-12-31.del-ext2_fs.h~7a460879, ChangeLog:Theodore Ts'o2-1/+4
ext2_fs.h (EXT3_JOURNAL_DATA_FL): Add new inode flag definition.
2000-12-31ChangeLog, jfs.h:Theodore Ts'o2-9/+36
jfs.h: Update to 0.5e version
2000-12-31ChangeLog, mtrace.c, mtrace.h:Theodore Ts'o3-1/+235
malloc.h, mtrace.c: Renamed malloc.h to mtrace.h to avoid conflicts with the system header file.
2000-12-31ChangeLog, setsuper.c:Theodore Ts'o3-3/+7
Remove hard-coded s_ from inode_size field. ChangeLog, dump.c: dump.c (fix_perms): Fix bug for systems which don't have fchown; was incorrectly using chmod instead of chown.
2000-12-30ChangeLog, journal.c, problem.h:Theodore Ts'o3-27/+40
problem.h: Fixed numbering of pass1 error messages; an extra 0 had slipped into some of the numbers. (Pointed out by Andreas Dilger) journal.c (e2fsck_journal_fix_corrupt_super): Clean up unnecessary automatic variable. Add explanatory comment about the kernel emulation routines. (Suggested by Andreas Dilger)
2000-12-30ChangeLog, debugfs.c, setsuper.c:Theodore Ts'o3-0/+11
setsuper.c (find_field): Strip the s_prefix if given for ssv fields. (Suggested by Andreas Dilger) debugfs.c (do_modify_inode): Add the ability to set the inode generation number. (Suggested by Andreas Dilger)
2000-12-29ChangeLog, base_device.c, fsck.c:Theodore Ts'o3-0/+21
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-18.del-jfs.h~fa6593e8:Theodore Ts'o1-574/+0
Remove unneeded file.
2000-12-13version.h:Theodore Ts'o1-1/+1
Update for 1.20-WIP release.
2000-12-13ChangeLog, super.c:Theodore Ts'o4-5/+23
super.c (release_orphan_inodes): Fix spelling typo in error message. ChangeLog, unix.c: unix.c (main): Clarify coments (no code changes) ChangeLog, journal.c: journal.c (e2fsck_check_ext3_journal): Check to make sure the journal fields are consistent if any of the superblock fields are set. (Backs out erroneous change made by sct, pointed out by Andreas.)
2000-12-13ChangeLog, pass1.c:Theodore Ts'o2-5/+14
pass1.c (e2fsck_pass1): Offer to update the filesystem revision level if we need to set large files flag. Patch from Andreas Dilger.
2000-12-13ChangeLog, closefs.c, ext2fs.h, jump.funcs, super.c:Theodore Ts'o5-5/+5
Rename _ext2fs_update_fs_dynamic_rev to _ext2fs_update_dynamic_rev
2000-12-13ChangeLog, super.c:Theodore Ts'o2-1/+24
super.c (check_super_block): If we have any of the compatibility flags set, we need to have a revision 1 filesystem. Most kernels will not check the flags on a rev 0 filesystem and we may have corruption issues because of the incompatible changes to the filesystem. Patch from Andreas Dilger.
2000-12-13ChangeLog, problem.c, problem.h:Theodore Ts'o3-1/+22
problem.c, problem.h (PR_0_FS_REV_LEVEL, PR_1_FS_REV_LEVEL): Add new problem codes.
2000-12-13swapfs.c:Theodore Ts'o1-1/+1
Fix stupid typo.
2000-12-13ChangeLog, closefs.c, ext2fs.h, jump.funcs:Theodore Ts'o4-0/+23
closefs.c (ext2fs_update_fs_dynamic_rev): New function suggested by Andreas Dilger to update the filesystem revision to EXT2_DYNAMIC_REV.
2000-12-13ChangeLog, swapfs.c:Theodore Ts'o2-0/+8
swapfs.c (ext2fs_swap_super): Add byte swapping for the journal fields.
2000-12-09flushb.c, findsuper.c:Theodore Ts'o2-21/+29
Adjust legal language.
2000-12-09ChangeLog, flushb.c:Theodore Ts'o2-0/+27
flushb.c: Fix flushb so that it does something other than waste disk space when built on systems with modern header files and add a non-subtle Copyright Licensing restriction so Yann will remove it from the Debian Distribution. (Now violates the Debian Free Software Guidelines, on purpose.)
2000-12-09ChangeLog, ext2fs.h, mkjournal.c:Theodore Ts'o3-9/+27
ext2fs.h, mkjournal.c (ext2fs_add_journal_fs, ext2fs_add_journal_device): Add a new argument to the APIs of these function, which is a flags word. This is used to allow the creation of a V1 superblock for those folks who are using ext3 0.3b in production. Note, the user-land interface for getting at this flag won't be documented, as the V1 superblock is deprecated.
2000-12-09ChangeLog, mke2fs.c:Theodore Ts'o2-27/+31
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-09ChangeLog, findsuper.c:Theodore Ts'o2-1/+26
findsuper.c: And non-subtle copyright licensing restriction to get Yann to remove this program from the Debian package. :-)
2000-12-09ChangeLog, journal.c:Theodore Ts'o2-0/+6
journal.c (e2fsck_check_ext3_journal): If JFS_DEBUG is defined at the top level, set the JFS debuging level to 2.
2000-12-09Many files:Theodore Ts'o17-366/+1212
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-09ChangeLog, jfs_user.h, mkjournal.c:Theodore Ts'o7-4/+836
mkjournal.c (init_journal_superblock): Sync Stephen's changes which creates a V2 superblock instead of a V1 superblock. ChangeLog, jfs.h, jfs_compat.h, list.h: jfs.h, jfs_compat.h, list.h: New files added to support ext3.
2000-12-09ChangeLog, MCONFIG.in, Makefile.in, Makefile.in.in:Theodore Ts'o10-8/+26
Fix so that top-level "make check" works correctly. e2image.c: Fix program name for e2image.
2000-12-05ChangeLog, test_io.c:Theodore Ts'o2-4/+9
test_io.c (test_write_blk, test_write_byte): Fix typos pointed out by Andreas Dilger.
2000-12-04ChangeLog, compile_et.1:Theodore Ts'o2-1/+6
compile_et.1: Fix a simple typo in the man page.
2000-12-03ChangeLog, Makefile.in, base_device.c, base_device.tst, fsck.c, fsck.h:Theodore Ts'o6-70/+209
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-02ChangeLog, fsck.8.in:Theodore Ts'o2-2/+11
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-02ChangeLog, fsck.c:Theodore Ts'o2-0/+7
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-02ChangeLog, tune2fs.8.in:Theodore Ts'o2-2/+10
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-02ChangeLog, fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c:Theodore Ts'o5-4/+49
fgetflags.c (fgetflags): fgetversion.c (fgetversion): fsetflags.c (fsetflags): fsetversion.c (fsetversion): Use the LFS API if available so that the files are opened with O_LARGEFILE. Addresses Debian bug #72690.
2000-11-17ChangeLog, message.c, pass1b.c, pass2.c, pass3.c, problem.c, problem.h:Theodore Ts'o8-40/+80
pass1b.c: Change routines to use PR_1B_BLOCK_ITERATE when reporting problems rather than using com_err directly. problem.c, problem.h (PR_1B_BLOCK_ITERATE): Add new problem code. message.c (expand_percent_expression): Add safety check. If ctx->str is NULL, print "NULL" instead of dereferencing the null pointer. pass1b.c, pass2.c, pass3.c: Change calls to ext2fs_block_iterate to ext2fs_block_iterate2, to support 64-bit filesizes and to speed things up slightly by avoiding the use of the ext2fs_block_iterate's compatibility shim layer. version.h: Update for WIP release.
2000-11-17ChangeLog, mke2fs.8.in, mke2fs.c:Theodore Ts'o3-18/+140
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-12ChangeLog, Makefile.in, e2image.h, ext2_err.et.in, ext2fs.h, imager.c:Theodore Ts'o9-3/+642
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-12ChangeLog, inode.c:Theodore Ts'o2-3/+24
inode.c (ext2fs_flush_icache): Add new function ext2fs_flush_icache() which flushes the internal inode cache. Applications which modify the inode table blocks directly must call this function.
2000-10-30ChangeLog, util.c:Theodore Ts'o2-1/+6
util.c (get_backup_sb): Calculate backup superblock correctly when the blocksize is > 1k.
2000-10-26ChangeLog, mkjournal.c:Theodore Ts'o2-0/+6
mkjournal.c: Add #include of netinet/in.h, since Solaris requires it for ntohl().
2000-10-26.del-jfs.h~fa6593e8, ChangeLog, jfs_compat.h, journal.c:Theodore Ts'o4-69/+138
jfs.h, jfs_compat.h, journal.c: Updated to include the definition of the new journal superblock format; still only supports V1 superblocks for now. (From sct)
2000-10-26Many files:Theodore Ts'o8-10/+157
ext2_io.h (io_channel_write_byte): Add new interface to allow callers to write specific byte ranges. This is an optional interface, which not all IO channels may implement. unix_io.c (unix_write_byte): test_io.c (test_write_byte): Add implementation of the write_byte function. closefs.c (write_primary_superblock, ext2fs_flush): Add a new function which writes the primary superblock. If the IO channel supports writing raw bytes directly, only fields which were modified are written to the disk. This makes it safe(r) to use utilities like tune2fs on a mounted filesystem. freefs.c (ext2fs_free): Free the original superblock if it is available. openfs.c (ext2fs_open): Store a copy of the original superblock when opening it. ext2fs.h: Add a field to store the original superblock in the ext2 context structure.
2000-10-25e2fsprogs.spec:Theodore Ts'o1-17/+17
Fix brokeness in the spec file.
2000-10-25ChangeLog, mke2fs.c:Theodore Ts'o5-5/+19
mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s handling a bit more sane. (Even though -s is deprecated at this point.) ChangeLog, expect.1: f_journal: Update to take into account new printing by the e2fsck program. version.h: Update for upcoming WIP release.
2000-10-25ChangeLog, configure, configure.in, e2fsprogs.spec:Theodore Ts'o5-187/+264
e2fsprogs.spec: Update spec file for Red Hat 7.0 compatibility configure.in: When compiling shared libraries for Solaris, use a special-case Makefile fragment to deal with it. Makefile.solaris-lib: New file for Solaris shared library builds.
2000-10-25ChangeLog, get_device_by_label.c:Theodore Ts'o2-1/+6
get_device_by_label.c: Apply fix from Erik Troan to support 16 character labels.
2000-10-25ChangeLog, llseek.c:Theodore Ts'o4-3/+22
llseek.c: Add #ifdef's for IA64 (it's a 64-bit platform, so we don't need to use llseek). ChangeLog, fsck.c: fsck.c (device_already_active): Add a special case check for MD devices, so we don't try to check them in parallel with other devices.
2000-10-25ChangeLog, journal.c, problem.c, problem.h, super.c:Theodore Ts'o5-48/+132
super.c (release_inode_block, release_inode_blocks, release_orphan_inodes): Add code to deal with truncating inodes which are still in use (but which are on the orphan list because they need truncation). problem.c, problem.h: Rename PR_0_CLEAR_ORPHAN_INODE to PR_0_ORPHAN_CLEAR_INODE, and remove PR_0_ORPHAN_INODE_INUSE. journal.c (e2fsck_run_ext3_journal): Add i18n support, and print a message when the journal is being recovered.
2000-10-24ChangeLog, pass1.c:Theodore Ts'o2-6/+24
pass1.c (e2fsck_pass1): Don't check the i_mode field for the journal inode, if it is in use.
2000-10-24ChangeLog, mke2fs.8.in, mke2fs.c:Theodore Ts'o3-1/+41
mke2fs.c (PRS, main), mke2fs.8.in: Add support for the -j option, which builds an ext2/3 filesystem with an ext3 journal.
2000-10-24ChangeLog, mke2fs.c:Theodore Ts'o2-1/+6
mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95 didn't catch.