File system can be checked though one of below commands in linux system. these can be exeucted to check file system of given or all devices provided you have permission to do so.
1. using "df" disk filesystem command
-bash-3.2$ df -T | awk '{print $1,$2,$NF}' | grep "^/dev"
2. Using "/etc/fstab"
3. Using "mount" command
-bash-3.2$ cat /etc/fstab
3. Using "mount" command
-bash-3.2$ mount | grep "^/dev"
4. Using "file" commandfile -sL /dev/sda15. Using fsck command
fsck -N /dev/sda1
No comments:
Post a Comment