Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


minor number                Definition               minor number




Device numbering


A minor  number specifies  the device or  type of device  to use.
COHERENT uses  the minor  number of a  given device in  a driver-
specific  manner.  For  example, a hard-disk  driver may  use the
minor number to select a disk drive and partition.

Every COHERENT device has a device number associated with it.  It
is of type dev_t, as defined in <sys/types.h>.  The macro minor()
in  <sys/stat.h> extracts  the minor number  from a  given device
number.

***** See Also ***** device drivers, major number, stat.h










































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026