Flash Notes
Commands - Filesystem type
• How to determine the type of a mounted filesystem ?
Solution
df -T
Example 1
$ df -T /dev/sda1 /dev/sda1 ext3 1922859912 1750539060 74645176 96% /DATA3
Man pages
-
df(1) - Debian 7.5.0 (amd64)
df(1) - Debian 7.4.0 (amd64)
df(1) - Debian 7.3 (amd64)
df(1) - Debian 7.2.0 (amd64)
df(1) - Debian 7.1 (amd64)
• How to determine the type of an unmounted filesystem ?
Solution
blkid device
Example 1
# blkid /dev/sda1 /dev/sda1: LABEL="/DATA3" UUID="c96520cf-94e6-4967-b4a1-bcdcef1fadb7" TYPE="ext3" SEC_TYPE="ext2"
Man pages
-
http://man.flashnux.com/en/debian/7/7.5.0/man1/blkid.1.html