Query: mountpoint
OS: linux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MOUNTPOINT(1) Linux System Administrator's Manual MOUNTPOINT(1)NAMEmountpoint - see if a directory is a mountpointSYNOPSIS/bin/mountpoint [-q] [-d] /path/to/directory /bin/mountpoint -x /dev/deviceDESCRIPTIONMountpoint 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 STATUSZero if the directory is a mountpoint, non-zero if not.NOTESSymbolic 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.AUTHORMiquel van Smoorenburg, miquels@cistron.nlSEE ALSOstat(1) Mar 15, 2004 MOUNTPOINT(1)
Related Man Pages |
---|
hvmount(1) - debian |
mounting(7) - linux |
mounted(7) - linux |
mounting(7) - debian |
mountpoint(1) - centos |