modern syntax for asgops & inits cause Donn's latest ccom rejects the old.
[unix-history] / usr / src / lib / libc / gen / getdiskbyname.3
CommitLineData
62068be8
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
0609943c 5.\" @(#)getdiskbyname.3 6.2 (Berkeley) %G%
62068be8 6.\"
0609943c 7.TH GETDISKBYNAME 3 ""
62068be8
KM
8.UC 5
9.SH NAME
10getdiskbyname \- get disk description by its name
11.SH SYNOPSIS
12.nf
13.B #include <disktab.h>
14.PP
15.B struct disktab *
16.B getdiskbyname(name)
17.B char *name;
18.fi
19.SH DESCRIPTION
20.I Getdiskbyname
21takes a disk name (e.g. rm03) and returns a structure
22describing its geometry information and the standard
23disk partition tables. All information obtained from
24the
25.IR disktab (5)
26file.
27.PP
28.RI < disktab.h >
29has the following form:
30.PP
31.nf
32.DT
33.so /usr/include/disktab.h
34.SH "SEE ALSO"
35disktab(5)
36.SH BUGS
37This information should be obtained from the system for
38locally available disks (in particular, the disk partition
39tables).