CentOS 7.0 - man page for mountpoint (centos section 1)
|Linux & Unix Commands - Search Man Pages
MOUNTPOINT(1) User Commands MOUNTPOINT(1)
mountpoint - see if a directory is a mountpoint
mountpoint [-q] [-d] directory
mountpoint -x device
mountpoint checks if the directory is mentioned in the /proc/self/mountinfo file.
Print help and exit.
Be quiet - don't print anything.
Print major/minor device number of the filesystem on stdout.
Print major/minor device number of the blockdevice on stdout.
Zero if the directory is a mountpoint, non-zero if not.
Karel Zak <firstname.lastname@example.org>
enables debug output.
The util-linux mountpoint implementation was written from scratch for libmount. The origi-
nal version for sysvinit suite was written by Miquel van Smoorenburg.
The mountpoint command is part of the util-linux package and is available from
util-linux June 2011 MOUNTPOINT(1)
All times are GMT -4. The time now is 06:50 PM.