Tuesday, November 26, 2013

Easy learn linux command line- Part 19

Hello, after some months we want to learn about File system Analysis, to night.
we learn how to check or repair integrity of Variable file system in gnu\linux.

Command
Description
# badblocks -v /dev/hda1
check bad blocks on disk hda1    
# dosfsck /dev/hda1
repair / check integrity of dos filesystems on disk hda1  
# e2fsck /dev/hda1
repair / check integrity of ext2 filesystem on disk hda1  
# e2fsck -j /dev/hda1
repair / check integrity of ext3 filesystem on disk hda1  
# fsck /dev/hda1
repair / check integrity of linux filesystem on disk hda1  
# fsck.ext2 /dev/hda1
repair / check integrity of ext2 filesystem on disk hda1  
# fsck.ext3 /dev/hda1
repair / check integrity of ext3 filesystem on disk hda1  
# fsck.vfat /dev/hda1
repair / check integrity of fat filesystem on disk hda1  
# fsck.msdos /dev/hda1
repair / check integrity of dos filesystem on disk hda1  

No comments: