summaryrefslogtreecommitdiff
path: root/debugfs/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2007-07-08Remove Changelog files since they're not used after the git migrationTheodore Ts'o1-1207/+0
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-06-24Update Release Notes, Changelogs, version.h, etc. for 1.40 releaseTheodore Ts'o1-0/+4
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-05-25Fix gcc -Wall warnings, especially on 64-bit systemsAndreas Dilger1-0/+11
Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-05-08Fix mke2fs and debugfs to support large (> 16 bit) uid's and gid'sEric Sandeen1-0/+6
Mke2fs is supposed to set the uid/gid ownership of the root directory when a non-rooot user creates the filesystem. This wasn't working correctly if the uid/gid was > 16 bits. In additional, debugfs wasn't displaying large uid/gid's correctly. This patch fixes these two programs. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-04-19Define the l_i_iversion field in ext2_inodeTheodore Ts'o1-0/+5
The l_i_version field is now defined from the old l_i_reserved1 field in the ext2 inode. This field will be used to store high 32 bits of the 64-bit inode version number. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-04-13Add new debugfs command "set_block_group"Theodore Ts'o1-0/+5
This command allows the user to set a value in the block group descriptors for a particular block group. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-04-10Fix debugfs's date parser so that it accepts integer valuesTheodore Ts'o1-0/+5
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-04-02debugfs: support > 2GB files for the dump and rdump commandsTheodore Ts'o1-0/+6
Add _GNU_SOURCE define to make sure O_LARGEFILE is defined for do_dump(), and use O_LARGEFILE when writing files using do_rdump(). Addresses Debian Bug: #412614 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-03-29[COVERITY] Handle potential case in debugfs if ext2fs_get_pathname returns NULLBrian Behlendorf1-0/+3
Coverity ID: 51: Use After Free Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2007-03-29[COVERITY] Fix coverity warning in debugfsTheodore Ts'o1-0/+6
This is a no-op since long_opt isn't currently being used; the -l option to htree_dump is currently unwired to anything at the moment. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Coverity ID: 47: Used before assigned
2007-03-23[COVERITY] Fix file handle leak in debugfs's logdump (in error case)Brian Behlendorf1-0/+5
Also fixed a bug in checking if the fopen failed. Coverity ID: 30: Resource Leak Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-03-21[COVERITY] Fix memory leak on error handling in the debugfs's icheck commandBrian Behlendorf1-0/+3
Coverity ID: 25: Resource Leak Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2007-03-21[COVERITY] Fix (error case) memory leak in debugfsBrian Behlendorf1-0/+2
Handle leaked cbuf due to early returns with a generic failure path. Coverity ID: 24: Resource Leak Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-03-21[COVERITY] Avoid static buffer overruns in debugfsBrian Behlendorf1-0/+7
Add an extra byte to EXT2_NAME_LEN in the static allocation for the required trailing null. This allows filenames up to the maximum length of EXT2_NAME_LEN withover an overrun. Coverity ID: 11: Overrun Static Coverity ID: 12: Overrun Static Coverity ID: 13: Overrun Static Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-03-07Allow the debugfs lcd command to work w/o a filesystem being openTheodore Ts'o1-0/+6
Addresses LTC Bugzilla #27513 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-01-28Fix dump_usued segault in debugfs if used without open filesystemMatthias Koenig1-0/+5
The dump_unused command in debugfs segfaults if used without an open filesystem: sor:~ # debugfs debugfs 1.39 (29-May-2006) debugfs: dump_unused Segmentation fault Patch (from IBM) below. Signed-off-by: Matthias Koenig <mkoenig@suse.de>
2006-12-26Use the newer add/remove_error_table com_err interfacesTheodore Ts'o1-0/+5
Change all of the e2fsprogs programs to use the newer add_error_table() and remove_error_table() interfaces instead of the much older initialize_*_error_table() function. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-12Allow debugfs and dumpe2fs to support fs features under developmentTheodore Ts'o1-0/+6
Add support for the new flag EXT2_FLAG_SOFTSUPP_FEATURES flag to ext2fs_open() , which allows application to open filesystes with features which are currently only partially supported by e2fsprogs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-11Add directory hashed signed/unsigned hint to superblockTheodore Ts'o1-0/+9
The e2fsprogs and kernel implementation of directory hash tree has a bug which causes the implementation to be dependent on whether characters are signed or unsigned. Platforms such as the PowerPC, Arm, and S/390 have signed characters by default, which means that hash directories on those systems are incompatible with hash directories on other systems, such as the x86. To fix this we add a new flags field to the superblock, and define two new bits in that field to indicate whether or not the directory should be signed or unsigned. If the bits are not set, e2fsck and fixed kernels will set them to the signed/unsigned value of the currently running platform, and then respect those bits when calculating the directory hash. This allows compatibility with current filesystems, as well as allowing cross-architectural compatibility. Addresses Debian Bug: #389772 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-01Fix Debian FTBFS problem caused by devmapper library using pthreadsTheodore Ts'o1-0/+5
Addresses Debian bug: #388718 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-09-12Fix signed vs unsigned printf format strings for block and inode numbersEric Sandeen1-0/+4
There were still some %d's lurking when we print blocks & inodes; also many of the counters in the e2fsck_struct were signed, and probably need to be unsigned to avoid overflows. Signed-off-by: Eric Sandeen <esandeen@redhat.com>
2006-08-29Fix debugfs coredump when lsdel is run without an open filesystemTheodore Ts'o1-0/+6
Addresses Debian Bug: #378335 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-29Add missing backwards compatibility for ancient Linux systemsTheodore Ts'o1-0/+7
This fixes some (but not all) of the compatibility bugs which prevented e2fsprogs from being compiled on a Linux 2.0.35 system. There are still some unprotected use of long long's, and apparently some type problems with the uuid library, but these can be fixed up later. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-28Fix debugfs's dump_unsued commands on filesystems with a 64k blocksizeTheodore Ts'o1-0/+7
Use EXT2_MAX_BLOCK_SIZE instead of a hardcoded blocksize of 32768, since this will fail on a filesystem with a 64k blocksize. (Addresses SourceForge bug #1424311) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-21Fix type warning problem with time_t in debugfsTheodore Ts'o1-0/+4
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-08Add support for EXT2_FEATURE_COMPAT_LAZY_BGTheodore Ts'o1-0/+5
This feature is initially intended for testing purposes; it allows an ext2/ext3 developer to create very large filesystems using sparse files where most of the block groups are not initialized and so do not require much disk space. Eventually it could be used as a way of speeding up mke2fs and e2fsck for large filesystem, but that would be best done by adding an RO_COMPAT extension to the filesystem to allow the inode table to be lazily initialized on a per-block basis, instead of being entirely initialized or entirely unused on a per-blockgroup basis. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-27Add handling for invalid option characters in debugfs subcommandsTheodore Ts'o1-0/+7
Fix the debugfs commands htree_dump, dx_hash, and list_dir so they print a print a usage message when an illegal option character is given. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-18Fix format statements to make e2fsprogs programs 32-bit cleanTakashi Sato1-0/+3
Change the format string(%d, %ld) for a block number and inode number to %u or %lu. Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-18Add an option to debugfs to open filesystems in exclusive modeTheodore Ts'o1-0/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-08Fix debugfs's icheck to correctly report the owner of an EA blockTheodore Ts'o1-0/+5
Hello Ted, here is a minor fixup with debugfs "icheck" finding a block in an EA. It was reporting the inode number as one too low because it was set after the EA check is done. From: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-10Fix various gcc -Wall complaints.Theodore Ts'o1-0/+5
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-09-24New debugfs command: set_current_timeTheodore Ts'o1-0/+8
Generalize the time parsing code and move it to util.c:string_to_time(). Add new command, set_current_time, which sets the time used to set the filesystems's time fields. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-09-06Fix debugfs's set_inode_field so it can properly set i_sizeTheodore Ts'o1-0/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-07-04Fix debugfs's set_inode_fields command from silently failing.Theodore Ts'o1-0/+6
The set_inodes_field command was silently failing when setting one of the following fields: frag, fsize, uid_high, gid_high, and author. The type size for these fields were set to an incorrect value in the inode_fields table.
2005-06-30Update for e2fsprogs 1.38 release.Theodore Ts'o1-0/+4
2005-05-05debugfs.c (do_stat): Check to make sure a filesystem is openTheodore Ts'o1-0/+6
and abort if with an error if not, to prevent a seg fault in that case.
2005-03-21Update for the e2fsprogs 1.37 release.Theodore Ts'o1-0/+4
2005-03-21Make debugfs's stat command print the size of the extra inode fields,Theodore Ts'o1-0/+5
if any.
2005-03-20Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we createTheodore Ts'o1-0/+5
a new inode we make sure that the extra information in the inode (any extra fields in a large inode and any ea-in-inode information) is cleared. This can happen when e2fsck creates a new root inode or a new lost+found directory, or when the user uses the debugfs write, mknod, or mkdir commands. Otherwise, the newly create inode could inherit garbage (or old EA information) from a previously deleted inode.
2005-03-20Enhance debugfs's stat command so it can dump extended attributesTheodore Ts'o1-0/+7
which are stored in the inode body.
2005-02-05Update for release of e2fsprogs 1.36.Theodore Ts'o1-0/+4
2005-02-03Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.Theodore Ts'o1-0/+5
2005-01-20set_fields.c: Add support for the jnl_blocks[] for set_super_valueTheodore Ts'o1-0/+4
2005-01-19Cleanup C code in debugfs's setfield. Added missing return statement (turnedTheodore Ts'o1-0/+6
out it didn't cause a functional bug) and added #define _XOPEN_SOURCE on non-Solaris systems to pick up strptime()'s definition.
2005-01-07Make the official name of the new debugfs set_inode command beTheodore Ts'o1-0/+9
set_inode_field, since it is more intuitive.
2004-12-23Add support in debugfs's set_field command to specify array specifiers forTheodore Ts'o1-0/+7
fields to be set. For example, to set i_block[2] for the resize inode to be 42, simply issue the debugfs command: set_inode <7> block[2] 42 Also added is the virtual field "bmap", which also takes an array index. So to set the physical block mapping for logical block 1282 in the file /test/inode to be 57, use the debugfs command: set_inode /test/inode bmap[1282] 57
2004-12-21Enhance debugfs so that set_super_value can now set the wtime, mtime,Theodore Ts'o1-0/+9
lastcheck, and mkfs_time fields with date/time values. Add the set_inode command to debugfs so that individual inode fields can be more easily modified. We should probably make the modify_inode command go away at some point.
2004-12-16Add support for newer superblock fields in debugfs's set_super_valueTheodore Ts'o1-0/+6
command.
2004-12-15Add install-strip and install-shlibs-strip targetsTheodore Ts'o1-0/+3
Use Linux-kernel-style makefile output for "make install" Update intl/Makefile.in to version from gettext 0.14.1
2004-12-14Use MKINSTALLDIRS macro so that the Makefiles can find the scriptTheodore Ts'o1-0/+4
correctly. Update Makefile dependencies. Update "make depend" production so that it filters out comments inserted by newer gcc compilers. Remove sync from e2fsck's "make all" target.