diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2002-05-11 22:13:20 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2002-05-11 22:13:20 -0400 |
| commit | b38cd283637dafff6b39d4b76bf76fa2789eb21f (patch) | |
| tree | 83c03d194141b231e2a73e98c5f49d75dad495f6 /debugfs/debug_cmds.ct | |
| parent | b5ffeadece25f7dca04847dfc013e979fe36e3a6 (diff) | |
| download | platform_external_e2fsprogs-b38cd283637dafff6b39d4b76bf76fa2789eb21f.tar.gz platform_external_e2fsprogs-b38cd283637dafff6b39d4b76bf76fa2789eb21f.tar.bz2 platform_external_e2fsprogs-b38cd283637dafff6b39d4b76bf76fa2789eb21f.zip | |
Add a new command "bmap" to debugfs which calculates the logical->physical block
mapping for a particular inode.
Fixed a bug in the libext2 library which broke ext2fs_bmap if no inode structre
was passed inside for here.
Fixed bad calling parameters to parse_ulong which broken the -b and -s
options to debugfs, as well as do_init, and the testb, setb, clearb functions.
Diffstat (limited to 'debugfs/debug_cmds.ct')
| -rw-r--r-- | debugfs/debug_cmds.ct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index 96d972e58..e1e271600 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -136,5 +136,8 @@ request do_dx_hash, "Calculate the directory hash of a filename", request do_dirsearch, "Search a directory for a particular filename", dirsearch; +request do_bmap, "Calculate the logical->physical block mapping for an inode", + bmap; + end; |
