1
0
mirror of git://git.suckless.org/ubase synced 2024-12-18 04:34:43 +00:00
ubase/mountpoint.1

33 lines
514 B
Groff
Raw Normal View History

.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.
.It Fl q
2014-04-13 15:40:40 +00:00
Be quiet, don't print anything.
.It Fl x
Print the major/minor device number of the
.Ar device
on stdout.
.El
.Sh SEE ALSO
.Xr mount 8