GETRAWPARTITION(3) OpenBSD Programmer's Manual GETRAWPARTITION(3)NAMEgetrawpartition - get the system ``raw'' partition
SYNOPSIS
#include <util.h>
int
getrawpartition(void);
DESCRIPTIONgetrawpartition() returns the partition number (`a' == 0, `b' == 1, ...)
of the ``raw'' partition of the system's disks. The ``raw'' partition is
defined as the partition which provides access to the entire disk,
regardless of the disk's partition map.
SEE ALSOgetmaxpartitions(3), sysctl(3)HISTORY
The getrawpartition function call appeared in NetBSD 1.2.
OpenBSD 4.9 June 26, 2008 OpenBSD 4.9