标签:
echo "this is test" >xx
debugfs: ls -d /root/test1 2985554 (12) . 2949121 (12) .. 2985555 (4072) xx <2985556> (4052) test.c debugfs: q
[root@localhost test1]# rm -rf xx
[root@localhost test1]# debugfs debugfs 1.39 (29-May-2006)
debugfs: open /dev/sda2
debugfs: ls -d /root/test1 2985554 (12) . 2949121 (4084) .. <2985555> (4072) xx <2985556> (4052) test.c
debugfs: logdump -i <2985555>
Inode 2985555 is at group 91, block 2982004, offset 2304 Journal starts at block 1, transaction 2007362 FS block 2982004 logged at sequence 2007478, journal block 6703 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007508, journal block 6952 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007509, journal block 6989 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007510, journal block 7071 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007511, journal block 7161 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007512, journal block 7258 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007513, journal block 7338 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007514, journal block 7438 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007515, journal block 7534 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007516, journal block 7614 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007517, journal block 7664 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007518, journal block 7745 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007519, journal block 7817 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007520, journal block 7902 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007521, journal block 7919 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007522, journal block 7940 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007523, journal block 8033 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007524, journal block 8140 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007525, journal block 8240 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007526, journal block 8353 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007527, journal block 8469 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007528, journal block 8556 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007529, journal block 8671 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007530, journal block 8788 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007531, journal block 8900 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007532, journal block 9015 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007533, journal block 9119 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007534, journal block 9234 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007535, journal block 9340 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007536, journal block 9448 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007537, journal block 9549 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007538, journal block 9642 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007539, journal block 9747 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007540, journal block 9858 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007541, journal block 9960 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007542, journal block 10054 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007543, journal block 10157 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007544, journal block 10270 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007545, journal block 10392 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007546, journal block 10491 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007547, journal block 10531 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007548, journal block 10573 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007549, journal block 10617 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007550, journal block 10657 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007551, journal block 10698 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007552, journal block 10741 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007553, journal block 10812 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007554, journal block 10875 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007555, journal block 10893 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007592, journal block 11231 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007593, journal block 11241 (inode block for inode 2985555): Inode: 2985555 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 16:00:00 1969 atime: 0x00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 16:00:00 1969 Blocks: FS block 2982004 logged at sequence 2007604, journal block 11305 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235601 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 atime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 mtime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 dtime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 Blocks: FS block 2982004 logged at sequence 2007640, journal block 11501 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235601 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 atime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 mtime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 dtime: 0x5779c8c9 -- Sun Jul 3 19:24:09 2016 Blocks: FS block 2982004 logged at sequence 2007641, journal block 11510 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235618 User: 0 Group: 0 Size: 4096 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 8 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779ce7e -- Sun Jul 3 19:48:30 2016 atime: 0x5779ce7b -- Sun Jul 3 19:48:27 2016 mtime: 0x5779ce7e -- Sun Jul 3 19:48:30 2016 Blocks: (0+1): 2982917 FS block 2982004 logged at sequence 2007642, journal block 11518 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235618 User: 0 Group: 0 Size: 4096 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 8 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779ce7e -- Sun Jul 3 19:48:30 2016 atime: 0x5779ce7b -- Sun Jul 3 19:48:27 2016 mtime: 0x5779ce7e -- Sun Jul 3 19:48:30 2016 Blocks: (0+1): 2982917 FS block 2982004 logged at sequence 2007643, journal block 11523 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235618 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 atime: 0x5779ce7b -- Sun Jul 3 19:48:27 2016 mtime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 dtime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 Blocks: FS block 2982004 logged at sequence 2007644, journal block 11532 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0600 Flags: 0x0 Generation: 73235618 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 atime: 0x5779ce7b -- Sun Jul 3 19:48:27 2016 mtime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 dtime: 0x5779ce84 -- Sun Jul 3 19:48:36 2016 Blocks: FS block 2982004 logged at sequence 2007646, journal block 11543 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0755 Flags: 0x0 Generation: 2076742624 User: 0 Group: 0 Size: 1840 File ACL: 1737758 Directory ACL: 0 Links: 1 Blockcount: 16 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5591e472 -- Mon Jun 29 17:36:02 2015 atime: 0x4125400c -- Thu Aug 19 17:04:28 2004 mtime: 0x4125400c -- Thu Aug 19 17:04:28 2004 Blocks: (0+1): 1786131 FS block 2982004 logged at sequence 2007647, journal block 11548 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0644 Flags: 0x0 Generation: 73235620 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779d04d -- Sun Jul 3 19:56:13 2016 atime: 0x5779d04d -- Sun Jul 3 19:56:13 2016 mtime: 0x5779d04d -- Sun Jul 3 19:56:13 2016 Blocks: FS block 2982004 logged at sequence 2007648, journal block 11552 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0644 Flags: 0x0 Generation: 73235620 User: 0 Group: 0 Size: 13 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 8 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779d058 -- Sun Jul 3 19:56:24 2016 atime: 0x5779d05b -- Sun Jul 3 19:56:27 2016 mtime: 0x5779d058 -- Sun Jul 3 19:56:24 2016 Blocks: (0+1): 3611744 FS block 2982004 logged at sequence 2007651, journal block 11578 (inode block for inode 2985555): Inode: 2985555 Type: regular Mode: 0644 Flags: 0x0 Generation: 73235620 User: 0 Group: 0 Size: 0 File ACL: 0 Directory ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5779d107 -- Sun Jul 3 19:59:19 2016 atime: 0x5779d05b -- Sun Jul 3 19:56:27 2016 mtime: 0x5779d107 -- Sun Jul 3 19:59:19 2016 dtime: 0x5779d107 -- Sun Jul 3 19:59:19 2016 Blocks: No magic number at block 11719: end of journal. debugfs: q
[root@localhost test1]# dd if=/dev/sda2 of=/tmp/test.txt bs=4096 count=1 skip=2982917 记录了1+0 的读入 记录了1+0 的写出 4096字节(4.1 kB)已复制,0.18169 秒,22.5 kB/秒 [root@localhost test1]# cat /tmp/test.txt runcon (1) - run command with specified security context dirname (1) - strip last component from file name pwd (1) - print name of current/working directory nohup (1) - run a command immune to hangups, with output to a non-tty cp (1) - copy files and directories sort (1) - sort lines of text files readlink (1) - print value of a symbolic link or canonical file name expand (1) - convert tabs to spaces tac (1) - concatenate and print files in reverse gdb (1) - The GNU Debugger irb (1) - Interactive Ruby Shell od (1) - dump files in octal and other formats sha1sum (1) - compute and check SHA1 message digest tsort (1) - perform topological sort stat (1) - display file or file system status libtoolize (1) - manual page for libtoolize 2.4.4.19-fda4 fold (1) - wrap each input line to fit in specified width csplit (1) - split a file into sections determined by context lines stdbuf (1) - Run COMMAND, with modified buffering operations for its standard streams du (1) - estimate file space usage pinky (1) - lightweight finger df (1) - report file system disk space usage iostat (1) - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions mpstat (1) - Report processors related statistics uptime (1) - tell how long the system has been running split (1) - split a file into pieces paste (1) - merge lines of files dd (1) - convert and copy a file kill (1) - send signals to processes, or list signals join (1) - join lines of two files on a common field timeout (1) - run a command with a time limit factor (1) - factor numbers md5sum (1) - compute and check MD5 message digest pidstat (1) - Report statistics for Linux tasks python [python2] (1) - an interpreted, interactive, object-oriented programming language ln (1) - make links between files stty (1) - change and print terminal line settings touch (1) - change file timestamps mkfifo (1) - make FIFOs (named pipes) vdir (1) - list directory contents mkdir (1) - make directories yes (1) - output a string repeatedly until killed sha256sum (1) - compute and check SHA256 message digest dir (1) - list directory contents who (1) - show who is logged on false (1) - do nothing, unsuccessfully shred (1) - overwrite a file to hide its contents, and optionally delete it sha224sum (1) - compute and check SHA224 message digest expr (1) - evaluate expressions mktemp (1) - create a temporary file or directory seq (1) - print a sequence of numbers basename (1) - strip directory and suffix from filenames fmt (1) - simple optimal text formatter rm (1) - remove files or directories unexpand (1) - convert spaces to tabs comm (1) - compare two sorted files line by line gcore (1) - Generate a core file of a running program cat (1) - concatenate files and print on the standard output groups (1) - print the groups a user is in mv (1) - move (rename) files cut (1) - remove sections from each line of files sync (1) - flush file system buffers pr (1) - convert text files for printing uname (1) - print system information tee (1) - read from st[root@localhost test1]#
[root@localhost test1]# dd if=/dev/sda2 of=/tmp/test.txt bs=4096 count=1 skip=1786131 记录了1+0 的读入 记录了1+0 的写出 4096字节(4.1 kB)已复制,0.184362 秒,22.2 kB/秒 [root@localhost test1]# cat /tmp/test.txt import pygtk pygtk.require(‘2.0‘) import gtk import os def InputBox(title, label, parent, text=‘‘): dlg = gtk.Dialog(title, parent, gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_OK, gtk.RESPONSE_OK, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)) lbl = gtk.Label(label) lbl.show() dlg.vbox.pack_start(lbl) entry = gtk.Entry() if text: entry.set_text(text) entry.show() dlg.vbox.pack_start(entry, False) resp = dlg.run() text = entry.get_text() dlg.hide() if resp == gtk.RESPONSE_CANCEL: return None return text def OpenFile(title, parent=None, dirname=None, fname=None): dlg = gtk.FileChooserDialog(title, parent, buttons=(gtk.STOCK_OK, gtk.RESPONSE_OK, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)) if fname: dlg.set_current_folder(os.path.dirname(fname)) elif dirname: dlg.set_current_folder(dirname) dlg.set_local_only(True) resp = dlg.run() fname = dlg.get_filename() dlg.hide() if resp == gtk.RESPONSE_CANCEL: return None return fname def SaveFile(title, parent=None, dirname=None, fname=None): dlg = gtk.FileChooserDialog(title, parent, gtk.FILE_CHOOSER_ACTION_SAVE, buttons=(gtk.STOCK_OK, gtk.RESPONSE_OK, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)) if fname: dlg.set_filename(fname) elif dirname: dlg.set_current_folder(dirname) dlg.set_local_only(True) resp = dlg.run() fname = dlg.get_filename() dlg.hide() if resp == gtk.RESPONSE_CANCEL: return None return fname
[root@localhost test1]# dd if=/dev/sda2 of=/tmp/test.txt bs=4096 count=1 skip=3611744 记录了1+0 的读入 记录了1+0 的写出 4096字节(4.1 kB)已复制,0.182695 秒,22.4 kB/秒 [root@localhost test1]# cat /tmp/test.txt this is test [root@localhost test1]#
标签:
原文地址:http://www.cnblogs.com/zengkefu/p/5639923.html