Improve mount_mfs examples. Inspired by [misc/16193] from

Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
This commit is contained in:
lukem 2002-05-21 11:17:57 +00:00
parent 2fe85a6623
commit 9234db0acd
1 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mount.8,v 1.33 2001/11/16 11:57:51 wiz Exp $
.\" $NetBSD: mount.8,v 1.34 2002/05/21 11:17:57 lukem Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)mount.8 8.8 (Berkeley) 6/16/94
.\"
.Dd June 16, 1994
.Dd May 21, 2002
.Dt MOUNT 8
.Os
.Sh NAME
@ -234,14 +234,14 @@ distinguished by a leading
Options that take a value are specified using the syntax -option=value.
For example, the mount command:
.Bd -literal -offset indent
mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
mount -t mfs -o nosuid,-N,-s=32m swap /tmp
.Ed
.Pp
causes
.Nm
to execute the equivalent of:
.Bd -literal -offset indent
/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp
/sbin/mount_mfs -o nosuid -N -s 32m swap /tmp
.Ed
.It Fl r
The file system is to be mounted read-only.
@ -350,6 +350,9 @@ mount -t msdos /dev/fd0a /floppy
.It Tn NFS
.br
mount nfs-server-host:/directory/path /mount-point
.It Tn MFS (32 megabyte)
.br
mount -t mfs -o nosuid,-s=32m swap /tmp
.El
.Pp
The "noauto" directive in