summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-10-22 18:25:49 +0000
committerseanc <seanc@FreeBSD.org>2003-10-22 18:25:49 +0000
commita83559f35e3dd8a3d620c404401745a5813abe71 (patch)
treea8389475afa4aa0c381950ebde8eb6d1f6aee5b7
parent78f757ea792b78a0927795400e65ff20cc9002e7 (diff)
downloadFreeBSD-src-a83559f35e3dd8a3d620c404401745a5813abe71.zip
FreeBSD-src-a83559f35e3dd8a3d620c404401745a5813abe71.tar.gz
Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro"
instead of "rdonly". "rdonly" works for mount(8) and mount_std(8) but not from /etc/fstab, whereas "ro" works for all mount_*(8) commands.
-rw-r--r--sbin/mount/mount.84
-rw-r--r--sbin/mount_std/mount_std.83
2 files changed, 3 insertions, 4 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index e0750c6..486b17f 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -180,7 +180,7 @@ It is set automatically when the user does not have super-user privileges.
.It Cm nosymfollow
Do not follow symlinks
on the mounted file system.
-.It Cm rdonly
+.It Cm ro
The same as
.Fl r ;
mount the file system read-only (even the super-user may not write it).
@@ -327,7 +327,7 @@ option.
The file system is to be mounted read-only.
Mount the file system read-only (even the super-user may not write it).
The same as the
-.Cm rdonly
+.Cm ro
argument to the
.Fl o
option.
diff --git a/sbin/mount_std/mount_std.8 b/sbin/mount_std/mount_std.8
index fa90f57..13e33a1 100644
--- a/sbin/mount_std/mount_std.8
+++ b/sbin/mount_std/mount_std.8
@@ -71,8 +71,7 @@ A ``standard'' file system is one which:
accepts only the standard
.Fl o
options
-.Dq ro
-.Pq Dq rdonly ,
+.Dq ro ,
.Dq rw ,
.Dq nodev ,
.Dq noexec ,
OpenPOWER on IntegriCloud