[OpenBSD]

Manual Page Search Parameters

GETRAWPARTITION(3) Library Functions Manual GETRAWPARTITION(3)

NAME

getrawpartitionget the system raw partition

SYNOPSIS

#include <util.h>
int
getrawpartition(void);

DESCRIPTION

getrawpartition() 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 ALSO

getmaxpartitions(3), sysctl(2)

HISTORY

The getrawpartition function call appeared in NetBSD 1.2.
January 12, 2018 OpenBSD-current