.\" Copyright (c) 1983, 1991 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)getdiskbyname.3 6.6 (Berkeley) %G%
.Nd get generic disk description by its name
.Fd #include <sys/disklabel.h>
.Fn getdiskbyname "const char *name"
and returns a prototype disk label
describing its geometry information and the standard
disk partition tables. All information is obtained from