Module Name: src
Committed By: wiz
Date: Sun Jun 2 13:27:12 UTC 2013
Modified Files:
src/sbin/mount_tmpfs: mount_tmpfs.8
Log Message:
Improvements from jmc@openbsd.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sbin/mount_tmpfs/mount_tmpfs.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/mount_tmpfs/mount_tmpfs.8
diff -u src/sbin/mount_tmpfs/mount_tmpfs.8:1.14 src/sbin/mount_tmpfs/mount_tmpfs.8:1.15
--- src/sbin/mount_tmpfs/mount_tmpfs.8:1.14 Wed Apr 30 13:10:53 2008
+++ src/sbin/mount_tmpfs/mount_tmpfs.8 Sun Jun 2 13:27:12 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_tmpfs.8,v 1.14 2008/04/30 13:10:53 martin Exp $
+.\" $NetBSD: mount_tmpfs.8,v 1.15 2013/06/02 13:27:12 wiz Exp $
.\"
.\" Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -56,7 +56,7 @@ is ignored.
The directory specified by
.Ar mount_point
is converted to an absolute path before use and its attributes (owner,
-group and mode) are inherited unless explicitly overriden by the options
+group and mode) are inherited unless explicitly overridden by the options
described below.
.Pp
The following options are supported:
@@ -93,11 +93,11 @@ Defaults to the mount point's UID.
Every option that accepts a numerical value as its argument can take a
trailing
.Sq b
-to indicate bytes (the default), a trailing
+to indicate bytes (the default), a
.Sq k
-to indicate kilobytes, a trailing
+to indicate kilobytes, a
.Sq M
-to indicate megabytes or a trailing
+to indicate megabytes or a
.Sq G
to indicate gigabytes.
Note that both lowercase and uppercase forms of these letters are allowed.
@@ -106,7 +106,7 @@ The following command mounts a tmpfs ins
.Pa /tmp
directory, inheriting its owner, group and mode settings:
.Pp
-.Ic "mount -t tmpfs tmpfs /tmp"
+.Dl # mount -t tmpfs tmpfs /tmp
.Pp
The following command mounts a tmpfs instance over the
.Pa /mnt
@@ -116,7 +116,7 @@ user and belonging to the
.Sq users
group, with a restricted 0700 mode:
.Pp
-.Ic "mount -t tmpfs -o -s20M -o -ujoe -o -gusers -o -m0700 tmpfs /mnt"
+.Dl # mount -t tmpfs -o -s20M -o -ujoe -o -gusers -o -m0700 tmpfs /mnt
.Pp
See
.Pa /usr/share/examples/fstab/fstab.ramdisk