summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorKarel Zak2013-04-05 12:32:34 +0200
committerKarel Zak2013-04-05 12:32:34 +0200
commit6d402bbedc9b752c96f85f04266010ce819b2ba5 (patch)
tree7056af680b355b3b04157ef1587f884f2f5d09ae /sys-utils
parentmount: add --show-labels to man page (diff)
downloadkernel-qcow2-util-linux-6d402bbedc9b752c96f85f04266010ce819b2ba5.tar.gz
kernel-qcow2-util-linux-6d402bbedc9b752c96f85f04266010ce819b2ba5.tar.xz
kernel-qcow2-util-linux-6d402bbedc9b752c96f85f04266010ce819b2ba5.zip
mount: add --read-write to man page
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/mount.82
-rw-r--r--sys-utils/mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 4abea5d2f..453860567 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -615,7 +615,7 @@ journal if the filesystem is dirty. To prevent this kind of write access, you
may want to mount ext3 or ext4 filesystem with "ro,noload" mount options or
set the block device to read-only mode, see command
.BR blockdev (8).
-.IP "\fB\-w, \-\-rw\fP"
+.IP "\fB\-w, \-\-rw, \-\-read\-write\fP"
Mount the filesystem read/write. This is the default. A synonym is
.BR "\-o rw" .
.IP "\fB\-L, \-\-label \fIlabel\fP"
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 664c46f6b..8ff94611c 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -720,7 +720,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
fprintf(out, _(
" -v, --verbose say what is being done\n"
" -V, --version display version information and exit\n"
- " -w, --read-write mount the filesystem read-write (default)\n"));
+ " -w, --rw, --read-write mount the filesystem read-write (default)\n"));
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);