Source-Changes-HG archive

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

[src/trunk]: src/share/man/man5 Add examples for NAME, both with gpt and with...



details:   https://anonhg.NetBSD.org/src/rev/a286d8ce6366
branches:  trunk
changeset: 780939:a286d8ce6366
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Aug 12 17:13:34 2012 +0000

description:
Add examples for NAME, both with gpt and without.

diffstat:

 share/man/man5/fstab.5 |  19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 6cc56a9321bd -r a286d8ce6366 share/man/man5/fstab.5
--- a/share/man/man5/fstab.5    Sun Aug 12 14:45:44 2012 +0000
+++ b/share/man/man5/fstab.5    Sun Aug 12 17:13:34 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fstab.5,v 1.41 2012/06/11 23:28:19 christos Exp $
+.\"    $NetBSD: fstab.5,v 1.42 2012/08/12 17:13:34 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)fstab.5    8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 11, 2012
+.Dd August 12, 2012
 .Dt FSTAB 5
 .Os
 .Sh NAME
@@ -336,6 +336,21 @@
 .It Pa /usr/share/examples/fstab/
 Some useful configuration examples.
 .El
+.Sh EXAMPLES
+To use
+.Dq NAME
+on a non-GPT disk, use:
+.Bd -literal
+NAME=sb2k5Root/a        /       ffs     rw,log           1 1
+NAME=sb2k5Root/b        none    swap    sw,dp            0 0
+.Ed
+For a
+.Xr gpt 8
+disk, use:
+.Bd -literal
+NAME=firstpartition     /       ffs     rw,log           1 1
+NAME=secondpartition    none    swap    sw,dp            0 0
+.Ed
 .Sh SEE ALSO
 .Xr getfsent 3 ,
 .Xr getfsspecname 3 ,



Home | Main Index | Thread Index | Old Index