How can you tell what directory is on what file system or mount point.
example:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.9G 2.7G 2.0G 59% /
/dev/sda1 99M 29M 65M 31% /boot
none 131M 0 131M 0% /dev/shm
/dev/sda2 2.0G 110M 1.8G 6% /var/log
bash-2.05b$ pwd
/home/ccsmith
I see there is a file system /dev/sda3 mounted on '/' with 2GB available
But how do I know that /home/ccsmith is also on /dev/sda3. I can tell when I copy files and the available space on '/' shrinks in size.
I am looking for away to tell what mount point a directory is on before I copy files. I was copying files and filled up the file system because I did not understand what file system the directory belonged too.
Truely a newbie question right?
Thanks