intro(7) intro(7)
NAME
intro - introduction to special files
DESCRIPTION
This section describes various special files that refer to
specific hardware peripherals, and UnixWare system device
drivers. STREAMS [see intro(2)] software drivers, modules and
the STREAMS-generic set of ioctl(2) system calls are also
described.
For hardware related files, the names of the entries are
generally derived from names for the hardware, as opposed to
the names of the special files themselves. Characteristics of
both the hardware device and the corresponding UnixWare system
device driver are discussed where applicable.
Disk device filenames are in the following format:
Integral disks:
/dev/{r}dsk/{1.0}s#
This format is provided only for compatibility
with UNIX System V Release 4.0, and earlier,
systems. It is used to identify nodes for the
first two hard disks.
SCSI disks:
SCSI disk device filenames have either of the two
following forms:
/dev/[r]dsk/cCbBtTdDsS
or
/dev/[r]dsk/cCbBtTdDpP
where
[r] The optional r in /[r]dsk denotes a raw (that is,
character) device; /dsk without the optional r
indicates a block device
cC C is the occurrence of the host adapter board in
the system (that is, card number). The value of C
can range from 0 to 31.
Copyright 1994 Novell, Inc. Page 1
intro(7) intro(7)
bB B is the bus number, ranging from 0-7 (machine
dependent)
tT T is the SCSI target controller number (ID). The
value of T can range from 0 to 31.
dD D is the logical unit number of the disk device,
ranging from 0-31, since each target controller
currently supports up to four disks
sS S is the disk slice number, ranging from 0-15.
pP P is the fdisk partition number. P can range from
0 to 4, to specify an entry in the fdisk partition
table. The p0 node corresponds to the whole disk,
the p[0-4] nodes correspond to partitions as they
are displayed by the fdisk command.
Copyright 1994 Novell, Inc. Page 2