36 lines
1.1 KiB
Groff
36 lines
1.1 KiB
Groff
.ie \n(.g .ds Aq \(aq
|
||
.el .ds Aq '
|
||
.TH mountpoint 1 "mountpoint "
|
||
.SH NAME
|
||
mountpoint \- see if a directory or file is a mountpoint
|
||
.SH SYNOPSIS
|
||
\fBmountpoint\fR [\fB\-d\fR|\fB\-\-fs\-devno\fR] [\fB\-x\fR|\fB\-\-devno\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIfile\fR>
|
||
.SH DESCRIPTION
|
||
see if a directory or file is a mountpoint
|
||
.SH OPTIONS
|
||
.TP
|
||
\fB\-d\fR, \fB\-\-fs\-devno\fR
|
||
Show the major/minor numbers of the device that is mounted on the given directory.
|
||
.TP
|
||
\fB\-x\fR, \fB\-\-devno\fR
|
||
Show the major/minor numbers of the given blockdevice on standard output.
|
||
.TP
|
||
\fB\-q\fR, \fB\-\-quiet\fR
|
||
Be quiet \- don’t print anything.
|
||
.TP
|
||
\fB\-h\fR, \fB\-\-help\fR
|
||
Print help (see a summary with \*(Aq\-h\*(Aq)
|
||
.TP
|
||
<\fIfile\fR>
|
||
|
||
.SH EXTRA
|
||
EXIT STATUS
|
||
0
|
||
success: the directory is a mountpoint, or device is a blockdevice on \-\-devno
|
||
1
|
||
failure: incorrect invocation, permissions or system error
|
||
32
|
||
failure: the directory is not a mountpoint, or device is not a block device on \-\-devno
|
||
.SH AUTHORS
|
||
Nathan Fisher
|