Modification time [0×31a9a574]
Access time [0×31a21dd1]
Deletion time [0×31a9a574] 0
Link count [0] 1
Block count [38]
File flags [0×0]
Reserved1 [0]
File acl [0]
Directory acl [0]
Fragment address [0]
Fragment number [0]
Fragment size [0]
Direct Block #0 [594810]
…………………………….
Triple Indirect Block [0]
使用mi指令後每次顯示一行信息以供編輯,其它行可以直接按回車表示確認,把deletion time改成0(未刪除),Link count改成1。改好後退出debugfs:
debugfs:quit
然後用fsck檢查/dev/hda5
fsck /dev/hda5
程序會說找到丟失的數據塊,放在lost+found裡面。