1 .TH MOUNTPOINT 1 "August 2019" "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.
32 Do not follow symbolic link if it the last element of the
36 .BR \-x , " \-\-devno"
37 Show the major/minor numbers of the given blockdevice on standard output.
39 .BR \-V , " \-\-version"
40 Display version information and exit.
43 Display help text and exit.
45 Zero if the directory or file is a mountpoint, non-zero if not.
48 Karel Zak <kzak@redhat.com>
50 .IP LIBMOUNT_DEBUG=all
51 enables libmount debug output.
56 implementation was written from scratch for libmount. The original version
57 for sysvinit suite was written by Miquel van Smoorenburg.
62 The mountpoint command is part of the util-linux package and is available from
63 https://www.kernel.org/pub/linux/utils/util-linux/.