- 22 Apr, 2001 1 commit
-
-
Theodore Ts'o authored
mke2fs.c (usage): Remove the deprecated -s option from the usage message.
-
- 21 Apr, 2001 1 commit
-
-
Theodore Ts'o authored
mke2fs.c (main): Add better explanation about when the filesystem will be checked after it is created.
-
- 17 Apr, 2001 6 commits
-
-
Theodore Ts'o authored
subst.c (replace_string): Fix replace_string so that it correctly handles replacing a substitution variable with a zero-length string.
-
Theodore Ts'o authored
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.
-
Theodore Ts'o authored
ismounted.c (check_mntent): Check /proc/mounts on Linux systems before checking /etc/mtab. The EXT2_MF_READONLY flag is now set from the /etc/mtab options field for all filesystems, not just the root filesystem. Add debugging code to make it easier to test ext2fs_check_if_mounted().
-
Theodore Ts'o authored
mke2fs.c, tune2fs.c: Add newlines to error messages so that they look nicer.
-
Theodore Ts'o authored
mkjournal.c (ext2fs_create_journal_superblock): Add safety check; return an error if there's an attempt to create a journal less than 1024 filesystem blocks. ext2_err.et.in, mkjournal.c: Change EXT2_JOURNAL_NOT_BLOCK and EXT2_NO_JOURNAL_SB to be EXT2_ET_*.
-
Theodore Ts'o authored
super.c (check_super_block): Fix bad calculation of inodes_per_block, and tighten min/max checks to be a bit more paranoid. Thanks to Andreas Dilger for pointing out this bug.
-
- 29 Mar, 2001 7 commits
-
-
Theodore Ts'o authored
debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add internal_dump_inode() interface for the logdump command. logdump.c: Imported code from Stephen Tweedie to dump the ext3 journal.
-
Theodore Ts'o authored
journal.c (mark_buffer_uptodate): Add emulation of kernel function mark_buffer_uptodate.
-
Theodore Ts'o authored
Move things around so that user-mode stuff is outside #ifdef LINUX, and stuff which is kernel-only into #ifdef LINUX. (Should be synced up with sct).
-
Theodore Ts'o authored
Make insert_revoke_hash static (since it's not used outside this function).
-
Theodore Ts'o authored
recovery.c, revoke.c: Synchronize with 0.6b ext3 files.
-
Theodore Ts'o authored
Remove obsolete header file.
-
Theodore Ts'o authored
Update to synchronize with 0.6b version of jfs.h
-
- 26 Mar, 2001 1 commit
-
-
Theodore Ts'o authored
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.
-
- 18 Mar, 2001 1 commit
-
-
Theodore Ts'o authored
debugfs.c (do_write, do_mknod): Remove extra (useless) call to ext2fs_write_inode.
-
- 20 Feb, 2001 2 commits
-
-
Theodore Ts'o authored
Fix stupid typo.
-
Theodore Ts'o authored
bitops.h (ext2fs_swab16, ext2fs_swab32): Add i386 assembly inline functions. tst_byteswap.c: New function to test the byteswap functions. Add to regression test suite.
-
- 17 Feb, 2001 1 commit
-
-
Theodore Ts'o authored
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.
-
- 13 Feb, 2001 1 commit
-
-
Theodore Ts'o authored
journal.c (e2fsck_run_ext3_journal): Force a flush of the filesystem and io_channel before replaying the journal.
-
- 08 Feb, 2001 10 commits
-
-
Theodore Ts'o authored
e2image.c (main): Add code to write the e2image header. ChangeLog, e2image.h: e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
-
Theodore Ts'o authored
Fix man page formatting
-
Theodore Ts'o authored
mkjournal.c (ext2fs_create_journal_superblock): Fix the setting of s_first for external devices to always be 1, since jsb->s_first is always relative to the start of the journal superblock. Use htonl(1) when setting s_nr_users.
-
Theodore Ts'o authored
tune2fs.8.in: Update man page to reflect that 2.0.39 supports sparse_super.
-
Theodore Ts'o authored
dumpe2fs.c (list_desc): Fix fencepost error when calculating the range of inode table blocks. Add '0x' to values printed in hex.
-
Theodore Ts'o authored
chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of the LFS so that lstat will work on large files.
-
Theodore Ts'o authored
Add check for HAVE_STDLIB_H before including stdlib.h
-
Theodore Ts'o authored
Add quick compression of journal -> @j jfs.h: Eliminate force of JFS_DEBUG for userspace
-
Theodore Ts'o authored
Fix minor typo in C comment
-
Theodore Ts'o authored
Update for initial finddev library.
-
- 18 Jan, 2001 5 commits
-
-
Theodore Ts'o authored
Update makefile dependencies
-
Theodore Ts'o authored
pass1.c (check_blocks): Fix large file checking code so that files > 2GB are considered large files, and restrict directories from being > 2GB. version.h: Update for WIP release.
-
Theodore Ts'o authored
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.
-
Theodore Ts'o authored
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.
-
Theodore Ts'o authored
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.
-
- 16 Jan, 2001 3 commits
-
-
Theodore Ts'o authored
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.
-
Theodore Ts'o authored
initialize.c (ext2fs_initialize): Add support for initializing the ext2 superblock for external journal devices. This basically means we don't bother to allocate any block group descriptors. openfs.c (ext2fs_open): Only open external journal devices if the new flag EXT2_FLAG_JOURNAL_DEV_OK is passed to ext2fs_open. When opening such devices, don't try to read the block group descriptors, since they're not there. ext2_err.et.in (EXT2_NO_JOURNAL_SB): Add new error code mkjournal.c: Export a new function, ext2fs_create_journal_superblock(), which allocates and returns a buffer containing a journal superblock. This is needed by mke2fs to create an external journal. Rewrote ext2fs_add_journal_device() so that it no longer creates the external journal, but rather adds a filesystem to an existing external journal. It handles all of the UUID manipulation. ext2fs.h: List the EXT3_FEATURE_JOURNAL_DEV as a flag supported by the library. Define the EXT2_FLAG_JOURNAL_DEV_OK. Changed function prototype for ext2fs_add_journal_device().
-
Theodore Ts'o authored
ls.c (list_super2): Fix bug where we were printing the filesystem UUID instead of journal UUID when trying to display the journal UUID.
-
- 14 Jan, 2001 1 commit
-
-
Theodore Ts'o authored
feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV
-