|
|
1.1 ! root 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: .\" ! 5: .\" @(#)getdisk.3 6.3 (Berkeley) 6/18/87 ! 6: .\" ! 7: .TH GETDISKBYNAME 3 "June 18, 1987" ! 8: .UC 5 ! 9: .SH NAME ! 10: getdiskbyname \- get generic disk description by its name ! 11: .SH SYNOPSIS ! 12: .nf ! 13: .B #include <sys/disklabel.h> ! 14: .PP ! 15: .B struct disklabel * ! 16: .B getdiskbyname(name) ! 17: .B char *name; ! 18: .fi ! 19: .SH DESCRIPTION ! 20: .I Getdiskbyname ! 21: takes a disk name (e.g. rm03) and returns a prototype disk label ! 22: describing its geometry information and the standard ! 23: disk partition tables. All information is obtained from ! 24: the ! 25: .IR disktab (5) ! 26: file. ! 27: .SH "SEE ALSO" ! 28: disklabel(5), disktab(5), disklabel(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.