I have an NFS share which is shared across about two other machines. I recently realized that one of the servers isn't sharing the directory and is keeping files all for itself. Is there a way to see if the NFS share is mounted in the directory I think it is in?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
Maybe you are looking for
When you are in the directory you want to know the mountpoint of? |
|||||
|
|
Straphka idea to use df will work well if you add some flags like the -T that shows filesystem type, (and maybe the -P for posix compability). And to top it off we can use awk to filter the output so we only print the type output column.
or if you like to check up on a dir called smb/media/ in your homedir.
|
|||
|
|
mountcommand? – andcoz Sep 12 '11 at 1:16mount -lworks ;) – TK Kocheran Sep 12 '11 at 21:16