aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* debugfs: add the commands "zap_block" and "block_dump"Theodore Ts'o2012-12-241-3/+4
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* debugfs: add a makefile rule to build debugfs.staticTheodore Ts'o2012-12-241-1/+12
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* debugfs: add the ability to manipulate the extent tree directlyTheodore Ts'o2012-12-241-4/+8
| | | | | | | | | | | | | | | This commit adds the functionality which had previously only been in the tst_extents command to debugfs. The debugfs command extent_open will open extent tree of a particular inode, and enables a series of commands which will allow the user to interact with the extent tree directly. Once the extent tree is closed via extent_open(), these additional commands will be disabled again. This commit exports two new functions from lib/ext2fs/extent.c which had previously been statically defined: ext2fs_extent_node_split() and ext2fs_extent_goto2(). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* rdebugfs: don't install by defaultTheodore Ts'o2011-11-211-2/+2
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* debugfs: add filefrag commandTheodore Ts'o2011-11-181-3/+5
| | | | | | | Add the ability to report on the fragmentation of a file on a file system opened using debugfs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* debugfs: add the freefrag commandTheodore Ts'o2011-11-181-2/+6
| | | | | | | The freefrag command provides the functionality of e2freefrag on the currently open file system in debugfs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* debugfs: build read-only variant of debugfsTheodore Ts'o2011-11-181-2/+18
| | | | | | | | | | | Create a version of debugfs which only supports read-only examination of the file system metadata (but not the data blocks). The idea is that this version of debugfs might be suitable to be setuid root, and executable only by members of a particular group, or setgid disk, and globally executable, depending on the security/privacy policies in force at a particular site. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Don't use in-tree header files if using system uuid or blkid librariesTheodore Ts'o2009-10-041-31/+40
| | | | | | | | This commit forces the use of the system-provided blkid or uuid header files if we are using the system-provided blkid or uuid libraries. This avoids using the in-tree header files with the system libraries. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add support for configure --enable-verbose-makecmdsTheodore Ts'o2009-07-021-13/+13
| | | | | | | | | | | | | | | | | Some people don't want to see the concise "kernel-style" make output. This configure option allows build engines that want to see the full set of commands executed by the makefile to get what they want. Most people will find this more distracting than useful, unless they need to debug the Makefiles. (It is not necessary to rerun configure to enable this verbose make output temprarily; if a developer wants to do a quick debug of a directory's makefile, he or she can simply edit the definition of the $(E) and $(Q) variables in the Makefile; instructions can be found in the MCONFIG file which is included in at the beginning of every Makefile.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix Makefile dependencies for libcom_errTheodore Ts'o2009-07-011-1/+2
| | | | | | | | | | | | | | The e2fsprogs makefiles were using the same Makefile variable LIBCOM_ERR for the link-line arguments as well as the dependencies. Since LIBCOM_ERR can now include non-file arguments such as "-lpthread", we need to use a separate DEPLIBCOM_ERR variable that only has build file dependencies. Do the same thing for STATIC_LIBCOM_ERR and PROFILED_LIBCOM_ERR. Addresses-Sourceforge-Patches: #2813809 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix dependency for $(LIBSS) when an explicit dlopen() library is neededTheodore Ts'o2008-06-071-1/+1
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix tst_extents build when building w/o dynamic librariesTheodore Ts'o2008-04-171-2/+1
| | | | | | | | | | | | $(LIBSS) should automatically include @DLOPEN_LIB@ so the right thing happens for programs that need to use the ss library. Reorder the library link order for tst_extents since the blkid library uses libuuid functions. Thanks to Eric Sandeen for pointing this problem out! Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix Debian FTBFS problem caused by devmapper library using pthreadsTheodore Ts'o2006-10-011-1/+1
| | | | | | Addresses Debian bug: #388718 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update "make depend" information. Fixes SMP parallel build problem.Theodore Ts'o2005-05-061-33/+42
| | | | | (Addresses Sourceforge Bug: #1157933)
* Enhance debugfs so that set_super_value can now set the wtime, mtime,Theodore Ts'o2004-12-211-3/+3
| | | | | | | | | 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.
* Add install-strip and install-shlibs-strip targetsTheodore Ts'o2004-12-151-4/+12
| | | | | | | Use Linux-kernel-style makefile output for "make install" Update intl/Makefile.in to version from gettext 0.14.1
* Use MKINSTALLDIRS macro so that the Makefiles can find the scriptTheodore Ts'o2004-12-141-1/+1
| | | | | | | | | | | | 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.
* Use Linux-kernel-style makefile output to make it easier to Theodore Ts'o2004-11-301-4/+8
| | | | | see errors/warnings.
* Refine the build process to avoid re-running subst all the time on Theodore Ts'o2004-04-031-1/+1
| | | | | | | some generated files, by having subst update the modtime on these files even when the generated file hasn't changed. We do this with generated files that do not have any downstream dependencies.
* unused.c (do_dump_unused): Add new command which dumps theTheodore Ts'o2003-05-211-2/+2
| | | | | | unused blocks. (Initial implementation; currently only dumps the output to stdout.)
* Update after "make depend".Theodore Ts'o2003-04-171-1/+1
|
* Update dependency information in MakefilesTheodore Ts'o2003-03-161-1/+2
|
* Add to the ss (subsystem) library the ability to dynamically linkTheodore Ts'o2003-03-161-1/+3
| | | | | to the readline library if it is present in the system.
* Update debugfs and e2fsck to use the blkid library.Theodore Ts'o2003-03-011-2/+2
|
* Update "make depend".Theodore Ts'o2002-11-081-1/+2
|
* Makefile.in (install): Search all compression extensions whenTheodore Ts'o2002-10-311-1/+3
| | | | | deleting old man pages.
* Two bug fixes to debugfs, courtesy of Jaroslav Drzik <jdrzik@host.sk> for ↵Theodore Ts'o2002-03-051-0/+5
| | | | | | | | | | | suggesting this enh ancement. 1) The modify_inode command was core dumping if no filesystem was open. 2) The lsdel command command now uses the pager. Also updated the Makefile.in file with "make depend".
* Add initial support in debugfs for examining directory indexingTheodore Ts'o2002-02-251-2/+3
| | | | | information.
* Update makefiles to install mkfs.ext3, and to install man pages forTheodore Ts'o2002-02-241-0/+1
| | | | | | mkfs.ext2/3 and fsck.ext2/3. Also remove any compressed man pages before installing the man pages.
* Miscellaneous cleanup before 1.26-WIP release. Removed unusedTheodore Ts'o2001-12-241-0/+9
| | | | | | | .cvsignore in include/asm directory so it can disappear. Updated makefile dependencies, and stop including <topsrc>/include in the -I search path, since it's no longer needed.
* Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the Theodore Ts'o2001-12-231-9/+0
| | | | | | | system header file version of hbd.h when using diet glibc (since it forcibly adds /usr/include to the beginning of include search path.)
* Fix e2fsck's handling of external journals,and update journal Theodore Ts'o2001-12-161-1/+3
| | | | | | recovery files from 2.4.17-pre8.
* Fixes necessary for e2fsprogs to work using the diet libc.Theodore Ts'o2001-12-021-3/+1
| | | | | | | | | | | | | | | | - 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.
* ChangeLog, wordwrap.pl:Theodore Ts'o2001-06-011-27/+34
| | | | | | | | 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.
* Many files:Theodore Ts'o2001-05-141-13/+13
| | | | | | | | | | | | | | | | | | | | | 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
* Many files:Theodore Ts'o2001-03-291-2/+8
| | | | | | | 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.
* Makefile.in:Theodore Ts'o2001-01-181-1/+1
| | | | | Update makefile dependencies
* Many files:Theodore Ts'o2000-12-091-20/+26
| | | | | | | | | | | | | | | | | 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.
* Makefile.in, debug_cmds.ct, setsuper.c, ChangeLog:Theodore Ts'o2000-08-141-2/+3
| | | | | | | | | setsuper.c: New function which implements the set_super_value command. Allows the user to set arbitrary superblock fields. ChangeLog, util.c: util.c (open_pager): If the PAGER environment variable is not set, default to using "more".
* ChangeLog, Makefile.in:Theodore Ts'o2000-07-041-1/+1
| | | | | | | | Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the mk_cmds support files from the source tree. .cvsignore: Add std_rqs.c to the ignore list.
* ChangeLog, MCONFIG.in:Theodore Ts'o2000-01-181-1/+1
| | | | | | | | | | MCONFIG.in (DEPLIBUUID): Since LIBUUID can sometimes include "-lsocket" we need a separate DEPLIBUUID that can be used in Makefile's dependency rules. ChangeLog, Makefile.in: Makefile.in: Since LIBUUID can sometimes include "-lsocket" we need a separate DEPLIBUUID that can be used in Makefile's dependency rules.
* ChangeLog, Makefile.in:Theodore Ts'o1999-11-191-1/+2
| | | | | | | | | Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory. Also, when making the .exclude file for the source_tar_file, exclude those two files as well. Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory.
* ChangeLog, mke2fs.c:Theodore Ts'o1999-10-261-1/+1
| | | | | | | | mke2fs.c (set_fs_defaults): Changed parameter name to avoid gcc warnings. Makefile.in: Update dependency information.
* ChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c:Theodore Ts'o1999-09-141-8/+8
| | | | | | | | debugfs.c, debug_cmds.ct: Add new debugfs command "feature" which allows the user to set or clear filesystme features. Add the -f (force) option to the open command. Add the -h (superblock header only) option to the stats command.
* ChangeLog, MCONFIG.in, configure.in, configure:Theodore Ts'o1999-07-031-8/+6
| | | | | | | | | | | | | | MCONFIG.in (BUILD_CC): configure.in (BUILD_CC): If cross compiling, find the native C compiler and set it to BUILD_CC so that we can successfully build util/subst. ChangeLog, Makefile.in: Makefile.in (subst): Build subst using $(BUILD_CC), since it's a helper program which must be built using the native C compiler during a cross-compilation. Makefile.in: Update dependencies.
* ChangeLog, Makefile.in:Theodore Ts'o1998-12-041-10/+9
| | | | | Makefile.in: Updated dependencies.
* ChangeLog, Makefile.in:Theodore Ts'o1998-04-011-6/+6
| | | | | | | | | | | | | | | | Change to use new installation directory variables convention. Fix uninstall rules to take $(DESTDIR) into account. Remove cat8dir and cat1dir from the installdirs target, since modern man package don't necessarily put the cat directory in /usr/man/cat?. Makefile.in: Change to use new installation directory variables convention. Fix uninstall rules to take $(DESTDIR) into account. Remove cat8dir from the installdirs target, since modern man package don't necessarily put the cat directory in /usr/man/cat?. Change to use new installation directory variables convention. Fix installdirs and uninstall rules to reflect the fact that debugfs has been installed in the root filesystem. Fix uninstall rules to take $(DESTDIR) into account.
* Many files:Theodore Ts'o1997-12-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more paranoid about validating the directory counts from the block group information. all files: Don't include stdlib.h anymore; include it in ext2_fs.h, since that file requires stdlib.h ChangeLog, Makefile.in, dirinfo.c: dirinfo.c (e2fsck_add_dir_info): Use ext2fs_get_num_dirs instead of e2fsck_get_num_dirs, which has been removed. Makefile.in (PROGS): Remove @EXTRA_PROGS@, since we don't want to compile and install flushb. ChangeLog, configure.in: Remove @EXTRA_PROGS@, since we aren't using it in 2fsck/Makefile.in anymore ChangeLog, Makefile.in: Install debugfs in /sbin, instead of /usr/sbin. libext2fs.texinfo: Update version string to be 1.12 Makefile.in: Fix bug in find script which made the exclusion list, where a '-' was missing from an -name option.
* Many files:Theodore Ts'o1997-10-201-7/+7
| | | | | | | Rename io.h to be ext2_io.h (avoid namespace collisions) ChangeLog, resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
* Many files:Theodore Ts'o1997-10-151-2/+1
| | | | | | Use new substitution technology which doesn't depend on shell scripts. (Faster, and better for MS-DOS port!)