How to identify a filesystem type in Linux System
There are multiple ways to determine the file system type in a Linux Based Environment
1) df -Th
for this to work the filesystem should be mounted
2) fsck -N /dev/device
Example:
fsck -N /dev/sdb2
3) lsblk -f
Displays the block device with filesystem type details
4) mount |grep -i "device"
Example:
mount| grep -i "sdb2"
5) blkid /dev/device
Example:
blkid /dev/sdb2
6) cat /etc/fstab
This would only work if the filesystem is updated in fstab.
Post a Comment
Post a Comment