getdisk man page on OPENSTEP

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


GETDISKBYNAME(3)					      GETDISKBYNAME(3)

NAME
       getdiskbyname - get disk description by its name

SYNOPSIS
       #include <sys/disktab.h>

       struct disktab *
       getdiskbyname(name)
       char *name;

       struct disktab *
       getdiskbydev(dev)
       char *dev;

DESCRIPTION
       Getdiskbyname  takes  a	disk name (e.g. omd-1) and returns a structure
       describing its geometry information and	the  standard  disk  partition
       tables.	 Information  is  obtained  from  the  disktab(5)  file.  Disk
       information is also stored on the disk media itself in a	 special  area
       called  the  disk  label	 (see  /NextDeveloper/Headers/bsd/dev/disk.h).
       Getdiskbydev takes a disk device name (e.g. /dev/rod0a) and returns the
       disk information contained in the label.	 Information in the disk label
       usually takes precedence over disktab(5) which  is  used	 primarily  by
       disk(8) to initialize the disk label.

FILES
       /etc/disktab

SEE ALSO
       disktab(5), disk(8), newfs(8)

4.2 Berkeley Distribution	 May 12, 1986		      GETDISKBYNAME(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

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