Module Name: src
Committed By: abhinav
Date: Thu Mar 30 19:23:06 UTC 2017
Modified Files:
src/lib/libutil: getdiskrawname.3
Log Message:
Add getdiskcookedname to the NAME section
Fix couple of typos.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libutil/getdiskrawname.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libutil/getdiskrawname.3
diff -u src/lib/libutil/getdiskrawname.3:1.2 src/lib/libutil/getdiskrawname.3:1.3
--- src/lib/libutil/getdiskrawname.3:1.2 Sun Apr 8 16:06:23 2012
+++ src/lib/libutil/getdiskrawname.3 Thu Mar 30 19:23:06 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: getdiskrawname.3,v 1.2 2012/04/08 16:06:23 wiz Exp $
+.\" $NetBSD: getdiskrawname.3,v 1.3 2017/03/30 19:23:06 abhinav Exp $
.\"
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -32,7 +32,8 @@
.Dt GETDISKRAWNAME 3
.Os
.Sh NAME
-.Nm getdiskrawname
+.Nm getdiskrawname ,
+.Nm getdiskcookedname
.Nd get the the block/character device name for a disk
.Sh LIBRARY
.Lb libutil
@@ -47,13 +48,13 @@ The
.Fn getdiskrawname
function converts the
.Fa name
-argument thar contains a path to a disk block device node to the
+argument that contains a path to a disk block device node to the
path that contains the corresponding character device node.
The
.Fn getdiskcookedname
function converts the
.Fa name
-argument thar contains a path to a disk character device node to the
+argument that contains a path to a disk character device node to the
path that contains the corresponding block device node.
.Sh RETURN VALUES
On success the absolute pathname of the underlying device node is returned.