1MOUNTPOINT(1) User Commands MOUNTPOINT(1)
2
3
4
6 mountpoint - see if a directory is a mountpoint
7
9 mountpoint [-q] [-d] directory
10
11 mountpoint -x device
12
13
15 mountpoint checks if the directory is mentioned in the
16 /proc/self/mountinfo file.
17
19 -h, --help
20 Print help and exit.
21
22 -q, --quiet
23 Be quiet - don't print anything.
24
25 -d, --fs-devno
26 Print major/minor device number of the filesystem on stdout.
27
28 -x, --devno
29 Print major/minor device number of the blockdevice on stdout.
30
32 Zero if the directory is a mountpoint, non-zero if not.
33
35 Karel Zak <kzak@redhat.com>
36
38 LIBMOUNT_DEBUG=0xffff
39 enables debug output.
40
42 The util-linux mountpoint implementation was written from scratch for
43 libmount. The original version for sysvinit suite was written by Miquel
44 van Smoorenburg.
45
46
48 mount(8)
49
51 The mountpoint command is part of the util-linux package and is availā
52 able from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
53
54
55
56
57util-linux June 2011 MOUNTPOINT(1)