Commit | Line | Data |
---|---|---|
b6092bb6 C |
1 | .TH GETDISKBYNAME 3X "4 March 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | getdiskbyname \- 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 | |
15 | takes a disk name (e.g. rm03) and returns a structure | |
16 | describing its geometry information and the standard | |
17 | disk partition tables. All information obtained from | |
18 | the | |
19 | .IR disktab (5) | |
20 | file. | |
21 | .PP | |
22 | .RI < disktab.h > | |
23 | has the following form: | |
24 | .PP | |
25 | .nf | |
26 | .DT | |
27 | .so /usr/include/disktab.h | |
28 | .SH "SEE ALSO" | |
29 | disktab(5) | |
30 | .SH BUGS | |
31 | This information should be obtained from the system for | |
32 | locally available disks (in particular, the disk partition | |
33 | tables). |