Unix/Linux Go Back    


BSD 2.11 - man page for getdisk (bsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


GETDISKBYNAME(3)								 GETDISKBYNAME(3)

NAME
       getdiskbyname - get disk description by its name

SYNOPSIS
       #include <sys/types.h>
       #include <sys/disktab.h>

       struct disklabel *
       getdiskbyname(name)
       char *name;

DESCRIPTION
       Getdiskbyname  takes a disk name (e.g. rm03) and returns a structure describing its geome-
       try information and the standard disk partition tables.	 Information  obtained	from  the
       disktab(5) file has the following form:

SEE ALSO
       disktab(5), disklabel(8)

BUGS
       This  routine  is  primarily used when the underlying disk driver does not support labels.
       The other use is for supplying default information to the disklabel(8) program.

4.2 Berkeley Distribution		September 8, 1995			 GETDISKBYNAME(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 05:28 AM.