Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_tmpfs Improvements from jmc@openbsd.



details:   https://anonhg.NetBSD.org/src/rev/c3251607cef9
branches:  trunk
changeset: 787107:c3251607cef9
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jun 02 13:27:12 2013 +0000

description:
Improvements from jmc@openbsd.

diffstat:

 sbin/mount_tmpfs/mount_tmpfs.8 |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 956649d85e85 -r c3251607cef9 sbin/mount_tmpfs/mount_tmpfs.8
--- a/sbin/mount_tmpfs/mount_tmpfs.8    Sun Jun 02 13:18:12 2013 +0000
+++ b/sbin/mount_tmpfs/mount_tmpfs.8    Sun Jun 02 13:27:12 2013 +0000
@@ -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 @@
 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 @@
 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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index