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. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -35,10 +35,11 @@
.\" POSSIBILITY OF SUCH DAMAGE. .\" POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd Dec 26, 1996 .Dd Dec 26, 1996
.Dt "DISKLABEL" 9 .Dt DISKLABEL 9
.Os NetBSD .Os NetBSD
.Sh NAME .Sh NAME
.Nd disklabel routines .Nm disklabel
.Nd disk label management routines
.Sh SYNOPSIS .Sh SYNOPSIS
.Ft char * .Ft char *
.Fn readdisklabel "dev_t dev" "void (*strat)(struct buf *)" "struct disklabel *lp" "struct cpu_disklabel *clp" .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 co-operation with other operating systems requires specialized conversion
code. code.
.Pp .Pp
.Pp
.Fn readdisklabel .Fn readdisklabel
attempts to read a disklabel from the device identified by attempts to read a disklabel from the device identified by
.Fa dev , .Fa dev ,
@ -132,7 +132,7 @@ Failure to pass on
.Dq basic sanity , .Dq basic sanity ,
results in a results in a
.Dv EINVAL .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 .Dv EBUSY
return value. Otherwise, 0 is returned. return value. Otherwise, 0 is returned.
.Pp .Pp
@ -142,7 +142,7 @@ is used to check whether a device transfer described by
to the device identified by to the device identified by
.Fa dev , .Fa dev ,
is properly contained within a disk partition of the disk with label is properly contained within a disk partition of the disk with label
.FA lp . .Fa lp .
If this check fails, If this check fails,
.Fn bounds_check_with_label .Fn bounds_check_with_label
sets the buffer's sets the buffer's
@ -162,6 +162,7 @@ the disklabel area on the medium. If that is the case,
.Dv EROFS .Dv EROFS
is set in is set in
.Dq Va b_error , .Dq Va b_error ,
the
.Dv B_ERROR .Dv B_ERROR
flag is set in flag is set in
.Dq Va b_flags , .Dq Va b_flags ,
@ -176,5 +177,4 @@ ioctl function.
.Pp .Pp
.Sh SEE ALSO .Sh SEE ALSO
.Xr disklabel 5 , .Xr disklabel 5 ,
.Xr disklabel 8 .Xr disklabel 8 .
.Pp