2014-04-12 10:11:41 -04:00
|
|
|
.TH MOUNTPOINT 1 ubase-VERSION
|
|
|
|
.SH NAME
|
|
|
|
\fBmountpoint\fR - Check if a directory is a mountpoint
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBmountpoint\fR [\fB-dq\fR] \fIdirectory\fR
|
|
|
|
.TP
|
|
|
|
\fBmountpoint\fR \fB-x\fR \fIdevice\fR
|
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBmountpoint\fR checks if the \fIdirectory\fR is mentioned in the
|
|
|
|
/proc/mounts file.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-d\fR
|
|
|
|
Print the major/minor device number of the filesystem on stdout.
|
2014-04-12 10:11:41 -04:00
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-q\fR
|
|
|
|
Be quiet, don't print anything.
|
2014-04-12 10:11:41 -04:00
|
|
|
.TP
|
2014-04-13 12:00:22 -04:00
|
|
|
\fB-x\fR
|
|
|
|
Print the major/minor device number of the \fIdevice\fR on stdout.
|
2014-04-12 10:11:41 -04:00
|
|
|
.SH SEE ALSO
|
|
|
|
mount(8)
|