]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: Update man page Synopsis
authorMarcel Waldvogel <marcel.waldvogel@trifence.ch>
Mon, 8 Jun 2020 12:30:03 +0000 (14:30 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Jun 2020 12:30:03 +0000 (14:30 +0200)
Document
- `-t` when listing mounts
- `--bind`, `--rbind`, and `--move`
- `--make-*`
- Mountpoints need not only be directories

[kzak@redhat.com: - cleanup syntax,
  - use all complete --make-* list]

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mount.8

index 082fa1719e34c7f62ad26dc1afa38931e0f941c2..e4ded7e5df130da0e4c5835c0f71de76319f37dc 100644 (file)
 mount \- mount a filesystem
 .SH SYNOPSIS
 .B mount
-.RB [ \-l | \-h | \-V ]
+.RB [ \-h | \-V ]
+.LP
+.B mount
+.RB [ \-l ]
+.RB [ \-t
+.IR fstype ]
 .LP
 .B mount \-a
 .RB [ \-fFnrsvw ]
@@ -45,7 +50,7 @@ mount \- mount a filesystem
 .RB [ \-fnrsvw ]
 .RB [ \-o
 .IR options ]
-.IR device | dir
+.IR device | mountpoint
 .LP
 .B mount
 .RB [ \-fnrsvw ]
@@ -53,7 +58,15 @@ mount \- mount a filesystem
 .IB fstype ]
 .RB [ \-o
 .IR options ]
-.I device dir
+.I device mountpoint
+.LP
+.B mount
+.RB \-\-bind | \-\-rbind | \-\-move
+.I olddir newdir
+.LP
+.B mount
+.RB \-\-make\-{shared|slave|private|unbindable|rshared|rslave|rprivate|runbindable}
+.I mountpoint
 .SH DESCRIPTION
 All files accessible in a Unix system are arranged in one big
 tree, the file hierarchy, rooted at