Saturday, March 9, 2013

Identify File System of your Linux Machine


There are four hot way through which you can identify the File system of your Linux Machine. Lets go through them one by one.

Note: My Linux Machine is Mounted on /dev/sda5

1. Using fsck command

$ sudo fsck -N /dev/sda5
fsck from util-linux 2.20.1
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 /dev/sda5
2. Using file Command

$ sudo file -sL /dev/sda5
/dev/sda5: Linux rev 1.0 ext4 filesystem data, UUID

0 comments:

Post a Comment