aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-10-22 18:25:49 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-10-22 18:25:49 +0000
commitc80f12d0af4d1b24810e24600315ebff30396fec (patch)
treea8389475afa4aa0c381950ebde8eb6d1f6aee5b7 /sbin
parent3b1a779723322906dcfbdda56ffdd29996bf0526 (diff)
downloadsrc-c80f12d0af4d1b24810e24600315ebff30396fec.tar.gz
src-c80f12d0af4d1b24810e24600315ebff30396fec.zip
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.
Notes
Notes: svn path=/head/; revision=121349
Diffstat (limited to 'sbin')
-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 e0750c658fc9..486b17f5a0bd 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 fa90f577ce5f..13e33a1b321c 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 ,