Improvements from jmc@openbsd.

This commit is contained in:
wiz 2013-06-02 13:27:12 +00:00
parent 39b77304e7
commit c9aebf8ce5
1 changed files with 7 additions and 7 deletions

View File

@ -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 instance over the
.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