2014-04-12 14:11:41 +00: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 15:40:40 +00:00
|
|
|
\fB-d\fR
|
|
|
|
Print the major/minor device number of the filesystem on stdout.
|
2014-04-12 14:11:41 +00:00
|
|
|
.TP
|
2014-04-13 15:40:40 +00:00
|
|
|
\fB-q\fR
|
|
|
|
Be quiet, don't print anything.
|
2014-04-12 14:11:41 +00:00
|
|
|
.TP
|
2014-04-13 16:00:22 +00:00
|
|
|
\fB-x\fR
|
|
|
|
Print the major/minor device number of the \fIdevice\fR on stdout.
|
2014-04-12 14:11:41 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
mount(8)
|