ubase

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

mountpoint.1 (514B)


      1 .Dd February 2, 2015
      2 .Dt MOUNTPOINT 1
      3 .Os ubase
      4 .Sh NAME
      5 .Nm mountpoint
      6 .Nd check if a directory is a mountpoint
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl dq
     10 .Ar directory
     11 .Nm
     12 .Fl x Ar device
     13 .Sh DESCRIPTION
     14 .Nm
     15 checks if the
     16 .Ar directory
     17 is mentioned in the
     18 .Pa /proc/mounts
     19 file.
     20 .Sh OPTIONS
     21 .Bl -tag -width Ds
     22 .It Fl d
     23 Print the major/minor device number of the filesystem on stdout.
     24 .It Fl q
     25 Be quiet, don't print anything.
     26 .It Fl x
     27 Print the major/minor device number of the
     28 .Ar device
     29 on stdout.
     30 .El
     31 .Sh SEE ALSO
     32 .Xr mount 8