1 .TH MOUNTPOINT 1 "July 2014" "util-linux" "User Commands"
3 mountpoint \- see if a directory or file is a mountpoint
17 checks whether the given
21 is mentioned in the /proc/self/mountinfo file.
24 .BR \-d , " \-\-fs\-devno"
25 Show the major/minor numbers of the device that is mounted on the given
28 .BR \-q , " \-\-quiet"
29 Be quiet - don't print anything.
31 .BR \-x , " \-\-devno"
32 Show the major/minor numbers of the given blockdevice on standard output.
34 .BR \-V , " \-\-version"
35 Display version information and exit.
38 Display help text and exit.
40 Zero if the directory or file is a mountpoint, non-zero if not.
43 Karel Zak <kzak@redhat.com>
45 .IP LIBMOUNT_DEBUG=all
46 enables libmount debug output.
51 implementation was written from scratch for libmount. The original version
52 for sysvinit suite was written by Miquel van Smoorenburg.
57 The mountpoint command is part of the util-linux package and is available from
58 https://www.kernel.org/pub/linux/utils/util-linux/.