Document "ROOT." syntax before documenting a generic .

This commit is contained in:
alnsn 2018-12-28 18:44:11 +00:00
parent 7f3a8bf678
commit f4bc8af01c

View File

@ -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 @@ up to len
.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 @@ is the characters following
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