日期:2014-05-16 浏览次数:20806 次
#mkfs.ext2 /dev/sdb2 #mount /dev/sdb2 /mnt/sdb2 #cd /mnt/sdb2 #vim test i输入haha :wq保存 #rm test #cd .. #umount /mnt/sdb2 #mount -r -n /dev/sdb2 /mnt/sdb2 #debugfs /dev/sdb2 debugfs:lsdel Inode Owner Mode Size Blocks Time deleted 13 0 100600 5 1/ 2011 debugfs:dump <13> /mnt/test debugfs:quit 就把test文件还原了 #file test test:ASCII test