Mount points (Linux)

Linux differs from Windows with creating just a single directory tree for all partitions.


Request all mount points

user@DeveloperVM:~$ df -aTh
Filesystem     Type             Size  Used Avail Use% Mounted on
sysfs          sysfs               0     0     0    - /sys
proc           proc                0     0     0    - /proc
udev           devtmpfs         3,9G     0  3,9G   0% /dev
...
tmpfs          tmpfs            799M  9,1M  790M   2% /run
/dev/sda5      ext4              48G  5,5G   40G  13% /
...
/dev/sda1      ext4             1,9G  118M  1,7G   7% /boot
/dev/sdc1      ext4              99G   24G   70G  26% /home
...

Find mount point of file/directory

user@DeveloperVM:~$ df -Th /bin
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda5      ext4   48G  5,5G   40G  13% /
user@DeveloperVM:~$ df -Th /home/user/Documents/file.txt
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdc1      ext4   99G   24G   70G  26% /home