1 .TH MOUNTPOINT 1 "Mar 15, 2004" "" "Linux System Administrator's Manual"
3 mountpoint \- see if a directory is a mountpoint
14 \fBMountpoint\fP checks if the directory is a mountpoint.
18 Be quiet - don't print anything.
20 Print major/minor device number of the filesystem on stdout.
22 Print major/minor device number of the blockdevice on stdout.
24 Zero if the directory is a mountpoint, non-zero if not.
26 Symbolic links are not followed, except when the \fB-x\fP option is
27 used. To force following symlinks, add a trailing slash to the
28 path of the directory.
30 The name of the command is misleading when the -x option is used,
31 but the option is useful for comparing if a directory and a device
32 match up, and there is no other command that can print the info easily.
35 Miquel van Smoorenburg, miquels@cistron.nl