getrawpartition(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
GETRAWPARTITION(3)        NetBSD Programmer's Manual        GETRAWPARTITION(3)


NAME
getrawpartition - get the system ``raw'' partition
LIBRARY
System Utilities Library (libutil, -lutil)
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, re- gardless of the disk's partition map.
SEE ALSO
getmaxpartitions(3), sysctl(3)
HISTORY
The getrawpartition function call appeared in NetBSD 1.2. NetBSD 1.6 May 15, 1996 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.