From c80f12d0af4d1b24810e24600315ebff30396fec Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Wed, 22 Oct 2003 18:25:49 +0000 Subject: [PATCH] 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. --- sbin/mount/mount.8 | 4 ++-- sbin/mount_std/mount_std.8 | 3 +-- 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 ,