Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Document "ROOT." syntax before documenting a gen...



details:   https://anonhg.NetBSD.org/src/rev/26a0c63fdaa5
branches:  trunk
changeset: 447023:26a0c63fdaa5
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Fri Dec 28 18:44:11 2018 +0000

description:
Document "ROOT." syntax before documenting a generic .

diffstat:

 lib/libutil/getfsspecname.3 |  26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diffs (54 lines):

diff -r 607588237136 -r 26a0c63fdaa5 lib/libutil/getfsspecname.3
--- a/lib/libutil/getfsspecname.3       Fri Dec 28 18:33:54 2018 +0000
+++ b/lib/libutil/getfsspecname.3       Fri Dec 28 18:44:11 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getfsspecname.3,v 1.6 2018/10/06 13:09:53 jmcneill Exp $
+.\"    $NetBSD: getfsspecname.3,v 1.7 2018/12/28 18:44:11 alnsn Exp $
 .\"
 .\" Copyright (c) 2012 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd October 6, 2018
+.Dd December 28, 2018
 .Dt GETFSSPECNAME 3
 .Os
 .Sh NAME
@@ -58,16 +58,6 @@
 .Pp
 If the
 .Fa spec
-argument is not of the form
-.Dq NAME=wedgename ,
-.Fa spec
-is copied
-to
-.Fa buf
-and returned.
-.Pp
-If the
-.Fa spec
 argument starts with
 .Dq ROOT. ,
 a path in the form
@@ -85,6 +75,18 @@
 in the
 .Fa spec
 argument.
+.Pp
+If the
+.Fa spec
+argument is not of the form
+.Dq NAME=wedgename
+and it doesn't start with
+.Dq ROOT. ,
+.Fa spec
+is copied
+to
+.Fa buf
+and returned.
 .Sh RETURN VALUES
 On success the absolute pathname of the underlying wedge device is returned,
 or the original



Home | Main Index | Thread Index | Old Index