ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 1c0267ef8e5c76f2043690bcdd03c2a0ebc269cc
parent 7493628e522568854e8e607aef4d65061b945354
Author: sin <sin@2f30.org>
Date:   Sat, 12 Apr 2014 15:11:41 +0100

Add mountpoint manpage

Diffstat:
Amountpoint.1 | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/mountpoint.1 b/mountpoint.1 @@ -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)