From: Karel Zak Date: Fri, 5 Apr 2013 10:32:34 +0000 (+0200) Subject: mount: add --read-write to man page X-Git-Tag: v2.23-rc2~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d402bbedc9b752c96f85f04266010ce819b2ba5;p=thirdparty%2Futil-linux.git mount: add --read-write to man page --- diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 4abea5d2f6..453860567c 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 664c46f6b4..8ff94611c6 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);