1MOUNTPOINT(1)                    User Commands                   MOUNTPOINT(1)
2
3
4

NAME

6       mountpoint - see if a directory is a mountpoint
7

SYNOPSIS

9       mountpoint [-q] [-d] directory
10
11       mountpoint -x device
12
13

DESCRIPTION

15       mountpoint    checks   if   the   directory   is   mentioned   in   the
16       /proc/self/mountinfo file.
17

OPTIONS

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

EXIT STATUS

32       Zero if the directory is a mountpoint, non-zero if not.
33

AUTHOR

35       Karel Zak <kzak@redhat.com>
36

ENVIRONMENT

38       LIBMOUNT_DEBUG=0xffff
39              enables debug output.
40

NOTES

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

SEE ALSO

48       mount(8)
49

AVAILABILITY

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)
Impressum