Under Linux there is no concept of letter, but each partition by mounting the directory (mount point) to access the actual disk partitions , sometimes we want to know a file or directory is on which partition,
There are several ways:
1, the most simple, direct df -h directory name
For example, I want to see under the working directory baidupan which partition directory
# df -h baidupan
We can see, baidupan partition under vda1
2, -l or df view with fdisk partition mounted, the mount or may be directly input by cat / etc / mtab, then find the closest pwd mount point information