GETDISKBYNAME
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
BSD 4.2
NAME
getdiskbyname
- get generic disk description by its name
SYNOPSIS
Fd #include <sys/disklabel.h>
Ft struct disklabel *
Fn getdiskbyname const char *name
DESCRIPTION
The
Fn getdiskbyname
function
takes a disk name (e.g.
`rm03'
)
and returns a prototype disk label
describing its geometry information and the standard
disk partition tables. All information is obtained from
the
disktab(5)
file.
SEE ALSO
disklabel(5),
disktab(5),
disklabel(8)
HISTORY
The
Fn getdiskbyname
function appeared in
BSD 4.3
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 06:42:32 GMT, May 19, 2025