mountpoint
(1)see if a directory or file is a mountpoint
mountpoint [-d|-q] directory|file mountpoint -x device
Options
6-d--fs-devnoShow the major/minor numbers of the device that is mounted on the given directory.
-q--quietBe quiet - don’t print anything.
--nofollowDo not follow symbolic link if it the last element of the directory path.
-x--devnoShow the major/minor numbers of the given blockdevice on standard output.
-h--helpDisplay help text and exit.
-V--versionDisplay version and exit.
DESCRIPTION
EXIT STATUS
ENVIRONMENT
NOTES
AUTHORS
Karel Zak kzak@redhat.com
REPORTING BUGS
For bug reports, use the issue tracker https://github.com/util-linux/util-linux/issues.
AVAILABILITY
The mountpoint command is part of the util-linux package which can be downloaded from Linux Kernel Archive https://www.kernel.org/pub/linux/utils/util-linux/.