BSD 4_2 development
[unix-history] / usr / man / man3 / getdisk.3x
CommitLineData
b6092bb6
C
1.TH GETDISKBYNAME 3X "4 March 1983"
2.UC 4
3.SH NAME
4getdiskbyname \- get disk description by its name
5.SH SYNOPSIS
6.nf
7.B #include <disktab.h>
8.PP
9.B struct disktab *
10.B getdiskbyname(name)
11.B char *name;
12.fi
13.SH DESCRIPTION
14.I Getdiskbyname
15takes a disk name (e.g. rm03) and returns a structure
16describing its geometry information and the standard
17disk partition tables. All information obtained from
18the
19.IR disktab (5)
20file.
21.PP
22.RI < disktab.h >
23has the following form:
24.PP
25.nf
26.DT
27.so /usr/include/disktab.h
28.SH "SEE ALSO"
29disktab(5)
30.SH BUGS
31This information should be obtained from the system for
32locally available disks (in particular, the disk partition
33tables).