getrawpartition man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

GETRAWPARTITION(3)	 BSD Library Functions 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, or -1 in case of an error,
     setting the global errno variable.	 The possible values for errno are the
     same as in sysctl(3).  The “raw” partition is defined as the partition
     which provides access to the entire disk, regardless of the disk's parti‐
     tion map.

SEE ALSO
     getmaxpartitions(3), sysctl(3)

HISTORY
     The getrawpartition() function call appeared in NetBSD 1.2.

BSD				  May 4, 2010				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net