Andy's enormous "Minix" -> "MINIX 3" crusade ;)
This commit is contained in:
+2
-2
@@ -35,7 +35,7 @@ Adapter Usable memory Mono/Colour
|
||||
.RE
|
||||
.PP
|
||||
MDA and Hercules are the same to the console driver, because the graphics
|
||||
mode of the Hercules is of no use to Minix. EGA and VGA are also mostly
|
||||
mode of the Hercules is of no use to MINIX 3. EGA and VGA are also mostly
|
||||
seen as the same in text mode. An EGA adapter is either a monochrome or a
|
||||
colour device depending on the screen attached to it. A VGA adapter can run
|
||||
in either monochrome or colour (grayscale) mode depending on how the Boot
|
||||
@@ -189,7 +189,7 @@ Font memory consists of 256 character definitions of 32 lines per character
|
||||
and 8 pixels per line. The first line is the topmost line of the character.
|
||||
The leftmost pixel is lit if the most significant bit of a line is set, etc.
|
||||
How many lines are used depends on the current video mode. The 80x25 video
|
||||
mode used by Minix has an 8x16 character cell, 80x28 has 8x14 characters,
|
||||
mode used by MINIX 3 has an 8x16 character cell, 80x28 has 8x14 characters,
|
||||
and 132x43 or 132x50 has 8x8 characters. The boot variable
|
||||
.B console
|
||||
is used by both the Boot Monitor and the console driver to set the video
|
||||
|
||||
+12
-12
@@ -9,7 +9,7 @@ controller, disk, tape, at, bios, esdi, aha1540, ncr810, dosfile, fatfile \- con
|
||||
The
|
||||
.BI c n *
|
||||
family of devices refer to drivers that control disks, disk like devices,
|
||||
and tapes. Minix contains a number of drivers for several different
|
||||
and tapes. MINIX 3 contains a number of drivers for several different
|
||||
controllers. These controllers can have disks, cdroms and tapes attached to
|
||||
them. Boot Monitor variables specify which drivers are activated using
|
||||
the variables
|
||||
@@ -69,7 +69,7 @@ minor device what? obsolete
|
||||
.PP
|
||||
The device names in
|
||||
.B /dev
|
||||
also name the controller, of course, so the usual place for the Minix
|
||||
also name the controller, of course, so the usual place for the MINIX 3
|
||||
root device, the first subpartition of the second partition of disk 0 on
|
||||
controller 0 is
|
||||
.BR /dev/c0d0p1s0 .
|
||||
@@ -78,12 +78,12 @@ Note that everything is numbered from 0! The first controller is controller
|
||||
.BR p1 .
|
||||
.PP
|
||||
The fourth column in the table above shows the disk devices names that were
|
||||
used by previous versions of Minix for what is now controller 0. These
|
||||
used by previous versions of MINIX 3 for what is now controller 0. These
|
||||
devices are no longer present in
|
||||
.BR /dev .
|
||||
.SS Disks
|
||||
Most disks are arrays of 512 byte sectors. The disk devices are normally
|
||||
block devices, which means they are block buffered by the Minix file system
|
||||
block devices, which means they are block buffered by the MINIX 3 file system
|
||||
cache using 1024 byte blocks. The FS cache allows I/O at any byte offset,
|
||||
and takes care of cutting and pasting incomplete blocks together. If one
|
||||
creates a character device for a disk device, then I/O must be in multiples
|
||||
@@ -101,8 +101,8 @@ partitions may be defined, named
|
||||
to
|
||||
.BR c0d0p3
|
||||
for disk 0 on controller 0. To make things interesting you can also place a
|
||||
partition table in the first sector of a Minix partition, which divides the
|
||||
partition into up to four subpartitions. Normally Minix is installed into a
|
||||
partition table in the first sector of a MINIX 3 partition, which divides the
|
||||
partition into up to four subpartitions. Normally MINIX 3 is installed into a
|
||||
single partition, with the root, swap and /usr file systems in subpartitions.
|
||||
.PP
|
||||
If a partition is an extended partition then it contains a linked list of
|
||||
@@ -139,7 +139,7 @@ struct part_entry {
|
||||
|
||||
/* Partition types (sysind). */
|
||||
#define NO_PART 0x00 /* unused entry */
|
||||
#define MINIX_PART 0x81 /* Minix partition type */
|
||||
#define MINIX_PART 0x81 /* MINIX 3 partition type */
|
||||
.fi
|
||||
.PP
|
||||
The cylinder numbers are encoded in a very strange way, bits 8 and 9 are
|
||||
@@ -288,7 +288,7 @@ By setting the Boot variables
|
||||
.BR c0
|
||||
to
|
||||
.BR c3
|
||||
under Minix, or
|
||||
under MINIX 3, or
|
||||
.BR c0
|
||||
to
|
||||
.BR c4
|
||||
@@ -312,7 +312,7 @@ DMA_SECTORS (see
|
||||
it works well enough.
|
||||
.SS esdi
|
||||
A hard disk driver for use on some PS/2 models.
|
||||
.SS "xt \fR(Minix only)"
|
||||
.SS "xt \fR(MINIX 3 only)"
|
||||
A hard disk driver for IBM/XT type hard disks. Useful for old 286 based
|
||||
machines that have such a disk. On XTs you are better off with the
|
||||
.B bios
|
||||
@@ -326,10 +326,10 @@ This will eventually become a Symbios 810 SCSI driver. (Formerly owned by
|
||||
NCR.) KJB has read the docs on this card three times, but has still done
|
||||
nothing, the lazy bum.
|
||||
.SS dosfile
|
||||
The "DOS file as disk" driver that is used when Minix is running
|
||||
under DOS. It treats a large DOS file as a Minix disk. Only primary
|
||||
The "DOS file as disk" driver that is used when MINIX 3 is running
|
||||
under DOS. It treats a large DOS file as a MINIX 3 disk. Only primary
|
||||
partitions are supported, there are no subpartitions. This is the default
|
||||
driver when Minix is started under DOS.
|
||||
driver when MINIX 3 is started under DOS.
|
||||
.SS fatfile
|
||||
Uses a large file on a FAT file system as a disk. It needs one of the other
|
||||
disk drivers to do the actual I/O. This driver only knows how to interpret
|
||||
|
||||
+7
-7
@@ -45,9 +45,9 @@ those devices. Data read or written by processes is passed through the file
|
||||
system block cache. Unaligned bytes read or written are extracted or
|
||||
reassembled by the file server from or to whole blocks in the cache. The
|
||||
file server transfers data to or from the device driver as blocks to
|
||||
positions at block size boundaries. These blocks are Minix blocks of 1024
|
||||
positions at block size boundaries. These blocks are MINIX 3 blocks of 1024
|
||||
bytes, disk devices usually have a 512 byte block size. Only block devices
|
||||
can be mounted as part of the file system tree if they contain a Minix file
|
||||
can be mounted as part of the file system tree if they contain a MINIX 3 file
|
||||
system.
|
||||
.PP
|
||||
The major device number (2 for
|
||||
@@ -61,7 +61,7 @@ and 0 for
|
||||
.BR console )
|
||||
is passed to the driver to select a device among a number of related devices
|
||||
that are all managed by that driver. The device drivers are usually kernel
|
||||
tasks under Minix, small processes that are contained within the address
|
||||
tasks under MINIX 3, small processes that are contained within the address
|
||||
space of the kernel. The following tasks and associated devices exist:
|
||||
.SS "Memory (major 1)"
|
||||
The
|
||||
@@ -122,9 +122,9 @@ Each of these devices accesses a range of sectors on the
|
||||
device. It is customary to give each operating system on a disk a primary
|
||||
partition. So the Windows C: "drive" can be on
|
||||
.BR c0d0p0 ,
|
||||
and Minix can be on
|
||||
and MINIX 3 can be on
|
||||
.BR c0d0p1 .
|
||||
Minix wants to have several partitions on its own, so
|
||||
MINIX 3 wants to have several partitions on its own, so
|
||||
.B c0d0p1
|
||||
can be further subdivided into the subpartitions
|
||||
.BR c0d0p1s0 ,
|
||||
@@ -202,7 +202,7 @@ device is used to control the audio driver.
|
||||
.SH FILES
|
||||
.TP 10
|
||||
.B /dev/*
|
||||
All Minix devices
|
||||
All MINIX 3 devices
|
||||
.SH "SEE ALSO"
|
||||
.BR read (2),
|
||||
.BR write (2),
|
||||
@@ -241,7 +241,7 @@ Some devices are not present by default. The
|
||||
.BR MAKEDEV
|
||||
script knows how to make them.
|
||||
.SS "MS-DOS/Windows equivalents"
|
||||
The names of MS-DOS/Windows devices probably map to Minix devices as follows:
|
||||
The names of MS-DOS/Windows devices probably map to MINIX 3 devices as follows:
|
||||
.PP
|
||||
.RS
|
||||
.nf
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ fd \- floppy disk
|
||||
The
|
||||
.B fd*
|
||||
devices refer to the Floppy disk driver using the NEC PD765 floppy disk
|
||||
controller. These diskettes are arrays of 512 byte sectors, although Minix
|
||||
controller. These diskettes are arrays of 512 byte sectors, although MINIX 3
|
||||
always works with two sectors at a time due to its 1024 byte block size. You
|
||||
can read or write any number of bytes however, Minix takes care of cutting
|
||||
can read or write any number of bytes however, MINIX 3 takes care of cutting
|
||||
and pasting incomplete blocks together.
|
||||
.PP
|
||||
The driver is normally configured for two floppy disk devices
|
||||
|
||||
+3
-3
@@ -11,7 +11,7 @@
|
||||
Greg Sharp, April 1992
|
||||
- updated keywords for auto index generation
|
||||
Modified: Kees J. Bot, June 1994
|
||||
- changed to man(7) format for Minix.
|
||||
- changed to man(7) format for MINIX 3.
|
||||
..
|
||||
.TH IP 4
|
||||
.SH NAME
|
||||
@@ -28,7 +28,7 @@ The
|
||||
.BR tcp* ,
|
||||
and
|
||||
.B udp*
|
||||
devices give access to the Internet Protocol (IP) services in Minix.
|
||||
devices give access to the Internet Protocol (IP) services in MINIX 3.
|
||||
There can be up to 16 different networks, with 4 network devices each
|
||||
(a network has either an
|
||||
.B eth*
|
||||
@@ -1268,7 +1268,7 @@ When
|
||||
.B NWUO_DI_IPOPT
|
||||
is set IP option will be stripped from received packets and no IP options will
|
||||
be sent.
|
||||
.ig \" Minix doesn't have this stuff (yet? ever?)
|
||||
.ig \" MINIX 3 doesn't have this stuff (yet? ever?)
|
||||
.SS "UDP Library Functions"
|
||||
.PP
|
||||
The following routines provide an somewhat easier to use interface to UDP than
|
||||
|
||||
+15
-15
@@ -71,7 +71,7 @@ set to
|
||||
.BR EAGAIN .
|
||||
.SS "Special characters"
|
||||
Some characters have special functions in some of the terminal modes. These
|
||||
characters are as follows, with the Minix defaults shown in parentheses:
|
||||
characters are as follows, with the MINIX 3 defaults shown in parentheses:
|
||||
.TP 5
|
||||
.BR INTR " (^?)"
|
||||
Special input character that is recognized if
|
||||
@@ -140,7 +140,7 @@ are set. A
|
||||
.B CR NL
|
||||
sequence is output instead of just
|
||||
.BR NL .
|
||||
(Minix specific, but almost mandatory on any UNIX-like system.)
|
||||
(MINIX 3 specific, but almost mandatory on any UNIX-like system.)
|
||||
.TP
|
||||
.BR TAB " (^I)"
|
||||
Special character on output if
|
||||
@@ -161,7 +161,7 @@ Special input character if job control is implemented and
|
||||
.B ISIG
|
||||
is set. It causes a
|
||||
.B SIGTSTP
|
||||
signal to be send to the terminal process group. (Minix does not have job
|
||||
signal to be send to the terminal process group. (MINIX 3 does not have job
|
||||
control.)
|
||||
.TP
|
||||
.BR STOP " (^S)"
|
||||
@@ -205,7 +205,7 @@ All of these characters except
|
||||
.B NL
|
||||
and
|
||||
.B TAB
|
||||
may be changed or disabled under Minix. (Changes to
|
||||
may be changed or disabled under MINIX 3. (Changes to
|
||||
.B START
|
||||
and
|
||||
.B STOP
|
||||
@@ -213,13 +213,13 @@ may be ignored under other termios implementations.) The
|
||||
.B REPRINT
|
||||
and
|
||||
.B LNEXT
|
||||
characters are Minix extensions that are commonly present in other
|
||||
characters are MINIX 3 extensions that are commonly present in other
|
||||
implementations. \s-2POSIX\s+2 is unclear on whether
|
||||
.BR IEXTEN,
|
||||
.BR IGNCR
|
||||
and
|
||||
.BR ICRNL
|
||||
should be active in non-canonical mode, but under Minix they are.
|
||||
should be active in non-canonical mode, but under MINIX 3 they are.
|
||||
.SS "Terminal attributes"
|
||||
The attributes of a terminal, such as whether the mode should be canonical or
|
||||
non-canonical, are controlled by routines that use the
|
||||
@@ -284,7 +284,7 @@ Enable start/stop output control.
|
||||
Enable start/stop input control. (Not implemented.)
|
||||
.TP
|
||||
.B IXANY
|
||||
Allow any character to restart output. (Minix specific.)
|
||||
Allow any character to restart output. (MINIX 3 specific.)
|
||||
.TP
|
||||
.B ISTRIP
|
||||
Strip characters to seven bits.
|
||||
@@ -322,7 +322,7 @@ field contains the following single bit flags that control output processing:
|
||||
.TP
|
||||
.B OPOST
|
||||
Perform output processing. This flag is the "main switch" on output
|
||||
processing. All other flags are Minix specific.
|
||||
processing. All other flags are MINIX 3 specific.
|
||||
.TP
|
||||
.B ONLCR
|
||||
Transform an
|
||||
@@ -473,7 +473,7 @@ a signal is sent.
|
||||
Send a
|
||||
.B SIGTTOU
|
||||
signal if job control is implemented and a background process tries to
|
||||
write. (Minix has no job control.)
|
||||
write. (MINIX 3 has no job control.)
|
||||
.SS "Input and output speed"
|
||||
The input and output speed are encoded into the
|
||||
.B c_ispeed
|
||||
@@ -523,7 +523,7 @@ fields and the
|
||||
.B B57600
|
||||
and
|
||||
.B B115200
|
||||
symbols are Minix specific.)
|
||||
symbols are MINIX 3 specific.)
|
||||
.SS "Special characters"
|
||||
The
|
||||
.B c_cc
|
||||
@@ -560,7 +560,7 @@ subscripts respectively, and may ignore changes to
|
||||
.B START
|
||||
and
|
||||
.BR STOP .
|
||||
(Under Minix all special characters have their own
|
||||
(Under MINIX 3 all special characters have their own
|
||||
.I c_cc
|
||||
slot and can all be modified.)
|
||||
.SS "Raw I/O Parameters"
|
||||
@@ -632,7 +632,7 @@ reach the terminal even when standard input, output and error are
|
||||
redirected. Opening this device can also be used as a test to see if a
|
||||
process has a controlling tty or not.
|
||||
.PP
|
||||
For Minix a special write-only device
|
||||
For MINIX 3 a special write-only device
|
||||
.B /dev/log
|
||||
exists for processes that want to write messages to the system console.
|
||||
Unlike the console this device is still accessible when a session leader
|
||||
@@ -701,10 +701,10 @@ terminal interface are still supported by the terminal driver by emulation.
|
||||
Note that these old functions cannot control all termios attributes, so the
|
||||
terminal must be in a relatively sane state to avoid problems.
|
||||
.SH FILES
|
||||
The list below shows all devices that Minix and Minix-vmd have. Not all of
|
||||
The list below shows all devices that MINIX 3 and Minix-vmd have. Not all of
|
||||
these devices are configured in by default, as indicated by the numbers
|
||||
(i/j/k, l/m/n) that tell the minimum, default and maximum possible number of
|
||||
these devices for Minix (i/j/k) and Minix-vmd (l/m/n).
|
||||
these devices for MINIX 3 (i/j/k) and Minix-vmd (l/m/n).
|
||||
.TP 20
|
||||
.B /dev/console
|
||||
System console.
|
||||
@@ -730,7 +730,7 @@ Associated pseudo tty controllers.
|
||||
.BR read (2),
|
||||
.BR write (2).
|
||||
.SH BUGS
|
||||
A fair number of flags are not implemented under Minix (yet). Luckily they
|
||||
A fair number of flags are not implemented under MINIX 3 (yet). Luckily they
|
||||
are very limited utility and only apply to RS-232, not to the user interface.
|
||||
.SH AUTHOR
|
||||
Kees J. Bot (kjb@cs.vu.nl)
|
||||
|
||||
Reference in New Issue
Block a user