Unix/Linux Go Back    


CentOS 7.0 - man page for mountpoint (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


MOUNTPOINT(1)				  User Commands 			    MOUNTPOINT(1)

NAME
       mountpoint - see if a directory is a mountpoint

SYNOPSIS
       mountpoint [-q] [-d] directory

       mountpoint -x device

DESCRIPTION
       mountpoint checks if the directory is mentioned in the /proc/self/mountinfo file.

OPTIONS
       -h, --help
	      Print help and exit.

       -q, --quiet
	      Be quiet - don't print anything.

       -d, --fs-devno
	      Print major/minor device number of the filesystem on stdout.

       -x, --devno
	      Print major/minor device number of the blockdevice on stdout.

EXIT STATUS
       Zero if the directory is a mountpoint, non-zero if not.

AUTHOR
       Karel Zak <kzak@redhat.com>

ENVIRONMENT
       LIBMOUNT_DEBUG=0xffff
	      enables debug output.

NOTES
       The util-linux mountpoint implementation was written from scratch for libmount. The origi-
       nal version for sysvinit suite was written by Miquel van Smoorenburg.

SEE ALSO
       mount(8)

AVAILABILITY
       The  mountpoint	command  is  part  of  the  util-linux	package  and  is  available  from
       ftp://ftp.kernel.org/pub/linux/utils/util-linux/.

util-linux				    June 2011				    MOUNTPOINT(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 06:50 PM.