supply missing .Nm, and other cleanup

This commit is contained in:
mikel 1997-04-11 05:14:20 +00:00
parent c0c810cbe0
commit 848bdf7930
1 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: disklabel.9,v 1.1 1996/12/27 10:20:26 pk Exp $
.\" $NetBSD: disklabel.9,v 1.2 1997/04/11 05:14:20 mikel Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -35,10 +35,11 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd Dec 26, 1996
.Dt "DISKLABEL" 9
.Dt DISKLABEL 9
.Os NetBSD
.Sh NAME
.Nd disklabel routines
.Nm disklabel
.Nd disk label management routines
.Sh SYNOPSIS
.Ft char *
.Fn readdisklabel "dev_t dev" "void (*strat)(struct buf *)" "struct disklabel *lp" "struct cpu_disklabel *clp"
@ -56,7 +57,6 @@ architecture and boot-strapping code on the location of the label, or because
co-operation with other operating systems requires specialized conversion
code.
.Pp
.Pp
.Fn readdisklabel
attempts to read a disklabel from the device identified by
.Fa dev ,
@ -132,7 +132,7 @@ Failure to pass on
.Dq basic sanity ,
results in a
.Dv EINVAL
return value, while a vetoed update of the partition layout is signalled by a
return value, while a vetoed update of the partition layout is signaled by a
.Dv EBUSY
return value. Otherwise, 0 is returned.
.Pp
@ -142,7 +142,7 @@ is used to check whether a device transfer described by
to the device identified by
.Fa dev ,
is properly contained within a disk partition of the disk with label
.FA lp .
.Fa lp .
If this check fails,
.Fn bounds_check_with_label
sets the buffer's
@ -162,6 +162,7 @@ the disklabel area on the medium. If that is the case,
.Dv EROFS
is set in
.Dq Va b_error ,
the
.Dv B_ERROR
flag is set in
.Dq Va b_flags ,
@ -176,5 +177,4 @@ ioctl function.
.Pp
.Sh SEE ALSO
.Xr disklabel 5 ,
.Xr disklabel 8
.Pp
.Xr disklabel 8 .