Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil Misc fixes.
details: https://anonhg.NetBSD.org/src/rev/bffe0179daa1
branches: trunk
changeset: 540564:bffe0179daa1
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Dec 18 20:21:11 2002 +0000
description:
Misc fixes.
diffstat:
lib/libutil/getlabelsector.3 | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r b2b7f153bea2 -r bffe0179daa1 lib/libutil/getlabelsector.3
--- a/lib/libutil/getlabelsector.3 Wed Dec 18 20:17:43 2002 +0000
+++ b/lib/libutil/getlabelsector.3 Wed Dec 18 20:21:11 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getlabelsector.3,v 1.1 2002/12/12 09:45:33 scw Exp $
+.\" $NetBSD: getlabelsector.3,v 1.2 2002/12/18 20:21:11 wiz Exp $
.\"
.\"
.\" Copyright 2002 Wasabi Systems, Inc.
@@ -34,11 +34,11 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd Dec 11, 2002
+.Dd December 11, 2002
.Dt GETLABELSECTOR 3
.Os
.Sh NAME
-.Nm getlabelsector
+.Nm getlabelsector ,
.Nm getlabeloffset
.Nd get the sector number and offset of the disklabel
.Sh LIBRARY
@@ -56,17 +56,20 @@
.Fn getlabeloffset
functions return values which describe the exact on-disk location of the
.Xr disklabel 5
-on the current system, or -1 on error.
-These functions supercede the hardcoded LABELSECTOR and LABELOFFSET
+on the current system, or \-1 on error.
+These functions supercede the hardcoded
+.Dv LABELSECTOR
+and
+.Dv LABELOFFSET
definitions previously used to derive the location of the
.Xr disklabel 5 .
.Sh SEE ALSO
-.Xr disklabel 5 ,
-.Xr sysctl 3
+.Xr sysctl 3 ,
+.Xr disklabel 5
.Sh HISTORY
The
.Fn getlabelsector
and
.Fn getlabeloffset
-function calls appeared in
+functions appeared in
.Nx 1.7 .
Home |
Main Index |
Thread Index |
Old Index