--软件下载:
http://ext3grep.googlecode.com/files/ext3grep-0.10.2.tar.gz
--用Xshell复制到/opt目录后解压并编译安装
[root@ora10g ~]# cd /opt/
[root@ora10g opt]# tar -zxvf ext3grep-0.10.2.tar.gz
[root@ora10g opt]# ll
total 500
drwxr-xr-x 3 1000 1000 4096 Aug 26 09:09 ext3grep-0.10.2
-rw-r--r-- 1 root root 236364 Aug 26 09:08 ext3grep-0.10.2.tar.gz
drwxr-xr-x 3 root root 4096 Aug 22 16:44 ORCLfmap
drwxrwxr-x 8 oracle oinstall 4096 Aug 25 11:39 rlwrap-0.37
-rw-r--r-- 1 root root 251438 Aug 25 11:37 rlwrap-0.37.tar.gz
[root@ora10g opt]# cd ext3grep-0.10.2
[root@ora10g ext3grep-0.10.2]# ./configure&&make&&make install
编译过程略……
--查看软件命令使用方法
[root@ora10g ext3grep-0.10.2]# ext3grep --help
Running ext3grep version 0.10.2
Usage: ext3grep [options] [--] device-file
Options:
--version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--superblock Print contents of superblock in addition to the rest.
If no action is specified then this option is implied.
--print Print content of block or inode, if any.
--ls Print directories with only one line per entry.
This option is often needed to turn on filtering.
--accept filen Accept 'filen' as a legal filename. Can be used multi-
ple times. If you change any --accept you must remove
BOTH stage* files!
--accept-all Simply accept everything as filename.
--journal Show content of journal.
--show-path-inodes Show the inode of each directory component in paths.
Filters:
--group grp Only process group 'grp'.
--directory Only process directory inodes.
--after dtime Only entries deleted on or after 'dtime'.
--before dtime Only entries deleted before 'dtime'.
--deleted Only show/process deleted entries.
--allocated Only show/process allocated inodes/blocks.
--unallocated Only show/process unallocated inodes/blocks.
--reallocated Do not suppress entries with reallocated inodes.
Inodes are considered 'reallocated' if the entry
is deleted but the inode is allocated, but also when
the file type in the dir entry and the inode are
different.
--zeroed-inodes Do not suppress entries with zeroed inodes. Linked
entries are always shown, regardless of this option.
--depth depth Process directories recursively up till a depth
of 'depth'.
Actions:
--inode-to-block ino Print the block that contains inode 'ino'.
--inode ino Show info on inode 'ino'.
If --ls is used and the inode is a directory, then
the filters apply to the entries of the directory.
If you do not use --ls then --print is implied.
--block blk Show info on block 'blk'.
If --ls is used and the block is the first block
of a directory, then the filters apply to entries
of the directory.
If you do not use --ls then --print is implied.
--histogram=[atime|ctime|mtime|dtime|group]
Generate a histogram based on the given specs.
Using atime, ctime or mtime will change the
meaning of --after and --before to those times.
--journal-block jblk Show info on journal block 'jblk'.
--journal-transaction seq
Show info on transaction with sequence numbe