echo "this is test" >xx

debugfs:  ls -d /root/test1
() . () .. () xx
<> () test.c
debugfs: q

[root@localhost test1]# rm -rf xx
[root@localhost test1]# debugfs
debugfs 1.39 (-May-)
debugfs: open /dev/sda2
debugfs: ls -d /root/test1
() . () .. <> () xx
<> () test.c

debugfs: logdump -i <2985555>
Inode is at group , block , offset
Journal starts at block , transaction
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: bad type Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x00000000 -- Wed Dec ::
atime: 0x00000000 -- Wed Dec ::
mtime: 0x00000000 -- Wed Dec ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779c8c9 -- Sun Jul ::
atime: 0x5779c8c9 -- Sun Jul ::
mtime: 0x5779c8c9 -- Sun Jul ::
dtime: 0x5779c8c9 -- Sun Jul ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779c8c9 -- Sun Jul ::
atime: 0x5779c8c9 -- Sun Jul ::
mtime: 0x5779c8c9 -- Sun Jul ::
dtime: 0x5779c8c9 -- Sun Jul ::
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 logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779ce84 -- Sun Jul ::
atime: 0x5779ce7b -- Sun Jul ::
mtime: 0x5779ce84 -- Sun Jul ::
dtime: 0x5779ce84 -- Sun Jul ::
Blocks:
FS block logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779ce84 -- Sun Jul ::
atime: 0x5779ce7b -- Sun Jul ::
mtime: 0x5779ce84 -- Sun Jul ::
dtime: 0x5779ce84 -- Sun Jul ::
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 logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779d04d -- Sun Jul ::
atime: 0x5779d04d -- Sun Jul ::
mtime: 0x5779d04d -- Sun Jul ::
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 logged at sequence , journal block
(inode block for inode ):
Inode: Type: regular Mode: Flags: 0x0 Generation:
User: Group: Size:
File ACL: Directory ACL:
Links: Blockcount:
Fragment: Address: Number: Size:
ctime: 0x5779d107 -- Sun Jul ::
atime: 0x5779d05b -- Sun Jul ::
mtime: 0x5779d107 -- Sun Jul ::
dtime: 0x5779d107 -- Sun Jul ::
Blocks:
No magic number at block : end of journal.
debugfs: q [root@localhost test1]# dd if=/dev/sda2 of=/tmp/test.txt bs= count= skip=
记录了1+ 的读入
记录了1+ 的写出
4096字节(4.1 kB)已复制,0.18169 秒,22.5 kB/秒
[root@localhost test1]# cat /tmp/test.txt
runcon () - run command with specified security context
dirname () - strip last component from file name
pwd () - print name of current/working directory
nohup () - run a command immune to hangups, with output to a non-tty
cp () - copy files and directories
sort () - sort lines of text files
readlink () - print value of a symbolic link or canonical file name
expand () - convert tabs to spaces
tac () - concatenate and print files in reverse
gdb () - The GNU Debugger
irb () - Interactive Ruby Shell
od () - dump files in octal and other formats
sha1sum () - compute and check SHA1 message digest
tsort () - perform topological sort
stat () - display file or file system status
libtoolize () - manual page for libtoolize 2.4.4.19-fda4
fold () - wrap each input line to fit in specified width
csplit () - split a file into sections determined by context lines
stdbuf () - Run COMMAND, with modified buffering operations for its standard streams
du () - estimate file space usage
pinky () - lightweight finger
df () - report file system disk space usage
iostat () - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions
mpstat () - Report processors related statistics
uptime () - tell how long the system has been running
split () - split a file into pieces
paste () - merge lines of files
dd () - convert and copy a file
kill () - send signals to processes, or list signals
join () - join lines of two files on a common field
timeout () - run a command with a time limit
factor () - factor numbers
md5sum () - compute and check MD5 message digest
pidstat () - Report statistics for Linux tasks
python [python2] () - an interpreted, interactive, object-oriented programming language
ln () - make links between files
stty () - change and print terminal line settings
touch () - change file timestamps
mkfifo () - make FIFOs (named pipes)
vdir () - list directory contents
mkdir () - make directories
yes () - output a string repeatedly until killed
sha256sum () - compute and check SHA256 message digest
dir () - list directory contents
who () - show who is logged on
false () - do nothing, unsuccessfully
shred () - overwrite a file to hide its contents, and optionally delete it
sha224sum () - compute and check SHA224 message digest
expr () - evaluate expressions
mktemp () - create a temporary file or directory
seq () - print a sequence of numbers
basename () - strip directory and suffix from filenames
fmt () - simple optimal text formatter
rm () - remove files or directories
unexpand () - convert spaces to tabs
comm () - compare two sorted files line by line
gcore () - Generate a core file of a running program
cat () - concatenate files and print on the standard output
groups () - print the groups a user is in
mv () - move (rename) files
cut () - remove sections from each line of files
sync () - flush file system buffers
pr () - convert text files for printing
uname () - print system information
tee () - read from st[root@localhost test1]# [root@localhost test1]# dd if=/dev/sda2 of=/tmp/test.txt bs= count= skip=
记录了1+ 的读入
记录了1+ 的写出
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= count= skip=
记录了1+ 的读入
记录了1+ 的写出
4096字节(4.1 kB)已复制,0.182695 秒,22.4 kB/秒
[root@localhost test1]# cat /tmp/test.txt
this is test
[root@localhost test1]#

debugfs恢复文件的更多相关文章

  1. Git学习之路(4)- 撤销操作、删除文件和恢复文件

    ▓▓▓▓▓▓ 大致介绍 经过前面的学习(小白学Git)已经建立了版本库,并上传了文件,这次来学习对这些文件进行基本的操作,即: ◆ 撤销操作 ◆ 删除文件 ◆ 恢复文件 我在此之前,已经将三个文件提交 ...

  2. Git 撤销操作、删除文件和恢复文件

    大致介绍 经过前面的学习,已经建立了版本库,并上传了文件,这次来学习对这些文件进行基本的操作,即: ◆ 撤销操作 ◆ 删除文件 ◆ 恢复文件 我在此之前,已经将三个文件提交到了版本库 撤销操作 撤销操 ...

  3. Git删除和恢复文件

    删除文件: 如果你在本地删除了一个文件但是没有提交到版本库,这时你用 $ git status命令会看到提示: 如果需要从版本库中删除该文件,则需要用 $ git rm 和 $ git commit ...

  4. Linux : 使用 lsof 恢复文件

    用 lsof 命令在某种程度上可以恢复删除的文件, 前提是这个文件被正在运行的进程占用. 比如: 日志文件, 配置文件. lsof 恢复文件 查找需要恢复的文件和占用文件的进程 PID lsof |g ...

  5. 在 Linux 系统下使用 PhotoRec & TestDisk 工具来恢复文件

    当你在系统中有意或无意地使用 shift + delete 组合键.删除选项,或是清空回收站的方式来删除一个文件时,该文件的内容并没有从硬盘(或是其它存储设备)上直接销毁. 它仅仅是从系统的目录结构中 ...

  6. TestDisk 数据恢复 重建分区表恢复文件-恢复diskpart clean

    source:http://www.cgsecurity.org/wiki/TestDisk_CN TestDisk 是一款开源软件,受GNU General Public License (GPL ...

  7. Git-第三篇廖雪峰Git教程学习笔记(2)回退修改,恢复文件

    1.工作区 C:\fyliu\lfyTemp\gitLocalRepository\yangjie 2.版本库 我们使用git init命令创建的.git就是我们的版本库.Git的版本库里存了很多东西 ...

  8. PHP中使用 TUS 协议来实现可恢复文件上传

    曾经尝试过用PHP上传大文件吗?想知道您是否可以从上次中断的地方继续上传,而不会在遇到任何中断的情况下再次重新上传整个数据?如果您觉得这个场景很熟悉,请接着往下阅读. 文件上传是我们几乎所有现代Web ...

  9. 在linux下使用debugfs恢复rm删除的文件

    原理主要是删除的文件并没有实际上从硬盘上摸去,只是inode索引删除了相关的信息,因此只要找到刚删除文件的block上,就可以恢复已经删除的文件. 以下方法在ext3的文件系统上测试通过,ext2的没 ...

随机推荐

  1. 基于msys2工具集,自编译gcc-6.2.0、Qt-5.6.1-1和Qt-4.8.7(有nuwen.net网站提供的脚本)

    好久没更新(其实大可不要经常更新吧),一直都是用Qt4,最近想着转向Qt5了,msys2是自带Qt的,但工具链经常会更新,依赖也较多,简便才方便,做了最后一组Qt工具的更新,如题,Qt-4.8.7作为 ...

  2. NIS 服务器

    有没有想过,如果我有十部 Linux 主机,这十部主机仅负责不同的功能,事实上, 所有的主机账号与对应的密码都相同!那么我是将账号与密码分别设定置在十部计算机上面, 还是可以透过一部主机做为账号管理的 ...

  3. MPlayer

    名称   mplayer − 电影播放器 mencoder − 电影编解码器 概要   mplayer [选项] [文件|URL|播放列表|−] mplayer [选项] 文件1 [指定选项] [文件 ...

  4. java里的静态变量是放在了堆内存还是栈内存?

    堆区: 1.存储的全部是对象,每个对象都包含一个与之对应的class的信息.(class的目的是得到操作指令) 2.jvm只有一个堆区(heap)被所有线程共享,堆中不存放基本类型和对象引用,只存放对 ...

  5. [HDU POJ] 逆序数

    HDU 1394 Minimum Inversion Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/3276 ...

  6. 【转】was mutated while being enumerated 你是不是以为你真的懂For...in... ??

    原文网址:http://www.jianshu.com/p/ad80d9443a92 支持原创,如需转载, 请注明出处你是不是以为你真的懂For...in... ??哈哈哈哈, 我也碰到了这个报错 . ...

  7. Dell笔记本禁用触摸板的方法

    一·找到触摸板驱动所在的文件夹(其他型号 的本本,请自己探索一下,找到驱动在哪就行),一般 在 C:\program files\delltpad 中(若没有请下载安 装 ),如图: 二·双击 Del ...

  8. NameValueCollection类

    最近在研究HttpRequest类,发现里面的很多属性都返回一个NameValueCollection对象,今天再来了解一下这个神秘的对象. 随便写了个例子,发现跟HashTable类似.但是这个东西 ...

  9. SSL双向认证(高清版)

    介绍了SSL双向认证的一些基本问题,以及使用Nginx+PHP基于它搭建https的Webservice. 之前的方式只是实现1:1的模式,昨天同事继续实现了n:1的模式,这里我再整理记录下. 由于n ...

  10. Apache设置防DDOS模块mod_evasive

    mod_evasive 是Apache(httpd)服务器的防DDOS的一个模块.对于WEB服务器来说,是目前比较好的一个防护DDOS攻击的扩展模块.虽然并不能完全防御 DDOS攻击,但在一定条件下, ...