GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MOUNTPOINT(1) User Commands MOUNTPOINT(1)

mountpoint - see if a directory is a mountpoint

mountpoint [-q] [-d] directory

mountpoint -x device

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

-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.

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

Karel Zak <kzak@redhat.com>

LIBMOUNT_DEBUG=0xffff
enables debug output.

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

mount(8)

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

June 2011 util-linux

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.