Is there a way to find out which partition a directory is located in?
I know I can use df
to list partitions and mount points but I need to be able to find out which partition any directory is located in with a simple command.
bashlinux
Is there a way to find out which partition a directory is located in?
I know I can use df
to list partitions and mount points but I need to be able to find out which partition any directory is located in with a simple command.
Best Answer
gives you:
so you have 'mounted on' for that dir