Thursday, February 4, 2016

filesystem type of a file



So, you have a file and want to know filesystem it is mounted on
do this:

df -T /path/to/the/file 

# df -T ~/test.c
Filesystem                      Type 1K-blocks    Used Available Use% Mounted on
/dev/mapper/fedora--server-root ext4  27187420 3801608  21981704  15% /



No comments:

Post a Comment