mountpoint(1) debian man page | unix.com

Man Page: mountpoint

Operating Environment: debian

Section: 1

MOUNTPOINT(1)						Linux System Administrator's Manual					     MOUNTPOINT(1)

NAME
mountpoint - see if a directory is a mountpoint
SYNOPSIS
/bin/mountpoint [-q] [-d] /path/to/directory /bin/mountpoint -x /dev/device
DESCRIPTION
Mountpoint checks if the directory is a mountpoint.
OPTIONS
-q Be quiet - don't print anything. -d Print major/minor device number of the filesystem on stdout. -x Print major/minor device number of the blockdevice on stdout.
EXIT STATUS
Zero if the directory is a mountpoint, non-zero if not.
NOTES
Symbolic links are not followed, except when the -x option is used. To force following symlinks, add a trailing slash to the path of the directory. The name of the command is misleading when the -x option is used, but the option is useful for comparing if a directory and a device match up, and there is no other command that can print the info easily.
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
SEE ALSO
stat(1) Mar 15, 2004 MOUNTPOINT(1)
Related Man Pages
hvmount(1) - debian
mounting(7) - linux
mounted(7) - linux
mountpoint(1) - centos
ntfs.util(8) - mojave
Similar Topics in the Unix Linux Community
Access problem wiht mountpoint, 5.1 ML6
Determine folder belongs to mountpoint and logical volume
MountPoint / is 8% with 899.49MB free crossing threshold of 10% free
Validate mountpoints on solaris server after server reboot
Creating mountpoint in Linux from rawdevices without lv's