2015-02-02 17:34:26 +00:00
|
|
|
.Dd February 2, 2015
|
|
|
|
.Dt MOUNTPOINT 1
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mountpoint
|
|
|
|
.Nd check if a directory is a mountpoint
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl dq
|
|
|
|
.Ar directory
|
|
|
|
.Nm
|
|
|
|
.Fl x Ar device
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
checks if the
|
|
|
|
.Ar directory
|
|
|
|
is mentioned in the
|
|
|
|
.Pa /proc/mounts
|
|
|
|
file.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl d
|
2014-04-13 15:40:40 +00:00
|
|
|
Print the major/minor device number of the filesystem on stdout.
|
2015-02-02 17:34:26 +00:00
|
|
|
.It Fl q
|
2014-04-13 15:40:40 +00:00
|
|
|
Be quiet, don't print anything.
|
2015-02-02 17:34:26 +00:00
|
|
|
.It Fl x
|
|
|
|
Print the major/minor device number of the
|
|
|
|
.Ar device
|
|
|
|
on stdout.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 8
|