projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for pack labels
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
getdiskbyname.3
diff --git
a/usr/src/lib/libc/gen/getdiskbyname.3
b/usr/src/lib/libc/gen/getdiskbyname.3
index
dc7682b
..
e94228f
100644
(file)
--- a/
usr/src/lib/libc/gen/getdiskbyname.3
+++ b/
usr/src/lib/libc/gen/getdiskbyname.3
@@
-2,38
+2,27
@@
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getdiskbyname.3 6.
2
(Berkeley) %G%
+.\" @(#)getdiskbyname.3 6.
3
(Berkeley) %G%
.\"
.TH GETDISKBYNAME 3 ""
.UC 5
.SH NAME
.\"
.TH GETDISKBYNAME 3 ""
.UC 5
.SH NAME
-getdiskbyname \- get disk description by its name
+getdiskbyname \- get
generic
disk description by its name
.SH SYNOPSIS
.nf
.SH SYNOPSIS
.nf
-.B #include <
disktab
.h>
+.B #include <
sys/disklabel
.h>
.PP
.PP
-.B struct disk
tab
*
+.B struct disk
label
*
.B getdiskbyname(name)
.B char *name;
.fi
.SH DESCRIPTION
.I Getdiskbyname
.B getdiskbyname(name)
.B char *name;
.fi
.SH DESCRIPTION
.I Getdiskbyname
-takes a disk name (e.g. rm03) and returns a
structure
+takes a disk name (e.g. rm03) and returns a
prototype disk label
describing its geometry information and the standard
describing its geometry information and the standard
-disk partition tables. All information obtained from
+disk partition tables. All information
is
obtained from
the
.IR disktab (5)
file.
the
.IR disktab (5)
file.
-.PP
-.RI < disktab.h >
-has the following form:
-.PP
-.nf
-.DT
-.so /usr/include/disktab.h
.SH "SEE ALSO"
.SH "SEE ALSO"
-disktab(5)
-.SH BUGS
-This information should be obtained from the system for
-locally available disks (in particular, the disk partition
-tables).
+disklabel(5), disktab(5), disklabel(8)