Add mountpoint manpage

This commit is contained in:
sin 2014-04-12 15:11:41 +01:00
parent 7493628e52
commit 1c0267ef8e

19
mountpoint.1 Normal file
View File

@ -0,0 +1,19 @@
.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
\fB-d\fR Print the major/minor device number of the filesystem on stdout.
.TP
\fB-q\fR Be quiet, don't print anything.
.TP
\fB-x\fR Print the major/minor device number of the \fIdevice\fR on stdout.
.SH SEE ALSO
mount(8)