I can print current directory using pwd, but this gives me the path I navigated to get to where I am. I need on which disk/partition current directory is on.
For example, if I create symlink user@pc:~$ ln -s /media/HD1 hard_disk and then navigate to ~/hard_disk and run pwd it will print /home/user/hard_disk.
I would like to get the actual path I'm currently on or better just the actual filesystem I'm currently on, which corresponds to one in df.