Andy's enormous "Minix" -> "MINIX 3" crusade ;)
This commit is contained in:
parent
f4402bd129
commit
05930b53de
|
|
@ -27,7 +27,7 @@ M, U \- conveniently mount and unmount
|
||||||
\fIM\fR and \fIU\fR allow easy mounting and unmounting of a device by using
|
\fIM\fR and \fIU\fR allow easy mounting and unmounting of a device by using
|
||||||
only an abbreviated device name or keyword. Special keywords are
|
only an abbreviated device name or keyword. Special keywords are
|
||||||
\fBroot\fR, \fBtmp\fR, and \fBusr\fR for the three hard disk partitions
|
\fBroot\fR, \fBtmp\fR, and \fBusr\fR for the three hard disk partitions
|
||||||
Minix runs in. Floppy devices are mounted on \fB/fd0\fR or \fB/fd1\fR. You
|
MINIX 3 runs in. Floppy devices are mounted on \fB/fd0\fR or \fB/fd1\fR. You
|
||||||
can use \fB0\fR and \fB1\fR instead of \fBfd0\fR and \fBfd1\fP. A device it
|
can use \fB0\fR and \fB1\fR instead of \fBfd0\fR and \fBfd1\fP. A device it
|
||||||
doesn't know about is mounted on \fB/mnt\fR.
|
doesn't know about is mounted on \fB/mnt\fR.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH CC 1
|
.TH CC 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
cc, pc, m2 \- Minix C, Pascal, and Modula-2 compilers
|
cc, pc, m2 \- MINIX 3 C, Pascal, and Modula-2 compilers
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.in +.5i
|
.in +.5i
|
||||||
.ti -.5i
|
.ti -.5i
|
||||||
|
|
@ -101,7 +101,7 @@ cc, pc, m2 \- Minix C, Pascal, and Modula-2 compilers
|
||||||
.BR pc ,
|
.BR pc ,
|
||||||
and
|
and
|
||||||
.BR m2
|
.BR m2
|
||||||
are the call names of the Minix C, Pascal, and Modula-2 compilers from
|
are the call names of the MINIX 3 C, Pascal, and Modula-2 compilers from
|
||||||
the Amsterdam Compiler Kit (ACK).
|
the Amsterdam Compiler Kit (ACK).
|
||||||
.PP
|
.PP
|
||||||
All these call names are links to the
|
All these call names are links to the
|
||||||
|
|
@ -124,12 +124,12 @@ the synopsis above shows the options that the Minix-86 driver supports. The
|
||||||
rest of this manual page is geared towards the
|
rest of this manual page is geared towards the
|
||||||
.B acd
|
.B acd
|
||||||
driver. People writing software for Minix-86, or that should be
|
driver. People writing software for Minix-86, or that should be
|
||||||
portable to all Minix versions should stick to the options listed under
|
portable to all MINIX 3 versions should stick to the options listed under
|
||||||
the Minix-86 compiler.
|
the Minix-86 compiler.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
The transformations done by the compiler are modified by the following
|
The transformations done by the compiler are modified by the following
|
||||||
options. They are a superset of the options required by \s-2POSIX\s+2,
|
options. They are a superset of the options required by \s-2POSIX\s+2,
|
||||||
with the Minix or compiler specific ones are marked as such. Options
|
with the MINIX 3 or compiler specific ones are marked as such. Options
|
||||||
for one specific compiler are ignored for others. Read the OPTIONS section
|
for one specific compiler are ignored for others. Read the OPTIONS section
|
||||||
of
|
of
|
||||||
.BR acd (1)
|
.BR acd (1)
|
||||||
|
|
@ -172,12 +172,12 @@ implicit
|
||||||
.BR \-.c .
|
.BR \-.c .
|
||||||
The runtime startoff can be omitted by specifying
|
The runtime startoff can be omitted by specifying
|
||||||
.B \-.o
|
.B \-.o
|
||||||
for those rare cases where you want to supply your own startoff. (Minix)
|
for those rare cases where you want to supply your own startoff. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-c
|
.B \-c
|
||||||
Transform the input files to object files and stop. The
|
Transform the input files to object files and stop. The
|
||||||
.B \-o
|
.B \-o
|
||||||
option may be used under Minix to set the name of the object file.
|
option may be used under MINIX 3 to set the name of the object file.
|
||||||
.BR Make (1)
|
.BR Make (1)
|
||||||
likes this, because
|
likes this, because
|
||||||
.BI "cc \-c" " dir/file" .c
|
.BI "cc \-c" " dir/file" .c
|
||||||
|
|
@ -209,7 +209,7 @@ with the suffix
|
||||||
.BR .i .
|
.BR .i .
|
||||||
File and line number information is omitted from the output. Use
|
File and line number information is omitted from the output. Use
|
||||||
.B \-P \-E
|
.B \-P \-E
|
||||||
under Minix to omit this info for
|
under MINIX 3 to omit this info for
|
||||||
.B \-E
|
.B \-E
|
||||||
too.
|
too.
|
||||||
.TP
|
.TP
|
||||||
|
|
@ -232,7 +232,7 @@ library. (So you do not need to know how the archiver works.) Note that you
|
||||||
need to give object files as arguments if you want to replace old object
|
need to give object files as arguments if you want to replace old object
|
||||||
files. Transformed files are added under a (unique) temporary name. With
|
files. Transformed files are added under a (unique) temporary name. With
|
||||||
.B \-o
|
.B \-o
|
||||||
you can name the library. (Minix) (Minix-86 can't do
|
you can name the library. (MINIX 3) (Minix-86 can't do
|
||||||
.BR \-c.a .)
|
.BR \-c.a .)
|
||||||
.TP
|
.TP
|
||||||
.B \-O
|
.B \-O
|
||||||
|
|
@ -244,13 +244,13 @@ optimization level to get code of reasonable quality. Use
|
||||||
to turn off optimization to speed up compilation at debug time.
|
to turn off optimization to speed up compilation at debug time.
|
||||||
.TP
|
.TP
|
||||||
.BI \-O level
|
.BI \-O level
|
||||||
Compile with the given optimization level. (Minix)
|
Compile with the given optimization level. (MINIX 3)
|
||||||
.PP
|
.PP
|
||||||
.B \-OS
|
.B \-OS
|
||||||
.br
|
.br
|
||||||
.B \-OT
|
.B \-OT
|
||||||
.RS
|
.RS
|
||||||
Optimize for space or for time. (Minix)
|
Optimize for space or for time. (MINIX 3)
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-g
|
.B \-g
|
||||||
|
|
@ -289,27 +289,27 @@ Strip the resulting executable of its symbol table.
|
||||||
.RS
|
.RS
|
||||||
Use software floating point instead of hardware floating point. This is
|
Use software floating point instead of hardware floating point. This is
|
||||||
a loader flag, but in general it is best to specify this flag in all
|
a loader flag, but in general it is best to specify this flag in all
|
||||||
phases of the compilation. (Minix)
|
phases of the compilation. (MINIX 3)
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-fnone
|
.B \-fnone
|
||||||
Ignored. Used under Minix-vmd to omit floating point printing/scanning
|
Ignored. Used under Minix-vmd to omit floating point printing/scanning
|
||||||
code. The standard Minix compiler figures this out automatically using
|
code. The standard MINIX 3 compiler figures this out automatically using
|
||||||
a special loader trick. (Minix)
|
a special loader trick. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-w
|
.B \-w
|
||||||
Do not produce warnings about dubious C language constructs. Normally
|
Do not produce warnings about dubious C language constructs. Normally
|
||||||
the compiler is configured to do the maximum amount of checking
|
the compiler is configured to do the maximum amount of checking
|
||||||
without being too annoying. (Minix)
|
without being too annoying. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-wo
|
.B \-wo
|
||||||
Omit warnings about old (K&R) style. (Minix)
|
Omit warnings about old (K&R) style. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-ws
|
.B \-ws
|
||||||
Omit strict warnings. (Minix)
|
Omit strict warnings. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-wa
|
.B \-wa
|
||||||
Omit all warnings. (Minix)
|
Omit all warnings. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.B \-3
|
.B \-3
|
||||||
Only accept 3rd edition Modula-2. (Modula-2)
|
Only accept 3rd edition Modula-2. (Modula-2)
|
||||||
|
|
@ -337,7 +337,7 @@ Under Minix-86 this option transforms the function declarations (prototypes)
|
||||||
to the old K&R form, i.e. the arguments declarations are removed. This saves
|
to the old K&R form, i.e. the arguments declarations are removed. This saves
|
||||||
a lot of memory in the compiler and may allow a large program to be compiled.
|
a lot of memory in the compiler and may allow a large program to be compiled.
|
||||||
One must make sure that function arguments are properly type-cast where
|
One must make sure that function arguments are properly type-cast where
|
||||||
necessary. (Minix)
|
necessary. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.BI \-m arch
|
.BI \-m arch
|
||||||
Set the target architecture for a cross compiler. Normally the compiler
|
Set the target architecture for a cross compiler. Normally the compiler
|
||||||
|
|
@ -356,7 +356,7 @@ names are:
|
||||||
.B m68020
|
.B m68020
|
||||||
(Motorola MC68020, 32-bit ints),
|
(Motorola MC68020, 32-bit ints),
|
||||||
.B sparc
|
.B sparc
|
||||||
(Sun SPARC). (Minix) (Ignored under Minix-86.)
|
(Sun SPARC). (MINIX 3) (Ignored under Minix-86.)
|
||||||
.TP
|
.TP
|
||||||
.BI \-o " outfile"
|
.BI \-o " outfile"
|
||||||
Set the output file for the
|
Set the output file for the
|
||||||
|
|
@ -389,7 +389,7 @@ and
|
||||||
itself.
|
itself.
|
||||||
.RI ( Arch
|
.RI ( Arch
|
||||||
is the machine architecture name. This is
|
is the machine architecture name. This is
|
||||||
Minix dependent, compilers on other systems usually only look in
|
MINIX 3 dependent, compilers on other systems usually only look in
|
||||||
.IR directory .)
|
.IR directory .)
|
||||||
(Minix-86 only has
|
(Minix-86 only has
|
||||||
.B /lib
|
.B /lib
|
||||||
|
|
@ -411,13 +411,13 @@ default. Common I&D is probably only useful for the bootstraps. The
|
||||||
option has the same meaning as
|
option has the same meaning as
|
||||||
.BR \-sep ,
|
.BR \-sep ,
|
||||||
but should no longer be used.
|
but should no longer be used.
|
||||||
(Minix)
|
(MINIX 3)
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-r
|
.B \-r
|
||||||
Makes the loader produce a relocatable object file, i.e. a file that
|
Makes the loader produce a relocatable object file, i.e. a file that
|
||||||
may be loaded again. The runtime startoff and the default libraries are
|
may be loaded again. The runtime startoff and the default libraries are
|
||||||
omitted, only the files mentioned are combined. (Minix)
|
omitted, only the files mentioned are combined. (MINIX 3)
|
||||||
.TP
|
.TP
|
||||||
.BI \-stack " size"
|
.BI \-stack " size"
|
||||||
Allow the process
|
Allow the process
|
||||||
|
|
@ -439,7 +439,7 @@ is used by default, translating to 64k for
|
||||||
and 132k for other architectures. Too large a size is rounded down to keep
|
and 132k for other architectures. Too large a size is rounded down to keep
|
||||||
the data segment within 64 kilobytes for the
|
the data segment within 64 kilobytes for the
|
||||||
.BR i86 .
|
.BR i86 .
|
||||||
(Minix)
|
(MINIX 3)
|
||||||
.SH OPERANDS
|
.SH OPERANDS
|
||||||
All leftover operands are treated as files to be compiled, with one
|
All leftover operands are treated as files to be compiled, with one
|
||||||
exception. The construct
|
exception. The construct
|
||||||
|
|
@ -455,8 +455,8 @@ mistake to write
|
||||||
instead of
|
instead of
|
||||||
.BR "cc\ x.c\ \-lcurses" .)
|
.BR "cc\ x.c\ \-lcurses" .)
|
||||||
.SH IMPLEMENTATION
|
.SH IMPLEMENTATION
|
||||||
The Minix compiler implementation uses the ACK compilers adapted for use
|
The MINIX 3 compiler implementation uses the ACK compilers adapted for use
|
||||||
under Minix as described below. Read
|
under MINIX 3 as described below. Read
|
||||||
.BR ACK (7)
|
.BR ACK (7)
|
||||||
for more detailed information on the ACK compilers themselves.
|
for more detailed information on the ACK compilers themselves.
|
||||||
.SS "Feature test macros"
|
.SS "Feature test macros"
|
||||||
|
|
@ -464,7 +464,7 @@ The preprocessors are given these arguments to define feature test macros:
|
||||||
.B \-D__ACK__
|
.B \-D__ACK__
|
||||||
tells what compiler is used.
|
tells what compiler is used.
|
||||||
.B \-D__minix
|
.B \-D__minix
|
||||||
tells that this is Minix.
|
tells that this is MINIX 3.
|
||||||
.BI \-D__ arch
|
.BI \-D__ arch
|
||||||
tells the architecture.
|
tells the architecture.
|
||||||
(More macros are defined, but they are only to be used in the include files.)
|
(More macros are defined, but they are only to be used in the include files.)
|
||||||
|
|
@ -478,12 +478,12 @@ compiles a standard C program. If you want the extensions described in
|
||||||
POSIX.1 to become visible, then you have to set
|
POSIX.1 to become visible, then you have to set
|
||||||
.BR _POSIX_SOURCE " to " 1
|
.BR _POSIX_SOURCE " to " 1
|
||||||
at the start of your program.
|
at the start of your program.
|
||||||
To enable \s-2UNIX\s+2 or Minix extensions you need to also set
|
To enable \s-2UNIX\s+2 or MINIX 3 extensions you need to also set
|
||||||
.BR _MINIX " to " 1 .
|
.BR _MINIX " to " 1 .
|
||||||
If you don't want to clutter your source files with these symbols then you
|
If you don't want to clutter your source files with these symbols then you
|
||||||
can use
|
can use
|
||||||
.B cc \-D_MINIX \-D_POSIX_SOURCE
|
.B cc \-D_MINIX \-D_POSIX_SOURCE
|
||||||
to get the POSIX.1 and the Minix extensions.
|
to get the POSIX.1 and the MINIX 3 extensions.
|
||||||
.SS "Preprocessing"
|
.SS "Preprocessing"
|
||||||
Pascal, Modula-2, EM source (see below), and Assembly source are
|
Pascal, Modula-2, EM source (see below), and Assembly source are
|
||||||
preprocessed by the C preprocessor if the very first character in the file
|
preprocessed by the C preprocessor if the very first character in the file
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ Alternatively, a decimal gid (uid) may be specified instead of a group name.
|
||||||
If the \fB\-R\fR flag is used, the changes will be applied recursively to
|
If the \fB\-R\fR flag is used, the changes will be applied recursively to
|
||||||
all files in named directories. Only the superuser may execute this command
|
all files in named directories. Only the superuser may execute this command
|
||||||
to set arbitrary groups. Normal users can only change the group if they own
|
to set arbitrary groups. Normal users can only change the group if they own
|
||||||
the file, and the group is their own group (Minix), or one of their
|
the file, and the group is their own group (MINIX 3), or one of their
|
||||||
supplementary groups (Minix-vmd).
|
supplementary groups (Minix-vmd).
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR chown (8),
|
.BR chown (8),
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ It is therefore important to set the amount of stack space carefully.
|
||||||
If too little is provided, the program may crash.
|
If too little is provided, the program may crash.
|
||||||
If too much is provided, memory will be wasted, and fewer programs will be able
|
If too much is provided, memory will be wasted, and fewer programs will be able
|
||||||
to fit in memory and run simultaneously.
|
to fit in memory and run simultaneously.
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
does not swap, so that when memory is full, subsequent attempts to fork will
|
does not swap, so that when memory is full, subsequent attempts to fork will
|
||||||
fail.
|
fail.
|
||||||
The compiler sets the stack space
|
The compiler sets the stack space
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,10 @@ If \fIcompress\fR is linked to \fIuncompress\fR, the latter is the same
|
||||||
as giving the \fB\-d\fP flag.
|
as giving the \fB\-d\fP flag.
|
||||||
Similarly, a link to \fIzcat\fR decompresses to \fIstdout\fR.
|
Similarly, a link to \fIzcat\fR decompresses to \fIstdout\fR.
|
||||||
The
|
The
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
version of \fIcompress\fR uses 13-bit compression.
|
version of \fIcompress\fR uses 13-bit compression.
|
||||||
This means that when compressing files on other systems for transmission to
|
This means that when compressing files on other systems for transmission to
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
be sure that only 13-bit compression is used.
|
be sure that only 13-bit compression is used.
|
||||||
On many systems, the default is 16-bit (too big).
|
On many systems, the default is 16-bit (too big).
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ The options are:
|
||||||
.br
|
.br
|
||||||
\fBconv = noerror\fR \- Ignore errors and just keep going
|
\fBconv = noerror\fR \- Ignore errors and just keep going
|
||||||
.br
|
.br
|
||||||
\fBconv = silent\fR \- Suppress statistics (Minix specific flag)
|
\fBconv = silent\fR \- Suppress statistics (MINIX 3 specific flag)
|
||||||
.PP
|
.PP
|
||||||
Where sizes are expected, they are in bytes.
|
Where sizes are expected, they are in bytes.
|
||||||
However, the letters \fBw\fR, \fBb\fR, or \fBk\fR may be appended to the
|
However, the letters \fBw\fR, \fBb\fR, or \fBk\fR may be appended to the
|
||||||
|
|
|
||||||
|
|
@ -26,5 +26,5 @@ reads one \s-2MS-DOS\s+2 file and writes it on standard output.
|
||||||
The file name must use slash, not backslash as a separator.
|
The file name must use slash, not backslash as a separator.
|
||||||
ASCII files have the final CTRL-Z stripped, and carriage return plus
|
ASCII files have the final CTRL-Z stripped, and carriage return plus
|
||||||
line feed are mapped to line feed only, the usual
|
line feed are mapped to line feed only, the usual
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
convention. See \fBdosdir\fR on the use of single letter drive codes.
|
convention. See \fBdosdir\fR on the use of single letter drive codes.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ elvis, ex, vi \- The editor
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBElvis\fP is a text editor which emulates \fBvi\fP/\fBex\fP.
|
\fBElvis\fP is a text editor which emulates \fBvi\fP/\fBex\fP.
|
||||||
.PP
|
.PP
|
||||||
On systems which pass the program name as an argument, such as Unix and Minix,
|
On systems which pass the program name as an argument, such as UNIX and MINIX 3,
|
||||||
you may also install \fBelvis\fP under the names "ex", "vi", "view", and "input".
|
you may also install \fBelvis\fP under the names "ex", "vi", "view", and "input".
|
||||||
These extra names would normally be links to elvis;
|
These extra names would normally be links to elvis;
|
||||||
see the "ln" shell command.
|
see the "ln" shell command.
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ when a file is found:
|
||||||
\-print0 print the file name terminated by a null character, to be
|
\-print0 print the file name terminated by a null character, to be
|
||||||
used with
|
used with
|
||||||
.BR "xargs \-0" .
|
.BR "xargs \-0" .
|
||||||
(Minix extension).
|
(MINIX 3 extension).
|
||||||
.ti -\w'\-mtime nmm'u
|
.ti -\w'\-mtime nmm'u
|
||||||
\-exec execute a command, {} stands for the file name
|
\-exec execute a command, {} stands for the file name
|
||||||
.ti -\w'\-mtime nmm'u
|
.ti -\w'\-mtime nmm'u
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ Lists all info on files and directories (size, date, time)
|
||||||
Recursively descend and print subdirectories
|
Recursively descend and print subdirectories
|
||||||
.IP \-B
|
.IP \-B
|
||||||
List the byte offset and size of a file or directory. (Useful in scripts that
|
List the byte offset and size of a file or directory. (Useful in scripts that
|
||||||
want to operate on an ISO image file. To add a Minix partition table, for
|
want to operate on an ISO image file. To add a MINIX 3 partition table, for
|
||||||
instance.)
|
instance.)
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
Only Interchange level-1 is supported. The Red Rock extensions and Interchange
|
Only Interchange level-1 is supported. The Red Rock extensions and Interchange
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ program sees which function to perform by looking how it was called.
|
||||||
the ^M at the end of each line.
|
the ^M at the end of each line.
|
||||||
.IP \-B
|
.IP \-B
|
||||||
List the byte offset and size of a file. (Useful in scripts that
|
List the byte offset and size of a file. (Useful in scripts that
|
||||||
want to operate on an ISO image file. To add a Minix partition table, for
|
want to operate on an ISO image file. To add a MINIX 3 partition table, for
|
||||||
instance.)
|
instance.)
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
Only Interchange level-1 is supported. The Red Rock extensions and Interchange
|
Only Interchange level-1 is supported. The Red Rock extensions and Interchange
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ and
|
||||||
.PP
|
.PP
|
||||||
Files whose names start with a dot are by default not listed.
|
Files whose names start with a dot are by default not listed.
|
||||||
.PP
|
.PP
|
||||||
Note that standard Minix doesn't have symbolic links or sockets and
|
Note that standard MINIX 3 doesn't have symbolic links or sockets and
|
||||||
.B \-u
|
.B \-u
|
||||||
and
|
and
|
||||||
.B \-c
|
.B \-c
|
||||||
|
|
|
||||||
|
|
@ -36,13 +36,13 @@ mail \- send and receive electronic mail
|
||||||
.PP
|
.PP
|
||||||
\fIMail\fR is an extremely simple electronic mail program. It can be used
|
\fIMail\fR is an extremely simple electronic mail program. It can be used
|
||||||
to send or receive email on a single
|
to send or receive email on a single
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
system, in which case it functions
|
system, in which case it functions
|
||||||
as user agent and local delivery agent.
|
as user agent and local delivery agent.
|
||||||
If the flag \fIMAILER\fR is defined in \fImail.c\fR,
|
If the flag \fIMAILER\fR is defined in \fImail.c\fR,
|
||||||
it can also call a trans\%port agent to handle remote mail as well.
|
it can also call a trans\%port agent to handle remote mail as well.
|
||||||
No such agent is supplied with
|
No such agent is supplied with
|
||||||
\s-2MINIX\s+2.
|
\s-1MINIX 3\s-1.
|
||||||
.PP
|
.PP
|
||||||
When called by \fIuser\fR with no arguments, it examines the mailbox
|
When called by \fIuser\fR with no arguments, it examines the mailbox
|
||||||
\fI/usr/spool/mail/user\fR, prints one message (depending on the \fB\-r\fR
|
\fI/usr/spool/mail/user\fR, prints one message (depending on the \fB\-r\fR
|
||||||
|
|
@ -81,7 +81,7 @@ will be delivered with Subject: No subject.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
The \fB\-s\fR option was added to make this simple mail program
|
The \fB\-s\fR option was added to make this simple mail program
|
||||||
consistent with mail programs found in other *nix variants. Many
|
consistent with mail programs found in other *nix variants. Many
|
||||||
programs, including the version of cron distributed with Minix releases
|
programs, including the version of cron distributed with MINIX 3 releases
|
||||||
2.0.3 and later, report their outcome by piping output to the mail
|
2.0.3 and later, report their outcome by piping output to the mail
|
||||||
program in order to send a mail message to root in lieu of writing a
|
program in order to send a mail message to root in lieu of writing a
|
||||||
log file. Such programs often expect the mail program to accept a
|
log file. Such programs often expect the mail program to accept a
|
||||||
|
|
@ -90,7 +90,7 @@ subject line using this option.
|
||||||
If an external \fIMAILER\fR is used it is likely the conditional code
|
If an external \fIMAILER\fR is used it is likely the conditional code
|
||||||
supporting this will need some editing to be made to work correctly.
|
supporting this will need some editing to be made to work correctly.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
The original mail program for Minix was written by Peter B. Housel.
|
The original mail program for MINIX 3 was written by Peter B. Housel.
|
||||||
The -e and -t options were added by C. W. Rose. The -s option was added
|
The -e and -t options were added by C. W. Rose. The -s option was added
|
||||||
by A. S. Woodhull. This man page revised by ASW 2003-07-18.
|
by A. S. Woodhull. This man page revised by ASW 2003-07-18.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ Many books on
|
||||||
discuss
|
discuss
|
||||||
.I make .
|
.I make .
|
||||||
Study the numerous \fIMakefiles\fR in the
|
Study the numerous \fIMakefiles\fR in the
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
source tree for examples.
|
source tree for examples.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR cc (1).
|
.BR cc (1).
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ Documents
|
||||||
.br
|
.br
|
||||||
Larger manuals explaining some commands in more detail.
|
Larger manuals explaining some commands in more detail.
|
||||||
.PP
|
.PP
|
||||||
(If you are new to Minix then try
|
(If you are new to MINIX 3 then try
|
||||||
.BR "man hier" ,
|
.BR "man hier" ,
|
||||||
it will show you around the file system and give you many pointers to other
|
it will show you around the file system and give you many pointers to other
|
||||||
manual pages.)
|
manual pages.)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH MDB 1
|
.TH MDB 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mdb \- Minix debugger
|
mdb \- MINIX 3 debugger
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B mdb
|
.B mdb
|
||||||
.RB [ \-fc ]
|
.RB [ \-fc ]
|
||||||
|
|
@ -17,7 +17,7 @@ mdb \- Minix debugger
|
||||||
.if n .sp
|
.if n .sp
|
||||||
..
|
..
|
||||||
.B mdb
|
.B mdb
|
||||||
is the Minix debugger.
|
is the MINIX 3 debugger.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
Its command line options are:
|
Its command line options are:
|
||||||
.TP
|
.TP
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ and 64 Mb for a version 1 file system. Alas the 8086
|
||||||
.I fsck
|
.I fsck
|
||||||
runs out of memory on a V2 file system larger than 128 Mb, so for the 8086
|
runs out of memory on a V2 file system larger than 128 Mb, so for the 8086
|
||||||
version of
|
version of
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
you have to limit yourself to file systems of that size.
|
you have to limit yourself to file systems of that size.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR mkproto (1),
|
.BR mkproto (1),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH MKPROTO 1
|
.TH MKPROTO 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mkproto \- create a MINIX prototype file
|
mkproto \- create a MINIX 3 prototype file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBmkproto \fR[\fB\-b \fIn\fR] [\fB\-d \fIstr\fR] [\fB\-g \fIn\fR] [\fB\-i \fIn\fR] [\fB\-p \fInnn\fR] [\fB\-s\fR] [\fB\-t \fIroot\fR] [\fB\-u \fIn\fR] \fIsource_directory\fR [\fIprototype_file\fR]\fR
|
\fBmkproto \fR[\fB\-b \fIn\fR] [\fB\-d \fIstr\fR] [\fB\-g \fIn\fR] [\fB\-i \fIn\fR] [\fB\-p \fInnn\fR] [\fB\-s\fR] [\fB\-t \fIroot\fR] [\fB\-u \fIn\fR] \fIsource_directory\fR [\fIprototype_file\fR]\fR
|
||||||
.br
|
.br
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH POSTMORT 1
|
.TH POSTMORT 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
postmort \- perform post-mortem on PC Minix core files
|
postmort \- perform post-mortem on PC MINIX 3 core files
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBpostmort\fR [\fB\-dpt\fR] \fB\-c \fIcorefile \fB\-s \fIsymbfile\fR
|
\fBpostmort\fR [\fB\-dpt\fR] \fB\-c \fIcorefile \fB\-s \fIsymbfile\fR
|
||||||
.br
|
.br
|
||||||
|
|
@ -25,7 +25,7 @@ postmort \- perform post-mortem on PC Minix core files
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
.I Postmort
|
.I Postmort
|
||||||
does a simple static analysis of a PC Minix core file;
|
does a simple static analysis of a PC MINIX 3 core file;
|
||||||
By default, it looks for the
|
By default, it looks for the
|
||||||
file 'core' in the local directory and loads that for analysis; it
|
file 'core' in the local directory and loads that for analysis; it
|
||||||
also searches for the file 'symbol.out', and if that fails 'a.out',
|
also searches for the file 'symbol.out', and if that fails 'a.out',
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ the disk, making it safer to use when one is worried about a sick system.
|
||||||
When the \fB\-b\fR flag is given, the output is a shell script that
|
When the \fB\-b\fR flag is given, the output is a shell script that
|
||||||
calls the \fIbadblocks\fR program to marked all the bad blocks.
|
calls the \fIbadblocks\fR program to marked all the bad blocks.
|
||||||
Whenever installing
|
Whenever installing
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
it is wise to run \fIreadall\fR with the \fB\-b\fR flag first on all
|
it is wise to run \fIreadall\fR with the \fB\-b\fR flag first on all
|
||||||
the hard disks.
|
the hard disks.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH READFS 1
|
.TH READFS 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
readfs \- read a MINIX file system
|
readfs \- read a MINIX 3 file system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBreadfs\fR [\fB\-il\fR] \fIblock_special\fR [\fIdir\fR]\fR
|
\fBreadfs\fR [\fB\-il\fR] \fIblock_special\fR [\fIdir\fR]\fR
|
||||||
.br
|
.br
|
||||||
|
|
@ -22,7 +22,7 @@ readfs \- read a MINIX file system
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
\fIReadfs\fR reads a diskette containing a
|
\fIReadfs\fR reads a diskette containing a
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
file system. It can
|
file system. It can
|
||||||
extract all the files from it, give a listing of them, or both. The files
|
extract all the files from it, give a listing of them, or both. The files
|
||||||
extracted can be put in a user-specified directory (default: current
|
extracted can be put in a user-specified directory (default: current
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ rz \- receive a file using the zmodem protocol
|
||||||
.PP
|
.PP
|
||||||
The XMODEM, YMODEM, and ZMODEM family of file transfer programs are widely
|
The XMODEM, YMODEM, and ZMODEM family of file transfer programs are widely
|
||||||
used on personal computers.
|
used on personal computers.
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
supports ZMODEM, the most advanced of the set.
|
supports ZMODEM, the most advanced of the set.
|
||||||
The programs \fIsz\fR and \fIrz\fR are used for sending and receiving,
|
The programs \fIsz\fR and \fIrz\fR are used for sending and receiving,
|
||||||
respectively.
|
respectively.
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ spell \- print all words in a file not present in the dictionary
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
\fISpell\fR is the
|
\fISpell\fR is the
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
spelling checker.
|
spelling checker.
|
||||||
It is actually a short shell script.
|
It is actually a short shell script.
|
||||||
First, the program \fIprep\fR strips off the \fIroff\fR,
|
First, the program \fIprep\fR strips off the \fIroff\fR,
|
||||||
|
|
|
||||||
|
|
@ -238,12 +238,12 @@ The
|
||||||
.BR xpixels
|
.BR xpixels
|
||||||
and
|
and
|
||||||
.BR ypixels
|
.BR ypixels
|
||||||
keywords are Minix additions beyond the keywords defined by POSIX.
|
keywords are MINIX 3 additions beyond the keywords defined by POSIX.
|
||||||
.B Rows
|
.B Rows
|
||||||
and
|
and
|
||||||
.B cols
|
.B cols
|
||||||
are common UNIX extensions, however.
|
are common UNIX extensions, however.
|
||||||
There are more Minix specific flags that match the Minix specific attributes
|
There are more MINIX 3 specific flags that match the MINIX 3 specific attributes
|
||||||
described in
|
described in
|
||||||
.BR tty (4).
|
.BR tty (4).
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ The file can be received using \fIrz\fR.
|
||||||
\fISz\fR uses the ZMODEM error correcting
|
\fISz\fR uses the ZMODEM error correcting
|
||||||
protocol to send one or more files over a dial-in serial
|
protocol to send one or more files over a dial-in serial
|
||||||
port to a variety of programs running under
|
port to a variety of programs running under
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
\s-2UNIX\s+2,
|
\s-2UNIX\s+2,
|
||||||
\s-2MS-DOS\s0, \s-2CP/M\s0, \s-2VMS\s0, and other operating systems.
|
\s-2MS-DOS\s0, \s-2CP/M\s0, \s-2VMS\s0, and other operating systems.
|
||||||
It is the successor to XMODEM and YMODEM.
|
It is the successor to XMODEM and YMODEM.
|
||||||
|
|
@ -228,7 +228,7 @@ conventions appropriate to the receiving environment.
|
||||||
Send only the \fI.c\fR and \fI.h\fR files that exist on both systems,
|
Send only the \fI.c\fR and \fI.h\fR files that exist on both systems,
|
||||||
and are newer on the sending system than the corresponding
|
and are newer on the sending system than the corresponding
|
||||||
version on the receiving system, converting
|
version on the receiving system, converting
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
to \s-2MS-DOS\s0 text format.
|
to \s-2MS-DOS\s0 text format.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR rz (1),
|
.BR rz (1),
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ is that the
|
||||||
format is somewhat more standardized than the
|
format is somewhat more standardized than the
|
||||||
.I ar
|
.I ar
|
||||||
format, making it theoretically possible to transport
|
format, making it theoretically possible to transport
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
files to another computer, but do not bet on it.
|
files to another computer, but do not bet on it.
|
||||||
If the target machine runs
|
If the target machine runs
|
||||||
\&MS-DOS ,
|
\&MS-DOS ,
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ term \- turn PC into a dumb terminal [IBM]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
\fITerm\fR allows
|
\fITerm\fR allows
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
to talk to a terminal or modem over RS232
|
to talk to a terminal or modem over RS232
|
||||||
port 1. The program first sets the baudrate, parity and character length,
|
port 1. The program first sets the baudrate, parity and character length,
|
||||||
and then forks.
|
and then forks.
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ uue, uuencode \- encode a binary file to ASCII (e.g., for mailing)
|
||||||
file to an encoding using only 64 ASCII characters.
|
file to an encoding using only 64 ASCII characters.
|
||||||
\fIUudecode\fR converts it back to the original file.
|
\fIUudecode\fR converts it back to the original file.
|
||||||
The \fIuue\fR and \fIuud\fR programs are the
|
The \fIuue\fR and \fIuud\fR programs are the
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
versions of these programs, and are compatible with the \s-2UNIX\s0 ones.
|
versions of these programs, and are compatible with the \s-2UNIX\s0 ones.
|
||||||
The files produced can even be sent successfully over BITNET, which is
|
The files produced can even be sent successfully over BITNET, which is
|
||||||
notorious for mangling files.
|
notorious for mangling files.
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ which \- examine $PATH to see which file will be executed
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
The $PATH shell variable controls the
|
The $PATH shell variable controls the
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
search rules.
|
search rules.
|
||||||
If a command \fIa.out\fR is given, the shell first tries to find an
|
If a command \fIa.out\fR is given, the shell first tries to find an
|
||||||
executable file in the working directory.
|
executable file in the working directory.
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ produced by the
|
||||||
.B \-print0
|
.B \-print0
|
||||||
option of
|
option of
|
||||||
.BR find (1).
|
.BR find (1).
|
||||||
This is a Minix specific extension to
|
This is a MINIX 3 specific extension to
|
||||||
.BR xargs .
|
.BR xargs .
|
||||||
.PP
|
.PP
|
||||||
If no
|
If no
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,7 @@ is currently available.
|
||||||
The number of bytes in the new process's argument list
|
The number of bytes in the new process's argument list
|
||||||
is larger than the system-imposed limit ARG_MAX.
|
is larger than the system-imposed limit ARG_MAX.
|
||||||
The limit in the system as released is 4096 bytes for
|
The limit in the system as released is 4096 bytes for
|
||||||
16-bit Minix, 16384 bytes for 32-bit Minix, and unlimited for Minix-vmd.
|
16-bit MINIX 3, 16384 bytes for 32-bit Minix, and unlimited for Minix-vmd.
|
||||||
.TP 15
|
.TP 15
|
||||||
[EFAULT]
|
[EFAULT]
|
||||||
\fIPath\fP\|, \fIargv\fP\|, or \fIenvp\fP point
|
\fIPath\fP\|, \fIargv\fP\|, or \fIenvp\fP point
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ int setpriority(int \fIwhich\fP, int \fIwho\fP, int \fIprio\fP)
|
||||||
returns the scheduling priority of the process, process group, or user
|
returns the scheduling priority of the process, process group, or user
|
||||||
referred to in \fIwho\fP. Which of the three is indicated in
|
referred to in \fIwho\fP. Which of the three is indicated in
|
||||||
\fIwhich\fP, by PRIO_PROCESS, PRIO_PGRP and PRIO_USER, respectively.
|
\fIwhich\fP, by PRIO_PROCESS, PRIO_PGRP and PRIO_USER, respectively.
|
||||||
In Minix, currently only PRIO_PROCESS is implemented.
|
In MINIX 3, currently only PRIO_PROCESS is implemented.
|
||||||
|
|
||||||
The range of the returned value is between PRIO_MIN and PRIO_MAX,
|
The range of the returned value is between PRIO_MIN and PRIO_MAX,
|
||||||
currently between -20 and 20, and is the so-called nice value of
|
currently between -20 and 20, and is the so-called nice value of
|
||||||
|
|
|
||||||
|
|
@ -77,8 +77,8 @@ or a disk pack is not loaded on a drive.
|
||||||
.en 7 E2BIG "Arg list too long
|
.en 7 E2BIG "Arg list too long
|
||||||
An argument list longer than ARG_MAX bytes is presented to
|
An argument list longer than ARG_MAX bytes is presented to
|
||||||
.BR execve .
|
.BR execve .
|
||||||
ARG_MAX is set to 4096 bytes for 16-bit Minix, 16384 bytes for 32-bit
|
ARG_MAX is set to 4096 bytes for 16-bit MINIX 3, 16384 bytes for 32-bit
|
||||||
Minix, and unlimited for Minix-vmd as these systems are released.
|
MINIX 3, and unlimited for Minix-vmd as these systems are released.
|
||||||
.en 8 ENOEXEC "Exec format error
|
.en 8 ENOEXEC "Exec format error
|
||||||
A request is made to execute a file
|
A request is made to execute a file
|
||||||
that, although it has the appropriate permissions,
|
that, although it has the appropriate permissions,
|
||||||
|
|
@ -163,7 +163,7 @@ and temporarily no more
|
||||||
can be accepted.
|
can be accepted.
|
||||||
.en 24 EMFILE "Too many open files
|
.en 24 EMFILE "Too many open files
|
||||||
The limit on the number of open files per process, OPEN_MAX, is reached.
|
The limit on the number of open files per process, OPEN_MAX, is reached.
|
||||||
As released, this limit is 20 for Minix, and 30 for Minix-vmd.
|
As released, this limit is 20 for MINIX 3, and 30 for Minix-vmd.
|
||||||
.en 25 ENOTTY "Not a typewriter
|
.en 25 ENOTTY "Not a typewriter
|
||||||
The file mentioned in an
|
The file mentioned in an
|
||||||
.B ioctl
|
.B ioctl
|
||||||
|
|
@ -171,7 +171,7 @@ is not a terminal or one of the
|
||||||
devices to which this call applies. (Often seen error from programs with
|
devices to which this call applies. (Often seen error from programs with
|
||||||
bugs in their error reporting code.)
|
bugs in their error reporting code.)
|
||||||
.en 26 ETXTBSY "Text file busy
|
.en 26 ETXTBSY "Text file busy
|
||||||
Attempt to execute a program that is open for writing. Obsolete under Minix.
|
Attempt to execute a program that is open for writing. Obsolete under MINIX 3.
|
||||||
.en 27 EFBIG "File too large
|
.en 27 EFBIG "File too large
|
||||||
The size of a file exceeded the maximum (little over 64 megabytes for
|
The size of a file exceeded the maximum (little over 64 megabytes for
|
||||||
the V2 file system).
|
the V2 file system).
|
||||||
|
|
@ -303,7 +303,7 @@ One of these groups is distinguished from others and
|
||||||
used in implementing accounting facilities. The positive
|
used in implementing accounting facilities. The positive
|
||||||
integer corresponding to this distinguished group is termed
|
integer corresponding to this distinguished group is termed
|
||||||
the real group ID.
|
the real group ID.
|
||||||
(Under standard Minix this is the only group a process can be a member of.)
|
(Under standard MINIX 3 this is the only group a process can be a member of.)
|
||||||
.IP
|
.IP
|
||||||
All processes have a real user ID and real group ID.
|
All processes have a real user ID and real group ID.
|
||||||
These are initialized from the equivalent attributes
|
These are initialized from the equivalent attributes
|
||||||
|
|
@ -325,7 +325,7 @@ The group access list is an additional set of group ID's
|
||||||
used only in determining resource accessibility. Access checks
|
used only in determining resource accessibility. Access checks
|
||||||
are performed as described below in ``File Access Permissions''.
|
are performed as described below in ``File Access Permissions''.
|
||||||
The maximum number of additional group ID's is NGROUPS_MAX.
|
The maximum number of additional group ID's is NGROUPS_MAX.
|
||||||
For Minix this is 0, but Minix-vmd supports a list of up to 16
|
For MINIX 3 this is 0, but Minix-vmd supports a list of up to 16
|
||||||
additional group ID's. (Also known as ``supplemental'' group ID's.)
|
additional group ID's. (Also known as ``supplemental'' group ID's.)
|
||||||
.TP 5
|
.TP 5
|
||||||
Super-user
|
Super-user
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ A read using the descriptor
|
||||||
.IR fildes [0]
|
.IR fildes [0]
|
||||||
will pick up the data.
|
will pick up the data.
|
||||||
.PP
|
.PP
|
||||||
PIPE_MAX equals 7168 under Minix, but note that most systems use 4096.
|
PIPE_MAX equals 7168 under MINIX 3, but note that most systems use 4096.
|
||||||
.PP
|
.PP
|
||||||
It is assumed that after the
|
It is assumed that after the
|
||||||
pipe has been set up,
|
pipe has been set up,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ int ptrace(int \fIrequest\fP, pid_t \fIpid\fP, long \fIaddr\fP, long \fIdata\fP)
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.ft B
|
.ft B
|
||||||
Note: This manual page has no relation to Minix. Someone who knows ptrace()
|
Note: This manual page has no relation to MINIX 3. Someone who knows ptrace()
|
||||||
has to check, or rewrite, this page. (kjb)
|
has to check, or rewrite, this page. (kjb)
|
||||||
.ft R
|
.ft R
|
||||||
.PP
|
.PP
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ the return value is -1 and an error is indicated by
|
||||||
.BR halt (8),
|
.BR halt (8),
|
||||||
.BR sync (2).
|
.BR sync (2).
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Minix can not return to the monitor if running in real mode. This means
|
MINIX 3 can not return to the monitor if running in real mode. This means
|
||||||
that most of the reboot functions will change to a system reset.
|
that most of the reboot functions will change to a system reset.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Edvard Tuinder (v892231@si.hhs.NL)
|
Edvard Tuinder (v892231@si.hhs.NL)
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ Note that
|
||||||
.B signal()
|
.B signal()
|
||||||
and all of the
|
and all of the
|
||||||
.B SA_*
|
.B SA_*
|
||||||
flags are Minix extensions.
|
flags are MINIX 3 extensions.
|
||||||
.PP
|
.PP
|
||||||
Signal handlers are reset to
|
Signal handlers are reset to
|
||||||
.B SIG_DFL
|
.B SIG_DFL
|
||||||
|
|
@ -121,7 +121,7 @@ on an
|
||||||
.BR execve (2).
|
.BR execve (2).
|
||||||
Signals that are ignored stay ignored.
|
Signals that are ignored stay ignored.
|
||||||
.SS Signals
|
.SS Signals
|
||||||
Minix knows about the following signals:
|
MINIX 3 knows about the following signals:
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ta +11n +7n +8n
|
.ta +11n +7n +8n
|
||||||
|
|
@ -167,7 +167,7 @@ The signal is ignored if not caught.
|
||||||
Only Minix-vmd implements this signal.
|
Only Minix-vmd implements this signal.
|
||||||
.TP
|
.TP
|
||||||
.B x
|
.B x
|
||||||
Minix extension, not defined by \s-2POSIX\s+2.
|
MINIX 3 extension, not defined by \s-2POSIX\s+2.
|
||||||
.TP
|
.TP
|
||||||
.B p
|
.B p
|
||||||
These signals are not implemented, but \s-2POSIX\s+2 requires that they are
|
These signals are not implemented, but \s-2POSIX\s+2 requires that they are
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ int svrctl(u32_t \fIrequest\fP, void *\fIdata\fP);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B Svrctl
|
.B Svrctl
|
||||||
allows root to control the kernel in various ways, or implements some very
|
allows root to control the kernel in various ways, or implements some very
|
||||||
Minix specific system calls that don't deserve their own system call number.
|
MINIX 3 specific system calls that don't deserve their own system call number.
|
||||||
.PP
|
.PP
|
||||||
This system call makes it easy to add new ways of setting and getting kernel
|
This system call makes it easy to add new ways of setting and getting kernel
|
||||||
parameters, but at the same time, backwards compatibility is not guaranteed.
|
parameters, but at the same time, backwards compatibility is not guaranteed.
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ struct utsname {
|
||||||
.PP
|
.PP
|
||||||
The strings are always null terminated, and may be of a different length then
|
The strings are always null terminated, and may be of a different length then
|
||||||
shown here. The first five are required by \s-2POSIX\s+2, the last is
|
shown here. The first five are required by \s-2POSIX\s+2, the last is
|
||||||
Minix specific.
|
MINIX 3 specific.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR uname (1).
|
.BR uname (1).
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ there are no processes that wish to report status (WNOHANG),
|
||||||
and/or that children of the current process that are stopped
|
and/or that children of the current process that are stopped
|
||||||
due to a SIGTTIN, SIGTTOU, SIGTSTP, or SIGSTOP signal should also have
|
due to a SIGTTIN, SIGTTOU, SIGTSTP, or SIGSTOP signal should also have
|
||||||
their status reported (WUNTRACED). (Job control is not implemented for
|
their status reported (WUNTRACED). (Job control is not implemented for
|
||||||
Minix, but these symbols and signals are.)
|
MINIX 3, but these symbols and signals are.)
|
||||||
.PP
|
.PP
|
||||||
When the WNOHANG option is specified and no processes
|
When the WNOHANG option is specified and no processes
|
||||||
wish to report status,
|
wish to report status,
|
||||||
|
|
@ -75,7 +75,7 @@ either returns 0 under some implementations, or \-1 with
|
||||||
set to
|
set to
|
||||||
.B EAGAIN
|
.B EAGAIN
|
||||||
under others.
|
under others.
|
||||||
(Under Minix it returns 0.)
|
(Under MINIX 3 it returns 0.)
|
||||||
The WNOHANG and WUNTRACED options may be combined by
|
The WNOHANG and WUNTRACED options may be combined by
|
||||||
.IR or 'ing
|
.IR or 'ing
|
||||||
the two values.
|
the two values.
|
||||||
|
|
@ -120,7 +120,7 @@ Signal number if the process died by a signal, zero otherwise.
|
||||||
True if the process died by a signal.
|
True if the process died by a signal.
|
||||||
.TP 5
|
.TP 5
|
||||||
.BI "WIFSTOPPED(" status ")"
|
.BI "WIFSTOPPED(" status ")"
|
||||||
True if the process is stopped. (Never true under Minix.)
|
True if the process is stopped. (Never true under MINIX 3.)
|
||||||
.TP 5
|
.TP 5
|
||||||
.BI "WSTOPSIG(" status ")"
|
.BI "WSTOPSIG(" status ")"
|
||||||
Signal number of the signal that stopped the process.
|
Signal number of the signal that stopped the process.
|
||||||
|
|
@ -153,7 +153,7 @@ The \fIstatus\fP argument points to an illegal address.
|
||||||
[EAGAIN]
|
[EAGAIN]
|
||||||
.B Waitpid
|
.B Waitpid
|
||||||
is called with the WNOHANG option and no child has exited yet. (Not under
|
is called with the WNOHANG option and no child has exited yet. (Not under
|
||||||
Minix, it'll return 0 in this case and leave
|
MINIX 3, it'll return 0 in this case and leave
|
||||||
.B errno
|
.B errno
|
||||||
alone.)
|
alone.)
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ allows the directory to be read again from the beginning.
|
||||||
.B Closedir()
|
.B Closedir()
|
||||||
closes the directory and releases administrative data.
|
closes the directory and releases administrative data.
|
||||||
.PP
|
.PP
|
||||||
The Minix specific functions
|
The MINIX 3 specific functions
|
||||||
.B telldir()
|
.B telldir()
|
||||||
and
|
and
|
||||||
.B seekdir()
|
.B seekdir()
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ but duplicate the shell's actions in searching for an executable
|
||||||
file in a list of directories.
|
file in a list of directories.
|
||||||
The directory list is obtained from the environment variable
|
The directory list is obtained from the environment variable
|
||||||
.BR PATH .
|
.BR PATH .
|
||||||
Under standard Minix, if a file is found that is executable, but does
|
Under standard MINIX 3, if a file is found that is executable, but does
|
||||||
not have the proper executable header then it is assumed to be
|
not have the proper executable header then it is assumed to be
|
||||||
a shell script.
|
a shell script.
|
||||||
.B Execlp
|
.B Execlp
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ visible. The
|
||||||
field is also not defined by \s-2POSIX\s+2, but is always visible.
|
field is also not defined by \s-2POSIX\s+2, but is always visible.
|
||||||
Portable code cannot reliably detect errors by setting
|
Portable code cannot reliably detect errors by setting
|
||||||
.B errno
|
.B errno
|
||||||
to zero. Under Minix it is better to make a
|
to zero. Under MINIX 3 it is better to make a
|
||||||
.B getgrent()
|
.B getgrent()
|
||||||
scan if you need to look up several group-id's or names, but portable code
|
scan if you need to look up several group-id's or names, but portable code
|
||||||
had better use several
|
had better use several
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ and
|
||||||
fields are also not defined by \s-2POSIX\s+2, but are always visible.
|
fields are also not defined by \s-2POSIX\s+2, but are always visible.
|
||||||
Portable code cannot reliably detect errors by setting
|
Portable code cannot reliably detect errors by setting
|
||||||
.B errno
|
.B errno
|
||||||
to zero. Under Minix it is better to make a
|
to zero. Under MINIX 3 it is better to make a
|
||||||
.B getpwent()
|
.B getpwent()
|
||||||
scan if you need to look up several user-id's or names, but portable code
|
scan if you need to look up several user-id's or names, but portable code
|
||||||
had better use several
|
had better use several
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ and
|
||||||
.B getttynam()
|
.B getttynam()
|
||||||
return a pointer to static storage that is overwritten in each call.
|
return a pointer to static storage that is overwritten in each call.
|
||||||
.PP
|
.PP
|
||||||
The Minix
|
The MINIX 3
|
||||||
.B struct ttyent
|
.B struct ttyent
|
||||||
has only the
|
has only the
|
||||||
.B ty_name
|
.B ty_name
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ u64_t make64(unsigned long \fIlo\fP, unsigned long \fIhi\fP)
|
||||||
..
|
..
|
||||||
The
|
The
|
||||||
.B int64
|
.B int64
|
||||||
family of functions allow Minix to handle disks of up to 4 terabytes using
|
family of functions allow MINIX 3 to handle disks of up to 4 terabytes using
|
||||||
32 bit sector numbers and 64 bit byte offsets on a machine where the C type
|
32 bit sector numbers and 64 bit byte offsets on a machine where the C type
|
||||||
.B long
|
.B long
|
||||||
is 32 bits. The <minix/u64.h> include file defines a 64 bit data
|
is 32 bits. The <minix/u64.h> include file defines a 64 bit data
|
||||||
|
|
@ -174,11 +174,11 @@ kernel. They should not be used for anything else.)
|
||||||
With the usual disk block size of 512 bytes the maximum disk size is 512
|
With the usual disk block size of 512 bytes the maximum disk size is 512
|
||||||
\(** 4 gigabytes = 2 terabytes.
|
\(** 4 gigabytes = 2 terabytes.
|
||||||
.PP
|
.PP
|
||||||
Standard Minix only uses 64 bit computations within the disk drivers, so
|
Standard MINIX 3 only uses 64 bit computations within the disk drivers, so
|
||||||
individual partitions are still limited to 4 gigabytes. Minix-vmd has 64
|
individual partitions are still limited to 4 gigabytes. Minix-vmd has 64
|
||||||
bit computations also in the file system code.
|
bit computations also in the file system code.
|
||||||
.PP
|
.PP
|
||||||
Special care must be taken when accessing disk devices. For Minix one may
|
Special care must be taken when accessing disk devices. For MINIX 3 one may
|
||||||
have to temporarily change the start of the partition to go beyond 4 G.
|
have to temporarily change the start of the partition to go beyond 4 G.
|
||||||
Minix-vmd can go beyond 4 G, but the
|
Minix-vmd can go beyond 4 G, but the
|
||||||
.B lseek
|
.B lseek
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ Jan 10 20:27:20 flotsam inetd[174]: service 'shell' granted to jetsam.cs.vu.nl
|
||||||
.RE
|
.RE
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
IP and DNS based access checks will stop most crackers, but not the really
|
IP and DNS based access checks will stop most crackers, but not the really
|
||||||
determined ones. Luckily Minix is sufficiently strange to thwart the well
|
determined ones. Luckily MINIX 3 is sufficiently strange to thwart the well
|
||||||
known cracking schemes. But don't ever allow yourself to feel secure.
|
known cracking schemes. But don't ever allow yourself to feel secure.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Kees J. Bot <kjb@cs.vu.nl>
|
Kees J. Bot <kjb@cs.vu.nl>
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,6 @@ if a null (\fB^@\fR) is inappropriate.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
William Joy
|
William Joy
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
The Minix implementation does not support any of the external variables,
|
The MINIX 3 implementation does not support any of the external variables,
|
||||||
only the functions calls. The Minix-vmd termcap does support it all,
|
only the functions calls. The Minix-vmd termcap does support it all,
|
||||||
although noone in his right mind meddles with those variables.
|
although noone in his right mind meddles with those variables.
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ Encode the new output baud rate into the termios structure.
|
||||||
.B tcsendbreak(\fIfd\fP, \fIduration\fP)
|
.B tcsendbreak(\fIfd\fP, \fIduration\fP)
|
||||||
Emit a break condition on a serial line for a time indicated by
|
Emit a break condition on a serial line for a time indicated by
|
||||||
.IR duration .
|
.IR duration .
|
||||||
(Always 0.4 seconds under Minix,
|
(Always 0.4 seconds under MINIX 3,
|
||||||
.I duration
|
.I duration
|
||||||
is ignored.)
|
is ignored.)
|
||||||
.TP
|
.TP
|
||||||
|
|
@ -130,7 +130,7 @@ does not refer to a terminal device, and
|
||||||
if one of the functions waiting for output to drain is interrupted.
|
if one of the functions waiting for output to drain is interrupted.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
It may be interesting to know that the functions operating on the tty are
|
It may be interesting to know that the functions operating on the tty are
|
||||||
directly translated into the following Minix
|
directly translated into the following MINIX 3
|
||||||
.B ioctl
|
.B ioctl
|
||||||
requests:
|
requests:
|
||||||
.BR TCGETS ,
|
.BR TCGETS ,
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,6 @@ utmp file is not used.
|
||||||
.B Ttyslot()
|
.B Ttyslot()
|
||||||
is often found in a UNIX implementation,
|
is often found in a UNIX implementation,
|
||||||
.B fttyslot()
|
.B fttyslot()
|
||||||
is Minix specific.
|
is MINIX 3 specific.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Kees J. Bot (kjb@cs.vu.nl)
|
Kees J. Bot (kjb@cs.vu.nl)
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ Adapter Usable memory Mono/Colour
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
MDA and Hercules are the same to the console driver, because the graphics
|
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
|
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
|
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
|
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.
|
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.
|
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
|
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
|
and 132x43 or 132x50 has 8x8 characters. The boot variable
|
||||||
.B console
|
.B console
|
||||||
is used by both the Boot Monitor and the console driver to set the video
|
is used by both the Boot Monitor and the console driver to set the video
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ controller, disk, tape, at, bios, esdi, aha1540, ncr810, dosfile, fatfile \- con
|
||||||
The
|
The
|
||||||
.BI c n *
|
.BI c n *
|
||||||
family of devices refer to drivers that control disks, disk like devices,
|
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
|
controllers. These controllers can have disks, cdroms and tapes attached to
|
||||||
them. Boot Monitor variables specify which drivers are activated using
|
them. Boot Monitor variables specify which drivers are activated using
|
||||||
the variables
|
the variables
|
||||||
|
|
@ -69,7 +69,7 @@ minor device what? obsolete
|
||||||
.PP
|
.PP
|
||||||
The device names in
|
The device names in
|
||||||
.B /dev
|
.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
|
root device, the first subpartition of the second partition of disk 0 on
|
||||||
controller 0 is
|
controller 0 is
|
||||||
.BR /dev/c0d0p1s0 .
|
.BR /dev/c0d0p1s0 .
|
||||||
|
|
@ -78,12 +78,12 @@ Note that everything is numbered from 0! The first controller is controller
|
||||||
.BR p1 .
|
.BR p1 .
|
||||||
.PP
|
.PP
|
||||||
The fourth column in the table above shows the disk devices names that were
|
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
|
devices are no longer present in
|
||||||
.BR /dev .
|
.BR /dev .
|
||||||
.SS Disks
|
.SS Disks
|
||||||
Most disks are arrays of 512 byte sectors. The disk devices are normally
|
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,
|
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
|
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
|
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
|
to
|
||||||
.BR c0d0p3
|
.BR c0d0p3
|
||||||
for disk 0 on controller 0. To make things interesting you can also place a
|
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 table in the first sector of a MINIX 3 partition, which divides the
|
||||||
partition into up to four subpartitions. Normally Minix is installed into a
|
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.
|
single partition, with the root, swap and /usr file systems in subpartitions.
|
||||||
.PP
|
.PP
|
||||||
If a partition is an extended partition then it contains a linked list of
|
If a partition is an extended partition then it contains a linked list of
|
||||||
|
|
@ -139,7 +139,7 @@ struct part_entry {
|
||||||
|
|
||||||
/* Partition types (sysind). */
|
/* Partition types (sysind). */
|
||||||
#define NO_PART 0x00 /* unused entry */
|
#define NO_PART 0x00 /* unused entry */
|
||||||
#define MINIX_PART 0x81 /* Minix partition type */
|
#define MINIX_PART 0x81 /* MINIX 3 partition type */
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
The cylinder numbers are encoded in a very strange way, bits 8 and 9 are
|
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
|
.BR c0
|
||||||
to
|
to
|
||||||
.BR c3
|
.BR c3
|
||||||
under Minix, or
|
under MINIX 3, or
|
||||||
.BR c0
|
.BR c0
|
||||||
to
|
to
|
||||||
.BR c4
|
.BR c4
|
||||||
|
|
@ -312,7 +312,7 @@ DMA_SECTORS (see
|
||||||
it works well enough.
|
it works well enough.
|
||||||
.SS esdi
|
.SS esdi
|
||||||
A hard disk driver for use on some PS/2 models.
|
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
|
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
|
machines that have such a disk. On XTs you are better off with the
|
||||||
.B bios
|
.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
|
NCR.) KJB has read the docs on this card three times, but has still done
|
||||||
nothing, the lazy bum.
|
nothing, the lazy bum.
|
||||||
.SS dosfile
|
.SS dosfile
|
||||||
The "DOS file as disk" driver that is used when Minix is running
|
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 disk. Only primary
|
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
|
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
|
.SS fatfile
|
||||||
Uses a large file on a FAT file system as a disk. It needs one of the other
|
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
|
disk drivers to do the actual I/O. This driver only knows how to interpret
|
||||||
|
|
|
||||||
|
|
@ -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
|
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
|
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
|
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
|
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.
|
system.
|
||||||
.PP
|
.PP
|
||||||
The major device number (2 for
|
The major device number (2 for
|
||||||
|
|
@ -61,7 +61,7 @@ and 0 for
|
||||||
.BR console )
|
.BR console )
|
||||||
is passed to the driver to select a device among a number of related devices
|
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
|
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:
|
space of the kernel. The following tasks and associated devices exist:
|
||||||
.SS "Memory (major 1)"
|
.SS "Memory (major 1)"
|
||||||
The
|
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
|
device. It is customary to give each operating system on a disk a primary
|
||||||
partition. So the Windows C: "drive" can be on
|
partition. So the Windows C: "drive" can be on
|
||||||
.BR c0d0p0 ,
|
.BR c0d0p0 ,
|
||||||
and Minix can be on
|
and MINIX 3 can be on
|
||||||
.BR c0d0p1 .
|
.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
|
.B c0d0p1
|
||||||
can be further subdivided into the subpartitions
|
can be further subdivided into the subpartitions
|
||||||
.BR c0d0p1s0 ,
|
.BR c0d0p1s0 ,
|
||||||
|
|
@ -202,7 +202,7 @@ device is used to control the audio driver.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 10
|
.TP 10
|
||||||
.B /dev/*
|
.B /dev/*
|
||||||
All Minix devices
|
All MINIX 3 devices
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR read (2),
|
.BR read (2),
|
||||||
.BR write (2),
|
.BR write (2),
|
||||||
|
|
@ -241,7 +241,7 @@ Some devices are not present by default. The
|
||||||
.BR MAKEDEV
|
.BR MAKEDEV
|
||||||
script knows how to make them.
|
script knows how to make them.
|
||||||
.SS "MS-DOS/Windows equivalents"
|
.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
|
.PP
|
||||||
.RS
|
.RS
|
||||||
.nf
|
.nf
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ fd \- floppy disk
|
||||||
The
|
The
|
||||||
.B fd*
|
.B fd*
|
||||||
devices refer to the Floppy disk driver using the NEC PD765 floppy disk
|
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
|
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.
|
and pasting incomplete blocks together.
|
||||||
.PP
|
.PP
|
||||||
The driver is normally configured for two floppy disk devices
|
The driver is normally configured for two floppy disk devices
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
Greg Sharp, April 1992
|
Greg Sharp, April 1992
|
||||||
- updated keywords for auto index generation
|
- updated keywords for auto index generation
|
||||||
Modified: Kees J. Bot, June 1994
|
Modified: Kees J. Bot, June 1994
|
||||||
- changed to man(7) format for Minix.
|
- changed to man(7) format for MINIX 3.
|
||||||
..
|
..
|
||||||
.TH IP 4
|
.TH IP 4
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
|
@ -28,7 +28,7 @@ The
|
||||||
.BR tcp* ,
|
.BR tcp* ,
|
||||||
and
|
and
|
||||||
.B udp*
|
.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
|
There can be up to 16 different networks, with 4 network devices each
|
||||||
(a network has either an
|
(a network has either an
|
||||||
.B eth*
|
.B eth*
|
||||||
|
|
@ -1268,7 +1268,7 @@ When
|
||||||
.B NWUO_DI_IPOPT
|
.B NWUO_DI_IPOPT
|
||||||
is set IP option will be stripped from received packets and no IP options will
|
is set IP option will be stripped from received packets and no IP options will
|
||||||
be sent.
|
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"
|
.SS "UDP Library Functions"
|
||||||
.PP
|
.PP
|
||||||
The following routines provide an somewhat easier to use interface to UDP than
|
The following routines provide an somewhat easier to use interface to UDP than
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ set to
|
||||||
.BR EAGAIN .
|
.BR EAGAIN .
|
||||||
.SS "Special characters"
|
.SS "Special characters"
|
||||||
Some characters have special functions in some of the terminal modes. These
|
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
|
.TP 5
|
||||||
.BR INTR " (^?)"
|
.BR INTR " (^?)"
|
||||||
Special input character that is recognized if
|
Special input character that is recognized if
|
||||||
|
|
@ -140,7 +140,7 @@ are set. A
|
||||||
.B CR NL
|
.B CR NL
|
||||||
sequence is output instead of just
|
sequence is output instead of just
|
||||||
.BR NL .
|
.BR NL .
|
||||||
(Minix specific, but almost mandatory on any UNIX-like system.)
|
(MINIX 3 specific, but almost mandatory on any UNIX-like system.)
|
||||||
.TP
|
.TP
|
||||||
.BR TAB " (^I)"
|
.BR TAB " (^I)"
|
||||||
Special character on output if
|
Special character on output if
|
||||||
|
|
@ -161,7 +161,7 @@ Special input character if job control is implemented and
|
||||||
.B ISIG
|
.B ISIG
|
||||||
is set. It causes a
|
is set. It causes a
|
||||||
.B SIGTSTP
|
.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.)
|
control.)
|
||||||
.TP
|
.TP
|
||||||
.BR STOP " (^S)"
|
.BR STOP " (^S)"
|
||||||
|
|
@ -205,7 +205,7 @@ All of these characters except
|
||||||
.B NL
|
.B NL
|
||||||
and
|
and
|
||||||
.B TAB
|
.B TAB
|
||||||
may be changed or disabled under Minix. (Changes to
|
may be changed or disabled under MINIX 3. (Changes to
|
||||||
.B START
|
.B START
|
||||||
and
|
and
|
||||||
.B STOP
|
.B STOP
|
||||||
|
|
@ -213,13 +213,13 @@ may be ignored under other termios implementations.) The
|
||||||
.B REPRINT
|
.B REPRINT
|
||||||
and
|
and
|
||||||
.B LNEXT
|
.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
|
implementations. \s-2POSIX\s+2 is unclear on whether
|
||||||
.BR IEXTEN,
|
.BR IEXTEN,
|
||||||
.BR IGNCR
|
.BR IGNCR
|
||||||
and
|
and
|
||||||
.BR ICRNL
|
.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"
|
.SS "Terminal attributes"
|
||||||
The attributes of a terminal, such as whether the mode should be canonical or
|
The attributes of a terminal, such as whether the mode should be canonical or
|
||||||
non-canonical, are controlled by routines that use the
|
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.)
|
Enable start/stop input control. (Not implemented.)
|
||||||
.TP
|
.TP
|
||||||
.B IXANY
|
.B IXANY
|
||||||
Allow any character to restart output. (Minix specific.)
|
Allow any character to restart output. (MINIX 3 specific.)
|
||||||
.TP
|
.TP
|
||||||
.B ISTRIP
|
.B ISTRIP
|
||||||
Strip characters to seven bits.
|
Strip characters to seven bits.
|
||||||
|
|
@ -322,7 +322,7 @@ field contains the following single bit flags that control output processing:
|
||||||
.TP
|
.TP
|
||||||
.B OPOST
|
.B OPOST
|
||||||
Perform output processing. This flag is the "main switch" on output
|
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
|
.TP
|
||||||
.B ONLCR
|
.B ONLCR
|
||||||
Transform an
|
Transform an
|
||||||
|
|
@ -473,7 +473,7 @@ a signal is sent.
|
||||||
Send a
|
Send a
|
||||||
.B SIGTTOU
|
.B SIGTTOU
|
||||||
signal if job control is implemented and a background process tries to
|
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"
|
.SS "Input and output speed"
|
||||||
The input and output speed are encoded into the
|
The input and output speed are encoded into the
|
||||||
.B c_ispeed
|
.B c_ispeed
|
||||||
|
|
@ -523,7 +523,7 @@ fields and the
|
||||||
.B B57600
|
.B B57600
|
||||||
and
|
and
|
||||||
.B B115200
|
.B B115200
|
||||||
symbols are Minix specific.)
|
symbols are MINIX 3 specific.)
|
||||||
.SS "Special characters"
|
.SS "Special characters"
|
||||||
The
|
The
|
||||||
.B c_cc
|
.B c_cc
|
||||||
|
|
@ -560,7 +560,7 @@ subscripts respectively, and may ignore changes to
|
||||||
.B START
|
.B START
|
||||||
and
|
and
|
||||||
.BR STOP .
|
.BR STOP .
|
||||||
(Under Minix all special characters have their own
|
(Under MINIX 3 all special characters have their own
|
||||||
.I c_cc
|
.I c_cc
|
||||||
slot and can all be modified.)
|
slot and can all be modified.)
|
||||||
.SS "Raw I/O Parameters"
|
.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
|
redirected. Opening this device can also be used as a test to see if a
|
||||||
process has a controlling tty or not.
|
process has a controlling tty or not.
|
||||||
.PP
|
.PP
|
||||||
For Minix a special write-only device
|
For MINIX 3 a special write-only device
|
||||||
.B /dev/log
|
.B /dev/log
|
||||||
exists for processes that want to write messages to the system console.
|
exists for processes that want to write messages to the system console.
|
||||||
Unlike the console this device is still accessible when a session leader
|
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
|
Note that these old functions cannot control all termios attributes, so the
|
||||||
terminal must be in a relatively sane state to avoid problems.
|
terminal must be in a relatively sane state to avoid problems.
|
||||||
.SH FILES
|
.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
|
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
|
(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
|
.TP 20
|
||||||
.B /dev/console
|
.B /dev/console
|
||||||
System console.
|
System console.
|
||||||
|
|
@ -730,7 +730,7 @@ Associated pseudo tty controllers.
|
||||||
.BR read (2),
|
.BR read (2),
|
||||||
.BR write (2).
|
.BR write (2).
|
||||||
.SH BUGS
|
.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.
|
are very limited utility and only apply to RS-232, not to the user interface.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Kees J. Bot (kjb@cs.vu.nl)
|
Kees J. Bot (kjb@cs.vu.nl)
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ oneliner. The time fields must all be on the same line.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 25n
|
.TP 25n
|
||||||
.B /usr/lib/crontab
|
.B /usr/lib/crontab
|
||||||
Main Minix crontab file.
|
Main MINIX 3 crontab file.
|
||||||
.TP
|
.TP
|
||||||
.B /usr/local/lib/crontab
|
.B /usr/local/lib/crontab
|
||||||
Local jobs for all systems in an organization.
|
Local jobs for all systems in an organization.
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ own networks, it ignored on entries for other hosts.
|
||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
Includes the macro or parameters if one of the class names is matched. A
|
Includes the macro or parameters if one of the class names is matched. A
|
||||||
host normally includes a class ID in its request. Minix and Minix-vmd
|
host normally includes a class ID in its request. MINIX 3 and Minix-vmd
|
||||||
use "Minix" as the class name. For Windows the class ID starts with
|
use "Minix" as the class name. For Windows the class ID starts with
|
||||||
"MSFT", and Solaris' starts with "SUNW".
|
"MSFT", and Solaris' starts with "SUNW".
|
||||||
(Use
|
(Use
|
||||||
|
|
@ -243,7 +243,7 @@ The
|
||||||
field tells the maximum number of items that may be used with the tag, with
|
field tells the maximum number of items that may be used with the tag, with
|
||||||
0 meaning "unlimited".
|
0 meaning "unlimited".
|
||||||
.SP
|
.SP
|
||||||
Three tags, the ones that Minix really cares about, have been predefined,
|
Three tags, the ones that MINIX 3 really cares about, have been predefined,
|
||||||
and there are also a few pseudotags predefined for the static fields in a
|
and there are also a few pseudotags predefined for the static fields in a
|
||||||
DHCP packet that one may want to set:
|
DHCP packet that one may want to set:
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -400,13 +400,13 @@ two external servers at the VU that know the world.
|
||||||
host darask {
|
host darask {
|
||||||
option server;
|
option server;
|
||||||
DNSserver saone;
|
DNSserver saone;
|
||||||
class Minix { DNSserver saone 130.37.24.3 130.37.24.6; };
|
class MINIX 3 { DNSserver saone 130.37.24.3 130.37.24.6; };
|
||||||
};
|
};
|
||||||
.xE
|
.xE
|
||||||
.cS
|
.cS
|
||||||
The darask is also a server, the backup for saone on the odd chance that it
|
The darask is also a server, the backup for saone on the odd chance that it
|
||||||
is unavailable. It uses saone and the external name servers, but only
|
is unavailable. It uses saone and the external name servers, but only
|
||||||
when it is running Minix. When running Windows it only uses saone.
|
when it is running MINIX 3. When running Windows it only uses saone.
|
||||||
.cE
|
.cE
|
||||||
.xS
|
.xS
|
||||||
.ta +32m +16m
|
.ta +32m +16m
|
||||||
|
|
@ -473,7 +473,7 @@ tag numbers and their meaning are standard, the names are made up.)
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
The amount of memory
|
The amount of memory
|
||||||
.B dhcpd
|
.B dhcpd
|
||||||
needs increases with the size of configuration file. Minix can
|
needs increases with the size of configuration file. MINIX 3 can
|
||||||
handle
|
handle
|
||||||
.B dhcptags.conf
|
.B dhcptags.conf
|
||||||
and a modest sized
|
and a modest sized
|
||||||
|
|
@ -485,12 +485,12 @@ Items that are only necessary for a certain host should only be specified
|
||||||
for that host. Items for a whole network are best added to a netblock
|
for that host. Items for a whole network are best added to a netblock
|
||||||
specification. Use class elements for a certain type of host, and macros
|
specification. Use class elements for a certain type of host, and macros
|
||||||
for exceptions. Try to limit information as much as possibly to those hosts
|
for exceptions. Try to limit information as much as possibly to those hosts
|
||||||
that need it. (Don't go overboard. A Minix machine won't be bothered by a
|
that need it. (Don't go overboard. A MINIX 3 machine won't be bothered by a
|
||||||
few NetBIOS tags.)
|
few NetBIOS tags.)
|
||||||
.PP
|
.PP
|
||||||
DHCPINFORM requests should always be answered when being a server, but
|
DHCPINFORM requests should always be answered when being a server, but
|
||||||
J. Random Sysadmin trying to diagnose problems doesn't like it when little
|
J. Random Sysadmin trying to diagnose problems doesn't like it when little
|
||||||
Minix machines show up in a packet trace unexpectedly. It's best to be
|
MINIX 3 machines show up in a packet trace unexpectedly. It's best to be
|
||||||
inconspicuous on a network you don't own.
|
inconspicuous on a network you don't own.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
There are a few too many subtle mistakes one can make.
|
There are a few too many subtle mistakes one can make.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ in length. Any character other than null or '\fB/\fP' is allowed.
|
||||||
.PP
|
.PP
|
||||||
See
|
See
|
||||||
.BR directory (3)
|
.BR directory (3)
|
||||||
for a portable way to access directories, Minix is probably the last system
|
for a portable way to access directories, MINIX 3 is probably the last system
|
||||||
with these old V7 format directories.
|
with these old V7 format directories.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR directory (3).
|
.BR directory (3).
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ and
|
||||||
is not read by
|
is not read by
|
||||||
.B mount
|
.B mount
|
||||||
as it should be. It is instead a simple shell script listing the two or
|
as it should be. It is instead a simple shell script listing the two or
|
||||||
three devices that Minix needs to operate: The device names of the root
|
three devices that MINIX 3 needs to operate: The device names of the root
|
||||||
file system, the swap file system (optional), and the file system for
|
file system, the swap file system (optional), and the file system for
|
||||||
.BR /usr .
|
.BR /usr .
|
||||||
.PP
|
.PP
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ Lastly the
|
||||||
.I shell
|
.I shell
|
||||||
field is the path name of the users login shell, it may be empty to indicate
|
field is the path name of the users login shell, it may be empty to indicate
|
||||||
.BR /bin/sh .
|
.BR /bin/sh .
|
||||||
A Minix specific extension allows the shell field to contain extra space
|
A MINIX 3 specific extension allows the shell field to contain extra space
|
||||||
separated arguments for the shell.
|
separated arguments for the shell.
|
||||||
.PP
|
.PP
|
||||||
Lines in the group file consist of four fields:
|
Lines in the group file consist of four fields:
|
||||||
|
|
@ -137,7 +137,7 @@ id is used in those cases that a program may not have any privileges at all.
|
||||||
The
|
The
|
||||||
.B ast
|
.B ast
|
||||||
id is the honorary home directory for Andrew S. Tanenbaum, the creator of
|
id is the honorary home directory for Andrew S. Tanenbaum, the creator of
|
||||||
Minix. You can also find the initial contents for a new home directory
|
MINIX 3. You can also find the initial contents for a new home directory
|
||||||
there.
|
there.
|
||||||
.PP
|
.PP
|
||||||
The special group file entries are:
|
The special group file entries are:
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ from
|
||||||
.I host
|
.I host
|
||||||
to login.
|
to login.
|
||||||
.PP
|
.PP
|
||||||
Under Minix
|
Under MINIX 3
|
||||||
.I host
|
.I host
|
||||||
may be a pattern using
|
may be a pattern using
|
||||||
.B "*"
|
.B "*"
|
||||||
|
|
@ -48,7 +48,7 @@ may also be an IP address, or a network specification in CIDR form, e.g.
|
||||||
.BR rlogin (1),
|
.BR rlogin (1),
|
||||||
.BR rsh (1).
|
.BR rsh (1).
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Minix has no restrictions on becoming super-user remotely. Other systems
|
MINIX 3 has no restrictions on becoming super-user remotely. Other systems
|
||||||
usually require one to log in as a user and then use
|
usually require one to log in as a user and then use
|
||||||
.BR su
|
.BR su
|
||||||
to become root.
|
to become root.
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ it always requires a password, and your only way in if things are seriously
|
||||||
hosed.
|
hosed.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
IP and DNS based access checks will stop most crackers, but not the really
|
IP and DNS based access checks will stop most crackers, but not the really
|
||||||
determined ones. Luckily Minix is sufficiently strange to thwart the well
|
determined ones. Luckily MINIX 3 is sufficiently strange to thwart the well
|
||||||
known cracking schemes. But don't ever allow yourself to feel secure.
|
known cracking schemes. But don't ever allow yourself to feel secure.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Kees J. Bot <kjb@cs.vu.nl>
|
Kees J. Bot <kjb@cs.vu.nl>
|
||||||
|
|
|
||||||
|
|
@ -1860,6 +1860,6 @@ in this file is used only if the kernel does not have any information.
|
||||||
.PP
|
.PP
|
||||||
Not all programs support all entries.
|
Not all programs support all entries.
|
||||||
.PP
|
.PP
|
||||||
The Minix
|
The MINIX 3
|
||||||
.BR termcap (3)
|
.BR termcap (3)
|
||||||
does not understand everything described here, unlike the one Minix-vmd uses.
|
does not understand everything described here, unlike the one Minix-vmd uses.
|
||||||
|
|
|
||||||
|
|
@ -24,15 +24,15 @@ ACK \- Additional information on the Amsterdam Compiler Kit compilers
|
||||||
\s-2UNIX\s+2
|
\s-2UNIX\s+2
|
||||||
..
|
..
|
||||||
.de MX
|
.de MX
|
||||||
.if n Minix
|
.if n MINIX 3
|
||||||
.if t \s-2MINIX\s+2
|
.if t \s-1MINIX 3\s-1
|
||||||
..
|
..
|
||||||
.if n .ds Mx Minix
|
.if n .ds Mx MINIX 3
|
||||||
.if t .ds Mx \s-2MINIX\s+2
|
.if t .ds Mx \s-1MINIX 3\s-1
|
||||||
.if n .ds Mp Minix-PC
|
.if n .ds Mp Minix-PC
|
||||||
.if t .ds Mx \s-2MINIX-PC\s+2
|
.if t .ds Mx \s-2MINIX-PC\s+2
|
||||||
.if n .ds Mv Minix-vmd
|
.if n .ds Mv Minix-vmd
|
||||||
.if t .ds Mv \s-2MINIX\s+2-vmd
|
.if t .ds Mv \s-1MINIX 3\s-1-vmd
|
||||||
.if n .ds Cw \fR
|
.if n .ds Cw \fR
|
||||||
.if t .ds Cw \fC
|
.if t .ds Cw \fC
|
||||||
.de CW
|
.de CW
|
||||||
|
|
@ -145,7 +145,7 @@ different type, the resulting value will usually be garbage. The
|
||||||
compiler makes no effort to catch these errors.
|
compiler makes no effort to catch these errors.
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
The alignment of types under 16-bit \*(Mp is 1 byte for characters and 2
|
The alignment of types under 16-bit \*(Mp is 1 byte for characters and 2
|
||||||
bytes for all other types. Under other Minix versions 'int' and smaller
|
bytes for all other types. Under other MINIX 3 versions 'int' and smaller
|
||||||
types are aligned to a multiple of their size, bigger scalar types are
|
types are aligned to a multiple of their size, bigger scalar types are
|
||||||
aligned like 'int'. Arrays have the same alignment as their elements;
|
aligned like 'int'. Arrays have the same alignment as their elements;
|
||||||
structs and unions are aligned like their field with the worst alignment.
|
structs and unions are aligned like their field with the worst alignment.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ hier \- file system hierarchy
|
||||||
.if t .sp 0.4
|
.if t .sp 0.4
|
||||||
.if n .sp
|
.if n .sp
|
||||||
..
|
..
|
||||||
A tour through the Minix directory hierarchy.
|
A tour through the MINIX 3 directory hierarchy.
|
||||||
.nf
|
.nf
|
||||||
.SP
|
.SP
|
||||||
/ root
|
/ root
|
||||||
|
|
@ -59,7 +59,7 @@ A tour through the Minix directory hierarchy.
|
||||||
...
|
...
|
||||||
.SP
|
.SP
|
||||||
/minix
|
/minix
|
||||||
Minix kernel image, \fBmonitor\fP(8)
|
MINIX 3 kernel image, \fBmonitor\fP(8)
|
||||||
.SP
|
.SP
|
||||||
/tmp/ Small, short-lived temporary files, cf /usr/tmp/
|
/tmp/ Small, short-lived temporary files, cf /usr/tmp/
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -108,7 +108,7 @@ A tour through the Minix directory hierarchy.
|
||||||
.SP
|
.SP
|
||||||
include/
|
include/
|
||||||
C-compiler include files
|
C-compiler include files
|
||||||
minix/ Minix kernel include files
|
minix/ MINIX 3 kernel include files
|
||||||
...
|
...
|
||||||
...
|
...
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -164,7 +164,7 @@ A tour through the Minix directory hierarchy.
|
||||||
.SP
|
.SP
|
||||||
src/ System and command sources (home of bin)
|
src/ System and command sources (home of bin)
|
||||||
LICENSE
|
LICENSE
|
||||||
Minix license to use
|
MINIX 3 license to use
|
||||||
commands/
|
commands/
|
||||||
Utility sources
|
Utility sources
|
||||||
crclist
|
crclist
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.\" man(7) manpage by rosenkra@hall.cray.com (Bill Rosenkranz)
|
.\" man(7) manpage by rosenkra@hall.cray.com (Bill Rosenkranz)
|
||||||
.\" Modified a bit for Minix by Kees J. Bot (kjb@cs.vu.nl)
|
.\" Modified a bit for MINIX 3 by Kees J. Bot (kjb@cs.vu.nl)
|
||||||
.\"
|
.\"
|
||||||
.TH MAN 7
|
.TH MAN 7
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
|
@ -26,7 +26,7 @@ reaching a non-indented paragraph (i.e. at .SH or .SS).
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 25n
|
.TP 25n
|
||||||
/usr/lib/tmac/tmac.an
|
/usr/lib/tmac/tmac.an
|
||||||
For standard Minix nroff.
|
For standard MINIX 3 nroff.
|
||||||
.TP
|
.TP
|
||||||
/usr/lib/cawf/man.mac
|
/usr/lib/cawf/man.mac
|
||||||
For cawf.
|
For cawf.
|
||||||
|
|
@ -259,7 +259,7 @@ A typical manual page for a command or function is laid out as follows:
|
||||||
Even though
|
Even though
|
||||||
.BR cawf (1)
|
.BR cawf (1)
|
||||||
has a better chance at formatting a random manual page then the standard
|
has a better chance at formatting a random manual page then the standard
|
||||||
Minix nroff, it has two annoying bugs in its macro set. Both .PP and .IP
|
MINIX 3 nroff, it has two annoying bugs in its macro set. Both .PP and .IP
|
||||||
reset the indentation level to the level set by .SH. This means that
|
reset the indentation level to the level set by .SH. This means that
|
||||||
you can't use them in a piece of text indented by .RS. For .IP this is
|
you can't use them in a piece of text indented by .RS. For .IP this is
|
||||||
troublesome, you can see why in the unformatted source of this text. .PP
|
troublesome, you can see why in the unformatted source of this text. .PP
|
||||||
|
|
|
||||||
|
|
@ -9,18 +9,18 @@ boot \- from power on to the login prompt
|
||||||
At power on the machine reads the first sector of the boot device into memory
|
At power on the machine reads the first sector of the boot device into memory
|
||||||
and executes it. This bootstrap code loads
|
and executes it. This bootstrap code loads
|
||||||
.BR /boot/boot ,
|
.BR /boot/boot ,
|
||||||
the Minix Boot Monitor. The monitor loads the kernel binaries from
|
the MINIX 3 Boot Monitor. The monitor loads the kernel binaries from
|
||||||
.BR /boot/image ,
|
.BR /boot/image ,
|
||||||
or the newest file in
|
or the newest file in
|
||||||
.B /boot/image
|
.B /boot/image
|
||||||
if it is a directory.
|
if it is a directory.
|
||||||
.PP
|
.PP
|
||||||
The Minix system is now running, the different tasks initialize themselves
|
The MINIX 3 system is now running, the different tasks initialize themselves
|
||||||
and control is transferred to the last one,
|
and control is transferred to the last one,
|
||||||
.BR init .
|
.BR init .
|
||||||
.PP
|
.PP
|
||||||
.B Init
|
.B Init
|
||||||
is the grandparent of all Minix processes, it is responsible for starting
|
is the grandparent of all MINIX 3 processes, it is responsible for starting
|
||||||
login processes on each terminal, but first it runs
|
login processes on each terminal, but first it runs
|
||||||
.BR /etc/rc .
|
.BR /etc/rc .
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -30,7 +30,7 @@ keyboard translation to the mapping in
|
||||||
.B /etc/keymap
|
.B /etc/keymap
|
||||||
if present, followed by a call to
|
if present, followed by a call to
|
||||||
.BR readclock (8)
|
.BR readclock (8)
|
||||||
to set Minix time from the hardware clock. Next the file systems are checked
|
to set MINIX 3 time from the hardware clock. Next the file systems are checked
|
||||||
if necessary and the
|
if necessary and the
|
||||||
.B /usr
|
.B /usr
|
||||||
file system is mounted.
|
file system is mounted.
|
||||||
|
|
@ -110,7 +110,7 @@ This section lists extra variables or variable settings:
|
||||||
Choose the driver that is to be used as controller
|
Choose the driver that is to be used as controller
|
||||||
.IR n ,
|
.IR n ,
|
||||||
in order: IBM/AT (classic AT or newer IDE), BIOS (any disk), ESDI
|
in order: IBM/AT (classic AT or newer IDE), BIOS (any disk), ESDI
|
||||||
(some PS/2s), IBM/XT, Adaptec 154x, Minix under DOS "file as disk",
|
(some PS/2s), IBM/XT, Adaptec 154x, MINIX 3 under DOS "file as disk",
|
||||||
FAT file system "file as disk".
|
FAT file system "file as disk".
|
||||||
By default
|
By default
|
||||||
.B at
|
.B at
|
||||||
|
|
@ -311,7 +311,7 @@ It can also be seen among the drivers in the output of
|
||||||
See also
|
See also
|
||||||
.BR inet (8).
|
.BR inet (8).
|
||||||
.PP
|
.PP
|
||||||
In a small network there may not be a DHCP server for Minix to obtain its IP
|
In a small network there may not be a DHCP server for MINIX 3 to obtain its IP
|
||||||
address and name from, so you need specify the ethernet address of your machine
|
address and name from, so you need specify the ethernet address of your machine
|
||||||
and host names of all machines in the hosts and DHCP configuration files.
|
and host names of all machines in the hosts and DHCP configuration files.
|
||||||
Suppose your machine is to be named "flotsam", and another machine in the
|
Suppose your machine is to be named "flotsam", and another machine in the
|
||||||
|
|
@ -428,7 +428,7 @@ Note that
|
||||||
is sourced, so you can use the same variables and functions that
|
is sourced, so you can use the same variables and functions that
|
||||||
.BR /usr/etc/rc
|
.BR /usr/etc/rc
|
||||||
uses.
|
uses.
|
||||||
These changes undo all the efforts to make Minix TCP/IP
|
These changes undo all the efforts to make MINIX 3 TCP/IP
|
||||||
autoconfigurable. Make very sure that all the IP addresses are correct, and
|
autoconfigurable. Make very sure that all the IP addresses are correct, and
|
||||||
that the IP address of your machine is unique. (Mistakenly using the
|
that the IP address of your machine is unique. (Mistakenly using the
|
||||||
address of a main server will make all other machines look at your machine,
|
address of a main server will make all other machines look at your machine,
|
||||||
|
|
@ -436,7 +436,7 @@ and will make all the users of all other machines look at you.)
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 20n
|
.TP 20n
|
||||||
/boot
|
/boot
|
||||||
Minix Boot Monitor.
|
MINIX 3 Boot Monitor.
|
||||||
.TP
|
.TP
|
||||||
/minix
|
/minix
|
||||||
Kernel image, or directory containing them.
|
Kernel image, or directory containing them.
|
||||||
|
|
@ -519,6 +519,6 @@ they are bad.
|
||||||
Indefinite hangs are possible if I/O addresses or IRQ's are wrong. A driver
|
Indefinite hangs are possible if I/O addresses or IRQ's are wrong. A driver
|
||||||
may babble about addresses and IRQ's, but that does not mean that what it
|
may babble about addresses and IRQ's, but that does not mean that what it
|
||||||
says is true, it may just be configured that way. It is very difficult to
|
says is true, it may just be configured that way. It is very difficult to
|
||||||
find peripherals on a PC automatically, and Minix doesn't even try.
|
find peripherals on a PC automatically, and MINIX 3 doesn't even try.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Kees J. Bot <kjb@cs.vu.nl>
|
Kees J. Bot <kjb@cs.vu.nl>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
.TH CONFIG 8
|
.TH CONFIG 8
|
||||||
.SH NAME
|
.SH NAME
|
||||||
config \- configuring Minix tasks and servers
|
config \- configuring MINIX 3 tasks and servers
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.de SP
|
.de SP
|
||||||
.if t .sp 0.4
|
.if t .sp 0.4
|
||||||
.if n .sp
|
.if n .sp
|
||||||
..
|
..
|
||||||
Minix has a number of configuration files containing parameters that can
|
MINIX 3 has a number of configuration files containing parameters that can
|
||||||
be changed to enable or disable a device driver, to change the number of
|
be changed to enable or disable a device driver, to change the number of
|
||||||
times a resource can be used, or to tune the performance of the system.
|
times a resource can be used, or to tune the performance of the system.
|
||||||
We will name the file that contains the parameter, the name of the
|
We will name the file that contains the parameter, the name of the
|
||||||
parameter, and the values it can be set to. Some comments are prefixed by
|
parameter, and the values it can be set to. Some comments are prefixed by
|
||||||
"8086" for Minix running in 16-bit real mode, "286" for 16-bit protected
|
"8086" for MINIX 3 running in 16-bit real mode, "286" for 16-bit protected
|
||||||
mode, and "386" for 32-bit protected mode.
|
mode, and "386" for 32-bit protected mode.
|
||||||
Configuration file names can be
|
Configuration file names can be
|
||||||
.RI < file.h >
|
.RI < file.h >
|
||||||
|
|
@ -34,7 +34,7 @@ in 32-bit mode.
|
||||||
.ti 2m
|
.ti 2m
|
||||||
.RB < minix/config.h >
|
.RB < minix/config.h >
|
||||||
.br
|
.br
|
||||||
This is the main configuration file for the Minix. It contains lots of
|
This is the main configuration file for the MINIX 3. It contains lots of
|
||||||
boolean variables to enable or disable drivers and a number of parameters
|
boolean variables to enable or disable drivers and a number of parameters
|
||||||
that specify the sizes of system data structures:
|
that specify the sizes of system data structures:
|
||||||
.TP
|
.TP
|
||||||
|
|
@ -132,14 +132,14 @@ disks. In real mode it is best to use the BIOS driver.
|
||||||
Enables the Adaptec 1540 series SCSI driver.
|
Enables the Adaptec 1540 series SCSI driver.
|
||||||
.TP
|
.TP
|
||||||
.SB ENABLE_DOSFILE
|
.SB ENABLE_DOSFILE
|
||||||
Enable the "DOS file as disk" driver that is used when Minix is run from
|
Enable the "DOS file as disk" driver that is used when MINIX 3 is run from
|
||||||
MS-DOS to access a large file as a disk.
|
MS-DOS to access a large file as a disk.
|
||||||
.TP
|
.TP
|
||||||
.SB ENABLE_FATFILE
|
.SB ENABLE_FATFILE
|
||||||
Enable the "FAT file as disk" driver that interprets a FAT file system
|
Enable the "FAT file as disk" driver that interprets a FAT file system
|
||||||
to find a large file to use as a disk. This driver combined with a fast
|
to find a large file to use as a disk. This driver combined with a fast
|
||||||
native Minix disk driver is a better choice then the previous driver. (And
|
native MINIX 3 disk driver is a better choice then the previous driver. (And
|
||||||
it works when Minix is not started from MS-DOS.) This is the last driver
|
it works when MINIX 3 is not started from MS-DOS.) This is the last driver
|
||||||
that needs to be assigned to a controller task.
|
that needs to be assigned to a controller task.
|
||||||
.TP
|
.TP
|
||||||
.SB ENABLE_SB16
|
.SB ENABLE_SB16
|
||||||
|
|
@ -290,7 +290,7 @@ default setting for
|
||||||
allows up to four backlogged TCP streams, i.e. when data is output faster
|
allows up to four backlogged TCP streams, i.e. when data is output faster
|
||||||
then it is read. If more buffers are needed then one of the TCP connections
|
then it is read. If more buffers are needed then one of the TCP connections
|
||||||
is shut down. When this happens you will see a "not enough buffers left"
|
is shut down. When this happens you will see a "not enough buffers left"
|
||||||
error. This could happen for instance if a Minix web server is assaulted by
|
error. This could happen for instance if a MINIX 3 web server is assaulted by
|
||||||
a browser that likes to open several connections to the server
|
a browser that likes to open several connections to the server
|
||||||
simultaneously. The fix is to increase
|
simultaneously. The fix is to increase
|
||||||
.SB BUF512_NR
|
.SB BUF512_NR
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ if you want to give root the same treatment as ordinary users.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 25n
|
.TP 25n
|
||||||
.B /usr/lib/crontab
|
.B /usr/lib/crontab
|
||||||
Main Minix crontab file.
|
Main MINIX 3 crontab file.
|
||||||
.TP
|
.TP
|
||||||
.B /usr/local/lib/crontab
|
.B /usr/local/lib/crontab
|
||||||
Local jobs for all systems in an organization.
|
Local jobs for all systems in an organization.
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ If the daemon finds out that all networks have an infinite lease (configured
|
||||||
with a fixed address), there is no router information to keep warm, and
|
with a fixed address), there is no router information to keep warm, and
|
||||||
it isn't a server then it simply exits.
|
it isn't a server then it simply exits.
|
||||||
.SS "Asynchronous I/O?"
|
.SS "Asynchronous I/O?"
|
||||||
Minix doesn't have the asynchronous I/O that Minix-vmd has, so under Minix
|
MINIX 3 doesn't have the asynchronous I/O that Minix-vmd has, so under MINIX 3
|
||||||
the daemon only works with one network at a time. If it's stuck on the same
|
the daemon only works with one network at a time. If it's stuck on the same
|
||||||
network for 32 seconds then that network is closed and another network is
|
network for 32 seconds then that network is closed and another network is
|
||||||
tried for 32 seconds. This usually works ok as a client, but as a server it
|
tried for 32 seconds. This usually works ok as a client, but as a server it
|
||||||
|
|
@ -200,7 +200,7 @@ any IP stack will immediately respond, so that the DHCP server can't
|
||||||
possibly beat it at sending out an ACK. (The DHCP server has to commit the
|
possibly beat it at sending out an ACK. (The DHCP server has to commit the
|
||||||
lease to stable storage first anyway.)
|
lease to stable storage first anyway.)
|
||||||
.PP
|
.PP
|
||||||
Way more nonsense can be sent in a DHCP packet that Minix could do
|
Way more nonsense can be sent in a DHCP packet that MINIX 3 could do
|
||||||
something with, but nobody does so we don't bother.
|
something with, but nobody does so we don't bother.
|
||||||
.PP
|
.PP
|
||||||
DHCP was invented by a rabid gerbil on speed.
|
DHCP was invented by a rabid gerbil on speed.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH DOSMINIX 8
|
.TH DOSMINIX 8
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dosminix, mkfile \- Running Minix under DOS
|
dosminix, mkfile \- Running MINIX 3 under DOS
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.RB "C:\eMINIX> " "boot disk0.mnx" "\0\0\0\0\0(Typical example)"
|
.RB "C:\eMINIX> " "boot disk0.mnx" "\0\0\0\0\0(Typical example)"
|
||||||
.br
|
.br
|
||||||
|
|
@ -10,21 +10,21 @@ dosminix, mkfile \- Running Minix under DOS
|
||||||
.if t .sp 0.4
|
.if t .sp 0.4
|
||||||
.if n .sp
|
.if n .sp
|
||||||
..
|
..
|
||||||
This text describes running Minix
|
This text describes running MINIX 3
|
||||||
.\" or Minix-vmd
|
.\" or Minix-vmd
|
||||||
under DOS. The DOS version
|
under DOS. The DOS version
|
||||||
of the Boot Monitor, described in
|
of the Boot Monitor, described in
|
||||||
.BR monitor (8),
|
.BR monitor (8),
|
||||||
grabs as much memory as DOS is willing to give, loads Minix into that memory
|
grabs as much memory as DOS is willing to give, loads MINIX 3 into that memory
|
||||||
from the active partition of a "file as disk", and jumps to the Minix kernel
|
from the active partition of a "file as disk", and jumps to the MINIX 3 kernel
|
||||||
to let Minix take control. As far as DOS is concerned Minix is just a part
|
to let MINIX 3 take control. As far as DOS is concerned MINIX 3 is just a part
|
||||||
of the
|
of the
|
||||||
.B boot.com
|
.B boot.com
|
||||||
program.
|
program.
|
||||||
.PP
|
.PP
|
||||||
In the example above
|
In the example above
|
||||||
.B disk0.mnx
|
.B disk0.mnx
|
||||||
is the "file as disk". It is a file of many megabytes that is used by Minix
|
is the "file as disk". It is a file of many megabytes that is used by MINIX 3
|
||||||
as a disk of four partitions. These partitions will normally be
|
as a disk of four partitions. These partitions will normally be
|
||||||
.B /dev/dosd1
|
.B /dev/dosd1
|
||||||
through
|
through
|
||||||
|
|
@ -41,7 +41,7 @@ It is better to use the special name
|
||||||
to indicate this device, usually in the setting
|
to indicate this device, usually in the setting
|
||||||
.BR rootdev = bootdev .
|
.BR rootdev = bootdev .
|
||||||
.PP
|
.PP
|
||||||
Once Minix is running it will operate the same as if started from a regular
|
Once MINIX 3 is running it will operate the same as if started from a regular
|
||||||
disk partition until it is shut down. On shutdown from protected mode it
|
disk partition until it is shut down. On shutdown from protected mode it
|
||||||
will return to the Boot Monitor prompt, and with the
|
will return to the Boot Monitor prompt, and with the
|
||||||
.B exit
|
.B exit
|
||||||
|
|
@ -49,7 +49,7 @@ command you leave the Boot Monitor and return to DOS. Shutting down from
|
||||||
real mode will reboot the machine, just like when run from a disk partition.
|
real mode will reboot the machine, just like when run from a disk partition.
|
||||||
(This more or less crashes DOS, but DOS is used to such abuse.)
|
(This more or less crashes DOS, but DOS is used to such abuse.)
|
||||||
.SS EMM386
|
.SS EMM386
|
||||||
Minix can't run in protected mode (286 or 386 mode) if DOS is using a memory
|
MINIX 3 can't run in protected mode (286 or 386 mode) if DOS is using a memory
|
||||||
manager like
|
manager like
|
||||||
.BR EMM386 .
|
.BR EMM386 .
|
||||||
You can either temporarily comment out EMM386 from
|
You can either temporarily comment out EMM386 from
|
||||||
|
|
@ -90,14 +90,14 @@ anything else, or things will go horribly wrong. Save MSDOS.SYS and exit.
|
||||||
Don't forget to make MSDOS.SYS read-only again, and also hide all the hidden
|
Don't forget to make MSDOS.SYS read-only again, and also hide all the hidden
|
||||||
files again, unless you like it this way.
|
files again, unless you like it this way.
|
||||||
.SS "DOS compatibility box"
|
.SS "DOS compatibility box"
|
||||||
The 16-bit version of standard Minix can be run in real mode in a DOS box.
|
The 16-bit version of standard MINIX 3 can be run in real mode in a DOS box.
|
||||||
This is somewhat surprising, because it means Windows 95 simulates devices
|
This is somewhat surprising, because it means Windows 95 simulates devices
|
||||||
like the keyboard, timer, and interrupt controller well enough to fool Minix
|
like the keyboard, timer, and interrupt controller well enough to fool MINIX 3
|
||||||
into thinking that all is well. Alas it doesn't work as well under Windows
|
into thinking that all is well. Alas it doesn't work as well under Windows
|
||||||
NT. Keypresses get lost if you type to fast, and using the floppy
|
NT. Keypresses get lost if you type to fast, and using the floppy
|
||||||
occasionally locks Minix up. This is a bit disappointing, because it is the
|
occasionally locks MINIX 3 up. This is a bit disappointing, because it is the
|
||||||
only way to run Minix under NT. Under Windows 95 one is better off
|
only way to run MINIX 3 under NT. Under Windows 95 one is better off
|
||||||
putting the system in DOS at boot and then to run Minix in protected mode.
|
putting the system in DOS at boot and then to run MINIX 3 in protected mode.
|
||||||
.PP
|
.PP
|
||||||
One thing that is better under NT is that the Boot Monitor is able to get a
|
One thing that is better under NT is that the Boot Monitor is able to get a
|
||||||
so-called "Upper Memory Block", thereby raising useful memory to about 750K.
|
so-called "Upper Memory Block", thereby raising useful memory to about 750K.
|
||||||
|
|
@ -109,32 +109,32 @@ some of this memory you can put
|
||||||
at the start of
|
at the start of
|
||||||
.BR autoexec.bat .
|
.BR autoexec.bat .
|
||||||
The monitor will grab a 64K UMB if it can get it, and keep that memory safe
|
The monitor will grab a 64K UMB if it can get it, and keep that memory safe
|
||||||
for use by Minix when it is later started from Windows.
|
for use by MINIX 3 when it is later started from Windows.
|
||||||
.PP
|
.PP
|
||||||
The easiest way to start Minix is to give all Minix disk files the suffix
|
The easiest way to start MINIX 3 is to give all MINIX 3 disk files the suffix
|
||||||
.BR MNX .
|
.BR MNX .
|
||||||
Doubleclick on the disk you want to run to make the "\fBOpen With\fP" window
|
Doubleclick on the disk you want to run to make the "\fBOpen With\fP" window
|
||||||
appear. Click on "\fBOther\fP" and browse to the
|
appear. Click on "\fBOther\fP" and browse to the
|
||||||
.B BOOT.COM
|
.B BOOT.COM
|
||||||
program. Set the name of the .mnx files to "\fBMinix "disk" file\fP" in the
|
program. Set the name of the .mnx files to "\fBMINIX 3 "disk" file\fP" in the
|
||||||
description box if you want everything right. In the future you can
|
description box if you want everything right. In the future you can
|
||||||
just click on a Minix disk file to run it, you don't have to start a DOS
|
just click on a MINIX 3 disk file to run it, you don't have to start a DOS
|
||||||
box first. (To make it perfect use "View", "Options", "File Types", choose
|
box first. (To make it perfect use "View", "Options", "File Types", choose
|
||||||
"Minix "disk" file", "Edit", "Change Icon", "Browse", select MINIX.ICO.)
|
"MINIX 3 "disk" file", "Edit", "Change Icon", "Browse", select MINIX.ICO.)
|
||||||
.PP
|
.PP
|
||||||
When Minix shuts down it will try to reboot what it thinks is a PC. Windows
|
When MINIX 3 shuts down it will try to reboot what it thinks is a PC. Windows
|
||||||
seems to assume that the DOS session has exited. Right-click on the
|
seems to assume that the DOS session has exited. Right-click on the
|
||||||
BOOT.COM program, "Properties", "Program", and enable "Close on exit" to make
|
BOOT.COM program, "Properties", "Program", and enable "Close on exit" to make
|
||||||
the DOS box disappear automatically when Minix thinks it reboots. You may
|
the DOS box disappear automatically when MINIX 3 thinks it reboots. You may
|
||||||
also want to lock the font to
|
also want to lock the font to
|
||||||
.BR 7x12 ,
|
.BR 7x12 ,
|
||||||
or any other font that isn't ugly.
|
or any other font that isn't ugly.
|
||||||
.PP
|
.PP
|
||||||
Minix disk files are opened in a write-exclusive mode. A second Minix
|
MINIX 3 disk files are opened in a write-exclusive mode. A second MINIX 3
|
||||||
session can only open it read-only, which may lead to a "can't open
|
session can only open it read-only, which may lead to a "can't open
|
||||||
root device" error.
|
root device" error.
|
||||||
.SS "Mkfile"
|
.SS "Mkfile"
|
||||||
Minix disk files can be created or resized with the
|
MINIX 3 disk files can be created or resized with the
|
||||||
.B mkfile
|
.B mkfile
|
||||||
utility. Its two arguments are the size and name of the disk file. The
|
utility. Its two arguments are the size and name of the disk file. The
|
||||||
size is a number optionally followed by the letter
|
size is a number optionally followed by the letter
|
||||||
|
|
@ -153,7 +153,7 @@ will create a 50 megabyte file named
|
||||||
If the file already exist then it is shrunk or grown to 50 megabytes. No
|
If the file already exist then it is shrunk or grown to 50 megabytes. No
|
||||||
data is lost if the file is grown. If the file is shrunk then only the data
|
data is lost if the file is grown. If the file is shrunk then only the data
|
||||||
that is cut off is lost. These features allow one to inrease the size of a
|
that is cut off is lost. These features allow one to inrease the size of a
|
||||||
Minix /usr partition with the following recipe:
|
MINIX 3 /usr partition with the following recipe:
|
||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
.ta +24n+2m
|
.ta +24n+2m
|
||||||
|
|
@ -184,11 +184,11 @@ boot disk0.mnx Run the larger system
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
Now Minix runs from a larger "disk". Don't worry if it claims to have
|
Now MINIX 3 runs from a larger "disk". Don't worry if it claims to have
|
||||||
crashed, there wasn't a "shutdown" entry in /usr/adm/wtmp at the time it was
|
crashed, there wasn't a "shutdown" entry in /usr/adm/wtmp at the time it was
|
||||||
copied.
|
copied.
|
||||||
.PP
|
.PP
|
||||||
The above recipe is for a ordinary standard Minix installation with /usr on
|
The above recipe is for a ordinary standard MINIX 3 installation with /usr on
|
||||||
the second and last partition.
|
the second and last partition.
|
||||||
.\" Minix-vmd usually has /usr on the third and
|
.\" Minix-vmd usually has /usr on the third and
|
||||||
.\" last partition (dosd3 / dosd8), its
|
.\" last partition (dosd3 / dosd8), its
|
||||||
|
|
@ -201,10 +201,10 @@ the second and last partition.
|
||||||
In the recipe above you saw how simple it is to create a new system, just
|
In the recipe above you saw how simple it is to create a new system, just
|
||||||
copy a disk file. It is equally simple to make a backup, you just copy the
|
copy a disk file. It is equally simple to make a backup, you just copy the
|
||||||
disk file. To make a test system: copy the disk file. To make another test
|
disk file. To make a test system: copy the disk file. To make another test
|
||||||
system: copy the disk file. Let friends have their own Minix: copy the disk
|
system: copy the disk file. Let friends have their own MINIX 3: copy the disk
|
||||||
file again. (Exciting, eh?)
|
file again. (Exciting, eh?)
|
||||||
.PP
|
.PP
|
||||||
You may want to save a Minix disk file in a ZIP file to save space. It may
|
You may want to save a MINIX 3 disk file in a ZIP file to save space. It may
|
||||||
look as a good idea to first run
|
look as a good idea to first run
|
||||||
.B "make clean"
|
.B "make clean"
|
||||||
in
|
in
|
||||||
|
|
@ -233,7 +233,7 @@ will almost disappear in the ZIP file.
|
||||||
.\" cp /dev/zero junk
|
.\" cp /dev/zero junk
|
||||||
.\" .RE
|
.\" .RE
|
||||||
.\" .PP
|
.\" .PP
|
||||||
.\" instead of the echo/while pair of lines above. Standard Minix doesn't have
|
.\" instead of the echo/while pair of lines above. Standard MINIX 3 doesn't have
|
||||||
.\" /dev/zero.
|
.\" /dev/zero.
|
||||||
.SS "FAT driver"
|
.SS "FAT driver"
|
||||||
The dos disk driver, described in
|
The dos disk driver, described in
|
||||||
|
|
@ -241,8 +241,8 @@ The dos disk driver, described in
|
||||||
has two identities. By default you get the "\fBfile\fP" driver, that uses
|
has two identities. By default you get the "\fBfile\fP" driver, that uses
|
||||||
DOS file I/O calls to access a large DOS file as a disk. The other
|
DOS file I/O calls to access a large DOS file as a disk. The other
|
||||||
alternative is the "\fBFAT\fP" driver. The FAT driver sits on top of an
|
alternative is the "\fBFAT\fP" driver. The FAT driver sits on top of an
|
||||||
ordinary Minix disk driver, and interprets a partition as a FAT (File Access
|
ordinary MINIX 3 disk driver, and interprets a partition as a FAT (File Access
|
||||||
Table) file system to find a file to use as a Minix disk. The result
|
Table) file system to find a file to use as a MINIX 3 disk. The result
|
||||||
has the same effect as the file driver, except that no costly calls to DOS
|
has the same effect as the file driver, except that no costly calls to DOS
|
||||||
are made. To enable this feature you have to use the following Boot
|
are made. To enable this feature you have to use the following Boot
|
||||||
environment settings:
|
environment settings:
|
||||||
|
|
@ -256,10 +256,10 @@ dosd0 = hd1:\eminix\edisk0.mnx
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.B dosd
|
.B dosd
|
||||||
setting tells Minix to use the FAT driver, and the
|
setting tells MINIX 3 to use the FAT driver, and the
|
||||||
.B dosd0
|
.B dosd0
|
||||||
setting tells the Minix device and DOS file name to use. Disk I/O should
|
setting tells the MINIX 3 device and DOS file name to use. Disk I/O should
|
||||||
be sped up nicely by this change, although typical use of Minix doesn't
|
be sped up nicely by this change, although typical use of MINIX 3 doesn't
|
||||||
require fast disk I/O, so the difference won't be too noticable.
|
require fast disk I/O, so the difference won't be too noticable.
|
||||||
.PP
|
.PP
|
||||||
Support for FAT-32 (big file system support added in the later Windows 95
|
Support for FAT-32 (big file system support added in the later Windows 95
|
||||||
|
|
@ -267,7 +267,7 @@ releases) has not been tested very well. The FAT-12 and FAT-16 code has
|
||||||
been used a lot, and seems safe. Note the risks inherent in these
|
been used a lot, and seems safe. Note the risks inherent in these
|
||||||
drivers: The file driver uses simple DOS file I/O calls, leaving it to
|
drivers: The file driver uses simple DOS file I/O calls, leaving it to
|
||||||
DOS to know its own file system. The FAT driver interprets FAT file system
|
DOS to know its own file system. The FAT driver interprets FAT file system
|
||||||
structures by itself. Minix booted from a real hard disk partition can
|
structures by itself. MINIX 3 booted from a real hard disk partition can
|
||||||
only use DOS disk files through the FAT driver.
|
only use DOS disk files through the FAT driver.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR dosd (4),
|
.BR dosd (4),
|
||||||
|
|
|
||||||
|
|
@ -27,27 +27,27 @@ it.
|
||||||
It then presents a menu to allow the user to modify partitions, store the
|
It then presents a menu to allow the user to modify partitions, store the
|
||||||
partition table on a file, or load it from a file. Partitions can be marked
|
partition table on a file, or load it from a file. Partitions can be marked
|
||||||
as
|
as
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
DOS or other, as well as active or not.
|
DOS or other, as well as active or not.
|
||||||
Using \fIfdisk\fR is self-explanatory.
|
Using \fIfdisk\fR is self-explanatory.
|
||||||
However, be aware that
|
However, be aware that
|
||||||
repartitioning a disk will cause information on it to be lost.
|
repartitioning a disk will cause information on it to be lost.
|
||||||
Rebooting the system \fIimmediately\fR
|
Rebooting the system \fIimmediately\fR
|
||||||
is mandatory after changing partition sizes and parameters.
|
is mandatory after changing partition sizes and parameters.
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
\&\s-2XENIX\s0, \s-2PC-IX\s0, and \s-2MS-DOS\s0 all have different
|
\&\s-2XENIX\s0, \s-2PC-IX\s0, and \s-2MS-DOS\s0 all have different
|
||||||
partition numbering schemes.
|
partition numbering schemes.
|
||||||
Thus when using multiple systems on the same disk, be careful.
|
Thus when using multiple systems on the same disk, be careful.
|
||||||
.PP
|
.PP
|
||||||
Note that
|
Note that
|
||||||
\s-2MINIX\s+2,
|
\s-1MINIX 3\s-1,
|
||||||
unlike
|
unlike
|
||||||
\&MS-DOS ,
|
\&MS-DOS ,
|
||||||
cannot access the last sector in a partition with an odd number of sectors.
|
cannot access the last sector in a partition with an odd number of sectors.
|
||||||
The reason that odd partition sizes do not cause a problem with
|
The reason that odd partition sizes do not cause a problem with
|
||||||
\s-2MS-DOS\s0 is that \s-2MS-DOS\s0 allocates disk space in units of
|
\s-2MS-DOS\s0 is that \s-2MS-DOS\s0 allocates disk space in units of
|
||||||
512-byte sectors, whereas
|
512-byte sectors, whereas
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
uses 1K blocks.
|
uses 1K blocks.
|
||||||
\fIFdisk\fR has a variety of other features that can be seen by typing \fIh\fR.
|
\fIFdisk\fR has a variety of other features that can be seen by typing \fIh\fR.
|
||||||
.PP
|
.PP
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ can be used to create or check an anonymous FTP tree.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
The anonymous account is inherently dangerous and should
|
The anonymous account is inherently dangerous and should
|
||||||
avoided when possible.
|
avoided when possible.
|
||||||
.ig \" Minix doesn't have privileged port numbers (yet?)
|
.ig \" MINIX 3 doesn't have privileged port numbers (yet?)
|
||||||
.PP
|
.PP
|
||||||
The server must run as the super-user
|
The server must run as the super-user
|
||||||
to create sockets with privileged port numbers. It maintains
|
to create sockets with privileged port numbers. It maintains
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ Creates pseudo IP network
|
||||||
usable for IP over serial lines, tunnels and whatnot.
|
usable for IP over serial lines, tunnels and whatnot.
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
Some options can be given between braces. Minix only understands one of these
|
Some options can be given between braces. MINIX 3 only understands one of these
|
||||||
options, "default". Minix-vmd does them all, of course.
|
options, "default". Minix-vmd does them all, of course.
|
||||||
.PP
|
.PP
|
||||||
.BR default ;
|
.BR default ;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
init \- grandparent of all processes
|
init \- grandparent of all processes
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The first program started by Minix is
|
The first program started by MINIX 3 is
|
||||||
.BR init .
|
.BR init .
|
||||||
The actions performed by
|
The actions performed by
|
||||||
.B init
|
.B init
|
||||||
|
|
@ -89,7 +89,7 @@ that line manually,
|
||||||
doesn't do that for you.
|
doesn't do that for you.
|
||||||
.TP
|
.TP
|
||||||
.B SIGTERM
|
.B SIGTERM
|
||||||
Normally sent by programs that halt or reboot Minix. Causes
|
Normally sent by programs that halt or reboot MINIX 3. Causes
|
||||||
.B init
|
.B init
|
||||||
to stop spawning new processes.
|
to stop spawning new processes.
|
||||||
.TP
|
.TP
|
||||||
|
|
@ -104,12 +104,12 @@ command. A second abort signal makes
|
||||||
.B init
|
.B init
|
||||||
halt the system directly with a system call. The keyboard driver halts the
|
halt the system directly with a system call. The keyboard driver halts the
|
||||||
system, without a sync, after the third CTRL-ALT-DEL.
|
system, without a sync, after the third CTRL-ALT-DEL.
|
||||||
.SS "Minix vs. Minix-vmd"
|
.SS "MINIX 3 vs. Minix-vmd"
|
||||||
There are a few differences between standard Minix and Minix-vmd on how
|
There are a few differences between standard MINIX 3 and Minix-vmd on how
|
||||||
.B init
|
.B init
|
||||||
is run. The
|
is run. The
|
||||||
.B /etc/rc
|
.B /etc/rc
|
||||||
file is executed under standard Minix with input connected to
|
file is executed under standard MINIX 3 with input connected to
|
||||||
.BR /dev/console ,
|
.BR /dev/console ,
|
||||||
but under Minix-vmd this is still
|
but under Minix-vmd this is still
|
||||||
.BR /dev/null .
|
.BR /dev/null .
|
||||||
|
|
@ -120,7 +120,7 @@ with the
|
||||||
program if they need user interaction.
|
program if they need user interaction.
|
||||||
Minix-vmd passes the value of the
|
Minix-vmd passes the value of the
|
||||||
.B bootopts
|
.B bootopts
|
||||||
boot variable to /etc/rc. Standard Minix does not.
|
boot variable to /etc/rc. Standard MINIX 3 does not.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 25n
|
.TP 25n
|
||||||
.B /etc/ttytab
|
.B /etc/ttytab
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ installboot \- make a device bootable
|
||||||
..
|
..
|
||||||
.B Installboot
|
.B Installboot
|
||||||
may be used to make a device bootable by constructing a kernel image and
|
may be used to make a device bootable by constructing a kernel image and
|
||||||
installing bootstrap code into the boot block of a Minix file system. To
|
installing bootstrap code into the boot block of a MINIX 3 file system. To
|
||||||
understand how this can be done one first has to know what happens when a
|
understand how this can be done one first has to know what happens when a
|
||||||
PC is booted.
|
PC is booted.
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -44,7 +44,7 @@ in the first sector of /dev/fd0, /dev/c0d0p0, /dev/c0d0p1, /dev/c0d0p2, or
|
||||||
The bootstrap will locate the operating system on the device it itself was
|
The bootstrap will locate the operating system on the device it itself was
|
||||||
loaded from, load it, and execute it.
|
loaded from, load it, and execute it.
|
||||||
.PP
|
.PP
|
||||||
To make a Minix file system
|
To make a MINIX 3 file system
|
||||||
.B /dev/fd0
|
.B /dev/fd0
|
||||||
mounted on
|
mounted on
|
||||||
.B /mnt
|
.B /mnt
|
||||||
|
|
@ -86,7 +86,7 @@ The
|
||||||
.B \-image
|
.B \-image
|
||||||
option (or the
|
option (or the
|
||||||
.B \-i
|
.B \-i
|
||||||
shorthand) combines the executable files needed to run Minix in one file.
|
shorthand) combines the executable files needed to run MINIX 3 in one file.
|
||||||
Only the names and a few zero bytes are inserted into the image. The name
|
Only the names and a few zero bytes are inserted into the image. The name
|
||||||
is for identification and the zeros are used to pad separate pieces to
|
is for identification and the zeros are used to pad separate pieces to
|
||||||
sector boundaries for fast loading.
|
sector boundaries for fast loading.
|
||||||
|
|
@ -156,10 +156,10 @@ Old boot parameters are kept if there are no images added.
|
||||||
This option fills a blank floppy in
|
This option fills a blank floppy in
|
||||||
.I device
|
.I device
|
||||||
with boot code and kernel images. This "boot disk" does not have a root
|
with boot code and kernel images. This "boot disk" does not have a root
|
||||||
file system, only the Boot Monitor and Minix kernels. The boot parameters
|
file system, only the Boot Monitor and MINIX 3 kernels. The boot parameters
|
||||||
sector is filled with code that enables menu options for selecting an
|
sector is filled with code that enables menu options for selecting an
|
||||||
image. After loading an image, the Monitor will ask you to insert a root
|
image. After loading an image, the Monitor will ask you to insert a root
|
||||||
file system diskette before starting Minix.
|
file system diskette before starting MINIX 3.
|
||||||
.SP
|
.SP
|
||||||
The labels used on the images should match those on the executables used
|
The labels used on the images should match those on the executables used
|
||||||
inside the image. You can put a comma separated list of labels on an image
|
inside the image. You can put a comma separated list of labels on an image
|
||||||
|
|
@ -198,7 +198,7 @@ then its bootstrap code is copied to
|
||||||
.IR device .
|
.IR device .
|
||||||
The master bootstrap on a hard disk boots the active partition on that disk
|
The master bootstrap on a hard disk boots the active partition on that disk
|
||||||
at boot time. The MS-DOS fdisk command normally puts a master bootstrap on
|
at boot time. The MS-DOS fdisk command normally puts a master bootstrap on
|
||||||
the hard disk. Minix has two bootstraps that can be used as a master
|
the hard disk. MINIX 3 has two bootstraps that can be used as a master
|
||||||
bootstrap,
|
bootstrap,
|
||||||
.B masterboot
|
.B masterboot
|
||||||
and
|
and
|
||||||
|
|
@ -212,9 +212,9 @@ If installed on a hard disk then it will load the bootstrap of the active
|
||||||
partition and run it.
|
partition and run it.
|
||||||
.B Masterboot
|
.B Masterboot
|
||||||
can be put in the first sector of a hard disk to boot the active partition,
|
can be put in the first sector of a hard disk to boot the active partition,
|
||||||
or in the first sector of a Minix partition to boot the active subpartition.
|
or in the first sector of a MINIX 3 partition to boot the active subpartition.
|
||||||
.SP
|
.SP
|
||||||
If installed on a Minix floppy then it will try to boot the next floppy or
|
If installed on a MINIX 3 floppy then it will try to boot the next floppy or
|
||||||
the first hard disk. Ideal for floppies with just data on it, they will no
|
the first hard disk. Ideal for floppies with just data on it, they will no
|
||||||
longer obstruct the boot process if left in the drive. Also a very useful
|
longer obstruct the boot process if left in the drive. Also a very useful
|
||||||
trick to boot from floppy drive 1.
|
trick to boot from floppy drive 1.
|
||||||
|
|
@ -292,15 +292,15 @@ under MS-DOS 5.0 (or newer) to restore the master bootstrap.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP 25
|
.TP 25
|
||||||
.B /usr/mdec/bootblock
|
.B /usr/mdec/bootblock
|
||||||
Minix bootstrap for the Minix root device. To be placed in the boot sector.
|
MINIX 3 bootstrap for the Minix root device. To be placed in the boot sector.
|
||||||
.TP
|
.TP
|
||||||
.B /usr/mdec/boot
|
.B /usr/mdec/boot
|
||||||
Minix Boot Monitor. Can usually be found in the root directory of a bootable
|
MINIX 3 Boot Monitor. Can usually be found in the root directory of a bootable
|
||||||
device.
|
device.
|
||||||
.TP
|
.TP
|
||||||
.B /usr/mdec/masterboot
|
.B /usr/mdec/masterboot
|
||||||
Master bootstrap. Can be placed in the first sector of a disk to select the
|
Master bootstrap. Can be placed in the first sector of a disk to select the
|
||||||
active partition. In a Minix primary partition it selects the active
|
active partition. In a MINIX 3 primary partition it selects the active
|
||||||
subpartition.
|
subpartition.
|
||||||
.TP
|
.TP
|
||||||
.B /usr/mdec/jumpboot
|
.B /usr/mdec/jumpboot
|
||||||
|
|
@ -333,7 +333,7 @@ monitor instead of just "boot"?
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
.I Device
|
.I Device
|
||||||
is not a Minix file system
|
is not a MINIX 3 file system
|
||||||
.RS
|
.RS
|
||||||
You are using
|
You are using
|
||||||
.B \-device
|
.B \-device
|
||||||
|
|
@ -380,9 +380,9 @@ Not bootable
|
||||||
Partition does not exist (jumpboot), or it's bootstrap isn't executable.
|
Partition does not exist (jumpboot), or it's bootstrap isn't executable.
|
||||||
.RE
|
.RE
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
The Minix bootstraps can boot beyond the 8G disk size limit if the BIOS
|
The MINIX 3 bootstraps can boot beyond the 8G disk size limit if the BIOS
|
||||||
supports the IBM/MS INT 13 Extensions. Alas only Minix-vmd can make use of
|
supports the IBM/MS INT 13 Extensions. Alas only Minix-vmd can make use of
|
||||||
this, standard Minix has a 4G disk size limit.
|
this, standard MINIX 3 has a 4G disk size limit.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
It has four more options than the SunOS installboot program it is modeled
|
It has four more options than the SunOS installboot program it is modeled
|
||||||
after.
|
after.
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ This daemon has gone out of favour thanks to
|
||||||
.BR dhcpd ,
|
.BR dhcpd ,
|
||||||
that also does router solicitations among other things.
|
that also does router solicitations among other things.
|
||||||
.PP
|
.PP
|
||||||
Under standard Minix this daemon can't listen to both IRDP and RIP
|
Under standard MINIX 3 this daemon can't listen to both IRDP and RIP
|
||||||
at the same time, so it starts out with IRDP. It switches over to RIP
|
at the same time, so it starts out with IRDP. It switches over to RIP
|
||||||
if it can't find a router, or if it threatens to lose its router. It
|
if it can't find a router, or if it threatens to lose its router. It
|
||||||
does not switch back.
|
does not switch back.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
.TH MKDIST 8
|
.TH MKDIST 8
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mkdist \- make a Minix distribution
|
mkdist \- make a MINIX 3 distribution
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B mkdist
|
.B mkdist
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B Mkdist
|
.B Mkdist
|
||||||
makes a Minix distribution on floppies. Run the command as
|
makes a MINIX 3 distribution on floppies. Run the command as
|
||||||
.B root
|
.B root
|
||||||
and follow the instructions. It will make one or two bootable installation
|
and follow the instructions. It will make one or two bootable installation
|
||||||
floppies and a compressed tar file of
|
floppies and a compressed tar file of
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.TH MONITOR 8
|
.TH MONITOR 8
|
||||||
.SH NAME
|
.SH NAME
|
||||||
monitor, edparams \- load and start Minix, modify boot parameters
|
monitor, edparams \- load and start MINIX 3, modify boot parameters
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B /boot
|
.B /boot
|
||||||
.br
|
.br
|
||||||
|
|
@ -17,8 +17,8 @@ monitor, edparams \- load and start Minix, modify boot parameters
|
||||||
.if n .sp
|
.if n .sp
|
||||||
..
|
..
|
||||||
This text describes the Boot Monitor, a boot time interactive program designed
|
This text describes the Boot Monitor, a boot time interactive program designed
|
||||||
not only to load and start Minix, its most important task, but to also
|
not only to load and start MINIX 3, its most important task, but to also
|
||||||
provide an interface to configure Minix and to boot other operating systems.
|
provide an interface to configure MINIX 3 and to boot other operating systems.
|
||||||
.PP
|
.PP
|
||||||
The monitor is controlled with an environment that is modeled after the
|
The monitor is controlled with an environment that is modeled after the
|
||||||
Bourne shell. This environment is filled at startup with default values
|
Bourne shell. This environment is filled at startup with default values
|
||||||
|
|
@ -40,17 +40,17 @@ it commands as arguments.
|
||||||
.PP
|
.PP
|
||||||
The DOS version of the monitor, usually named
|
The DOS version of the monitor, usually named
|
||||||
.B boot.com
|
.B boot.com
|
||||||
under DOS, boots Minix from a "DOS virtual disk".
|
under DOS, boots MINIX 3 from a "DOS virtual disk".
|
||||||
.B Boot.com
|
.B Boot.com
|
||||||
is a simple COM program that interprets a DOS
|
is a simple COM program that interprets a DOS
|
||||||
file as a disk, loads a Minix kernel from the active partition in the same
|
file as a disk, loads a MINIX 3 kernel from the active partition in the same
|
||||||
way as the BIOS based monitor, and executes it to start Minix. All the
|
way as the BIOS based monitor, and executes it to start MINIX 3. All the
|
||||||
monitor commands function in the same way, except for the
|
monitor commands function in the same way, except for the
|
||||||
.B boot
|
.B boot
|
||||||
command, it can only load Minix. The monitor grabs as much free memory as
|
command, it can only load MINIX 3. The monitor grabs as much free memory as
|
||||||
it can for Minix to work in, as the
|
it can for MINIX 3 to work in, as the
|
||||||
.B memory
|
.B memory
|
||||||
variable shows. Further details on how to run Minix under DOS, Windows 95,
|
variable shows. Further details on how to run MINIX 3 under DOS, Windows 95,
|
||||||
or even Windows NT are written down in
|
or even Windows NT are written down in
|
||||||
.BR dosminix (8).
|
.BR dosminix (8).
|
||||||
.SH COMMANDS
|
.SH COMMANDS
|
||||||
|
|
@ -131,7 +131,7 @@ to initialize?" Or: "Does the keyboard have LEDs?"
|
||||||
.SP
|
.SP
|
||||||
.B memory
|
.B memory
|
||||||
.RS
|
.RS
|
||||||
List of memory free for use by Minix. It is a comma separated list of
|
List of memory free for use by MINIX 3. It is a comma separated list of
|
||||||
.IR base:size
|
.IR base:size
|
||||||
pairs denoting the byte offsets and sizes of free memory in hexadecimal.
|
pairs denoting the byte offsets and sizes of free memory in hexadecimal.
|
||||||
.B "800:925E0,100000:F00000"
|
.B "800:925E0,100000:F00000"
|
||||||
|
|
@ -139,7 +139,7 @@ is a typical example of about 585K starting at 2K, and 15M starting at 1M.
|
||||||
(The first 2K are BIOS parameters and the 53K under the 640K boundary is
|
(The first 2K are BIOS parameters and the 53K under the 640K boundary is
|
||||||
the monitor itself.) The very last number you can play with if you know
|
the monitor itself.) The very last number you can play with if you know
|
||||||
what you are doing. Either increase it if the monitor has it wrong, or
|
what you are doing. Either increase it if the monitor has it wrong, or
|
||||||
decrease it to test if Minix still runs with less memory then normal.
|
decrease it to test if MINIX 3 still runs with less memory then normal.
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
.B video
|
.B video
|
||||||
|
|
@ -181,7 +181,7 @@ to a suitable default, so that most machines can find their disk.
|
||||||
.B console
|
.B console
|
||||||
.RS
|
.RS
|
||||||
If set to a hexadecimal value it makes the monitor set the BIOS video mode to
|
If set to a hexadecimal value it makes the monitor set the BIOS video mode to
|
||||||
this value when Minix is started.
|
this value when MINIX 3 is started.
|
||||||
This allows the use of video modes with more rows or colums than the
|
This allows the use of video modes with more rows or colums than the
|
||||||
standard 80x25 mode. You can use any text mode in the 00-FF range, and VESA
|
standard 80x25 mode. You can use any text mode in the 00-FF range, and VESA
|
||||||
extended modes in the 100-FFF range. Most text modes use a 9x16 font with
|
extended modes in the 100-FFF range. Most text modes use a 9x16 font with
|
||||||
|
|
@ -221,7 +221,7 @@ The name of the file containing the kernel image, by default
|
||||||
If it refers to a directory however then the newest file inside the
|
If it refers to a directory however then the newest file inside the
|
||||||
directory is chosen to be the kernel image. The names inside
|
directory is chosen to be the kernel image. The names inside
|
||||||
.B /minix/
|
.B /minix/
|
||||||
are best set to the Minix version you are using, which looks good when the
|
are best set to the MINIX 3 version you are using, which looks good when the
|
||||||
monitor prints its name. Rules for pretty printing image names:
|
monitor prints its name. Rules for pretty printing image names:
|
||||||
.RS
|
.RS
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -253,13 +253,13 @@ image name tell the starting sector and sector count of the image on disk.
|
||||||
Define function.
|
Define function.
|
||||||
.br
|
.br
|
||||||
Functions may be used to bundle a set of commands, so that you can easily
|
Functions may be used to bundle a set of commands, so that you can easily
|
||||||
boot Minix with a different set of parameters then normal. E.g.
|
boot MINIX 3 with a different set of parameters then normal. E.g.
|
||||||
.SP
|
.SP
|
||||||
.RS
|
.RS
|
||||||
ram() { rootdev=ram; boot }
|
ram() { rootdev=ram; boot }
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
will allow you to run Minix with the root device on RAM for a change, if you
|
will allow you to run MINIX 3 with the root device on RAM for a change, if you
|
||||||
normally use a real device as root. There are three predefined functions,
|
normally use a real device as root. There are three predefined functions,
|
||||||
.BR leader ,
|
.BR leader ,
|
||||||
with default value an
|
with default value an
|
||||||
|
|
@ -275,7 +275,7 @@ The monitor executes
|
||||||
.B leader;main
|
.B leader;main
|
||||||
at startup to show the banner message and a menu. The
|
at startup to show the banner message and a menu. The
|
||||||
.B trailer
|
.B trailer
|
||||||
function is executed just before Minix is started. These three functions can
|
function is executed just before MINIX 3 is started. These three functions can
|
||||||
be redefined as you please.
|
be redefined as you please.
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -339,17 +339,17 @@ to increase it's heap.
|
||||||
.br
|
.br
|
||||||
\fBboot\fP \fIdevice\fP
|
\fBboot\fP \fIdevice\fP
|
||||||
.RS
|
.RS
|
||||||
Boot Minix or another O.S.
|
Boot MINIX 3 or another O.S.
|
||||||
.br
|
.br
|
||||||
Without an argument,
|
Without an argument,
|
||||||
.B boot
|
.B boot
|
||||||
will load and execute the Minix image named by the
|
will load and execute the MINIX 3 image named by the
|
||||||
.B image
|
.B image
|
||||||
variable. With options the variable
|
variable. With options the variable
|
||||||
.B bootopts
|
.B bootopts
|
||||||
is first set to
|
is first set to
|
||||||
.BI \- opts
|
.BI \- opts
|
||||||
before Minix is started, and unset when Minix returns. With a
|
before MINIX 3 is started, and unset when Minix returns. With a
|
||||||
.I device
|
.I device
|
||||||
argument,
|
argument,
|
||||||
.B boot
|
.B boot
|
||||||
|
|
@ -372,7 +372,7 @@ then partition 2 is first made active. You'll then need to use
|
||||||
.SP
|
.SP
|
||||||
with
|
with
|
||||||
.I keys
|
.I keys
|
||||||
chosen so that Minix is booted at startup. (See
|
chosen so that MINIX 3 is booted at startup. (See
|
||||||
.BR installboot (8).)
|
.BR installboot (8).)
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -381,7 +381,7 @@ chosen so that Minix is booted at startup. (See
|
||||||
Copies output to and takes input from serial line
|
Copies output to and takes input from serial line
|
||||||
.I n
|
.I n
|
||||||
(0-3) at 9600 baud, 8 bits, no parity.
|
(0-3) at 9600 baud, 8 bits, no parity.
|
||||||
This allows you to control a Minix system remotely through an RS-232
|
This allows you to control a MINIX 3 system remotely through an RS-232
|
||||||
connection.
|
connection.
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -443,7 +443,7 @@ will use this one hidden built-in function:
|
||||||
Kernel selecting functions only add new options to this set, but if you
|
Kernel selecting functions only add new options to this set, but if you
|
||||||
define a two argument function yourself then the above one is no longer
|
define a two argument function yourself then the above one is no longer
|
||||||
shown, allowing you to customize the menu completely. Your first
|
shown, allowing you to customize the menu completely. Your first
|
||||||
function definition should therefore be one that starts Minix.
|
function definition should therefore be one that starts MINIX 3.
|
||||||
.SP
|
.SP
|
||||||
Menu entries are shown in the same order as
|
Menu entries are shown in the same order as
|
||||||
.B set
|
.B set
|
||||||
|
|
@ -486,7 +486,7 @@ is killed when the prompt is printed. Example:
|
||||||
main() {trap 10000 boot; menu}
|
main() {trap 10000 boot; menu}
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
This gives you 10 seconds to choose a menu option before Minix is booted.
|
This gives you 10 seconds to choose a menu option before MINIX 3 is booted.
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
\fBunset\fP \fIname\fP ...
|
\fBunset\fP \fIname\fP ...
|
||||||
|
|
@ -502,7 +502,7 @@ to remove the "device name translation" property from a variable.
|
||||||
.RS
|
.RS
|
||||||
Exit the monitor.
|
Exit the monitor.
|
||||||
.br
|
.br
|
||||||
Reboot the machine, exit to Minix or exit to DOS as appropriate.
|
Reboot the machine, exit to MINIX 3 or exit to DOS as appropriate.
|
||||||
.RE
|
.RE
|
||||||
.SP
|
.SP
|
||||||
\fBoff\fP
|
\fBoff\fP
|
||||||
|
|
@ -521,7 +521,7 @@ Treat a number of commands as a single command. Used for function
|
||||||
definitions when a function body must contain more than one command.
|
definitions when a function body must contain more than one command.
|
||||||
.RE
|
.RE
|
||||||
.SH DEVICES
|
.SH DEVICES
|
||||||
The Minix kernel can't do anything with device names, so they have to be
|
The MINIX 3 kernel can't do anything with device names, so they have to be
|
||||||
translated to device numbers before they are passed to the kernel. This
|
translated to device numbers before they are passed to the kernel. This
|
||||||
number is found under the st_rdev field (see
|
number is found under the st_rdev field (see
|
||||||
.BR stat (2))
|
.BR stat (2))
|
||||||
|
|
@ -537,7 +537,7 @@ or 'c0d0p1s0', and then searched for in /dev.
|
||||||
.B Bootdev
|
.B Bootdev
|
||||||
can only be translated to a device for the first controller, and only if
|
can only be translated to a device for the first controller, and only if
|
||||||
the disks on that controller are numbered without "gaps". (The master
|
the disks on that controller are numbered without "gaps". (The master
|
||||||
device on the second IDE channel is always d2 on Minix. The BIOS will
|
device on the second IDE channel is always d2 on MINIX 3. The BIOS will
|
||||||
call it disk 0, 1, or 2 depending on the number of disks on the first
|
call it disk 0, 1, or 2 depending on the number of disks on the first
|
||||||
IDE channel.)
|
IDE channel.)
|
||||||
.SP
|
.SP
|
||||||
|
|
@ -548,7 +548,7 @@ for device names, and it is best to always omit
|
||||||
.B c0
|
.B c0
|
||||||
for the
|
for the
|
||||||
.B boot
|
.B boot
|
||||||
command, and to always use the full name for variables passed to Minix.
|
command, and to always use the full name for variables passed to MINIX 3.
|
||||||
.SH EXTENSIONS
|
.SH EXTENSIONS
|
||||||
A few extensions have been made to this program for kernel hackers. They
|
A few extensions have been made to this program for kernel hackers. They
|
||||||
may be triggered by setting bits in the flags word in the kernel startup
|
may be triggered by setting bits in the flags word in the kernel startup
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ then only the hosts file is used to answer queries, and any query for a name
|
||||||
not in that file gets a failure response.
|
not in that file gets a failure response.
|
||||||
.PP
|
.PP
|
||||||
.B Nonamed
|
.B Nonamed
|
||||||
accepts both UDP and TCP queries under Minix-vmd. Under standard Minix
|
accepts both UDP and TCP queries under Minix-vmd. Under standard MINIX 3
|
||||||
only UDP queries are accepted. \*(NI relayed UDP queries can be outstanding
|
only UDP queries are accepted. \*(NI relayed UDP queries can be outstanding
|
||||||
before it forgets where the first one came from.
|
before it forgets where the first one came from.
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -293,7 +293,7 @@ neighbouring name daemon on another PC at home.
|
||||||
.PP
|
.PP
|
||||||
The default cache size seems to be more than enough for normal use, but if
|
The default cache size seems to be more than enough for normal use, but if
|
||||||
you do decide to make it larger then don't forget to increase the stack size
|
you do decide to make it larger then don't forget to increase the stack size
|
||||||
of the program under standard Minix.
|
of the program under standard MINIX 3.
|
||||||
.PP
|
.PP
|
||||||
Don't let two
|
Don't let two
|
||||||
.BR nonamed 's
|
.BR nonamed 's
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,11 @@ values for the base or size of a partition. These values are: Aligned to a
|
||||||
cylinder, taped to other partitions (inside or outside), or filling out holes.
|
cylinder, taped to other partitions (inside or outside), or filling out holes.
|
||||||
.BR "Use this key" !
|
.BR "Use this key" !
|
||||||
.PP
|
.PP
|
||||||
Minix subpartition tables or extended partitions may be edited after hitting
|
MINIX 3 subpartition tables or extended partitions may be edited after hitting
|
||||||
the '>' key. The number of this partition will be shown after the device
|
the '>' key. The number of this partition will be shown after the device
|
||||||
name on the second row, e.g.
|
name on the second row, e.g.
|
||||||
.BR /dev/hd0:2 .
|
.BR /dev/hd0:2 .
|
||||||
Minix subpartition tables are shown as is, but extended partition bases are
|
MINIX 3 subpartition tables are shown as is, but extended partition bases are
|
||||||
translated to absolute offsets on the screen to hide the gory details of their
|
translated to absolute offsets on the screen to hide the gory details of their
|
||||||
implementation from the innocent user. (Hit 'p' if you dare.) The '<' key
|
implementation from the innocent user. (Hit 'p' if you dare.) The '<' key
|
||||||
will bring you back to the enclosing partition table.
|
will bring you back to the enclosing partition table.
|
||||||
|
|
@ -50,7 +50,7 @@ sorted by device number and starting with
|
||||||
.PP
|
.PP
|
||||||
Values that are out of range, overlapping, or otherwise strange are shown in
|
Values that are out of range, overlapping, or otherwise strange are shown in
|
||||||
reverse video. Values that may possibly be a problem for operating systems
|
reverse video. Values that may possibly be a problem for operating systems
|
||||||
other then Minix are shown in bold characters.
|
other then MINIX 3 are shown in bold characters.
|
||||||
.PP
|
.PP
|
||||||
The name of the device is highlighted when it has not been read yet.
|
The name of the device is highlighted when it has not been read yet.
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -65,15 +65,15 @@ if they are inside some other partition, if the base equals the device's base
|
||||||
complies with the good old \s-2UNIX\s+2 tradition of trusting the user.
|
complies with the good old \s-2UNIX\s+2 tradition of trusting the user.
|
||||||
It will write any table, no matter how bad. You have been warned.
|
It will write any table, no matter how bad. You have been warned.
|
||||||
.PP
|
.PP
|
||||||
By the way, as far as Minix is concerned there is absolutely no reason to
|
By the way, as far as MINIX 3 is concerned there is absolutely no reason to
|
||||||
make partitions start precisely on a cylinder or track nor does it have to
|
make partitions start precisely on a cylinder or track nor does it have to
|
||||||
be an exact number of cylinders long. Minix only looks at the base and size
|
be an exact number of cylinders long. MINIX 3 only looks at the base and size
|
||||||
of a partition, the geometry of the drive doesn't have to be correct. Other
|
of a partition, the geometry of the drive doesn't have to be correct. Other
|
||||||
Operating systems can be very picky about partitions that are not aligned.
|
Operating systems can be very picky about partitions that are not aligned.
|
||||||
Some partition editors may refuse to edit a table, others may even make a
|
Some partition editors may refuse to edit a table, others may even make a
|
||||||
mess of the table. The only exception is the first partition, it
|
mess of the table. The only exception is the first partition, it
|
||||||
traditionally starts on the first track, not the first cylinder. All
|
traditionally starts on the first track, not the first cylinder. All
|
||||||
editors must understand this. (Subpartition tables are Minix specific, so
|
editors must understand this. (Subpartition tables are MINIX 3 specific, so
|
||||||
there is no reason at all for any alignment.)
|
there is no reason at all for any alignment.)
|
||||||
.SS "Extended Partitions"
|
.SS "Extended Partitions"
|
||||||
Extended partitions are a mess that is only made slightly better by
|
Extended partitions are a mess that is only made slightly better by
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ makes a partition table on
|
||||||
.I device
|
.I device
|
||||||
using the types and sizes given. It may be used in combination with
|
using the types and sizes given. It may be used in combination with
|
||||||
.BR repartition (8)
|
.BR repartition (8)
|
||||||
for automatic installation of Minix.
|
for automatic installation of MINIX 3.
|
||||||
.PP
|
.PP
|
||||||
You may give up to four \fItype\fP:\fIlength\fP[\fB+*\fP] specifications
|
You may give up to four \fItype\fP:\fIlength\fP[\fB+*\fP] specifications
|
||||||
for the partitions. You may also specify holes before, between, and after
|
for the partitions. You may also specify holes before, between, and after
|
||||||
|
|
@ -39,12 +39,12 @@ to indicate that an existing partition of the given type must be kept
|
||||||
from the old partition table.
|
from the old partition table.
|
||||||
.PP
|
.PP
|
||||||
Partitions are padded out to cylinder boundaries, except for the first one,
|
Partitions are padded out to cylinder boundaries, except for the first one,
|
||||||
it starts on track 1. Some operating systems care about this. Minix and
|
it starts on track 1. Some operating systems care about this. MINIX 3 and
|
||||||
MS-DOS do not.
|
MS-DOS do not.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-m
|
.B \-m
|
||||||
Minix only, no need to pad partitions. This is the default for subpartition
|
MINIX 3 only, no need to pad partitions. This is the default for subpartition
|
||||||
tables.
|
tables.
|
||||||
.TP
|
.TP
|
||||||
.B \-f
|
.B \-f
|
||||||
|
|
@ -55,7 +55,7 @@ Play-act, don't write the new table, just show what it would look like.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.B "partition /dev/hd0 01:16384 81:40000 81:2880* 06:20000+"
|
.B "partition /dev/hd0 01:16384 81:40000 81:2880* 06:20000+"
|
||||||
.PP
|
.PP
|
||||||
Partitions disk 0 into an 8 Mb DOS partition, 20 Mb Minix /usr, 1.44 Mb Minix
|
Partitions disk 0 into an 8 Mb DOS partition, 20 Mb MINIX 3 /usr, 1.44 Mb MINIX 3
|
||||||
/ (active), and a DOS partition of at least 10 Mb at the end of the disk.
|
/ (active), and a DOS partition of at least 10 Mb at the end of the disk.
|
||||||
(06:0+ would have been ok too, it's just a sanity check.)
|
(06:0+ would have been ok too, it's just a sanity check.)
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ looks up the six octet ethernet number in the
|
||||||
file finding a host name. This name is translated to the IP address of the
|
file finding a host name. This name is translated to the IP address of the
|
||||||
host by a DNS lookup. The IP address is then sent to the host.
|
host by a DNS lookup. The IP address is then sent to the host.
|
||||||
.PP
|
.PP
|
||||||
Under Minix the program forks as needed to give each network its own server.
|
Under MINIX 3 the program forks as needed to give each network its own server.
|
||||||
Under Minix-vmd all networks are handled in the same program using async I/O.
|
Under Minix-vmd all networks are handled in the same program using async I/O.
|
||||||
.SS "Private Ethernet Addresses"
|
.SS "Private Ethernet Addresses"
|
||||||
For VU practical work, where students have to create their own IP stack
|
For VU practical work, where students have to create their own IP stack
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ repartition /dev/hd4 /etc/hd4.table
|
||||||
Reload the partition table of drive 0 setting /dev/hd[1\-4], and the
|
Reload the partition table of drive 0 setting /dev/hd[1\-4], and the
|
||||||
subpartition table of /dev/hd4 setting /dev/hd4[a\-d] using a file.
|
subpartition table of /dev/hd4 setting /dev/hd4[a\-d] using a file.
|
||||||
The latter may be useful if you need more than the 4 subpartitions a
|
The latter may be useful if you need more than the 4 subpartitions a
|
||||||
single Minix partition gives you.
|
single MINIX 3 partition gives you.
|
||||||
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
||||||
The new table is printed on standard output.
|
The new table is printed on standard output.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
|
|
|
||||||
|
|
@ -12,19 +12,19 @@ serial-ip \- Serial IP (SLIP or PPP) setup
|
||||||
This text and the serial IP code is not finished. Code needs to be added to
|
This text and the serial IP code is not finished. Code needs to be added to
|
||||||
.B nonamed
|
.B nonamed
|
||||||
to allow it to be used both with and without a connection to the Internet,
|
to allow it to be used both with and without a connection to the Internet,
|
||||||
and by now there is a PPP program for standard Minix "out there" that will
|
and by now there is a PPP program for standard MINIX 3 "out there" that will
|
||||||
change everything that is said in this text. So much to do, so little
|
change everything that is said in this text. So much to do, so little
|
||||||
time...
|
time...
|
||||||
.br
|
.br
|
||||||
\-\-\-\-\-\-\-
|
\-\-\-\-\-\-\-
|
||||||
.PP
|
.PP
|
||||||
This manual page describes the Minix network setup to use serial line IP.
|
This manual page describes the MINIX 3 network setup to use serial line IP.
|
||||||
The serial IP protocol used can either be the older SLIP by means of the
|
The serial IP protocol used can either be the older SLIP by means of the
|
||||||
.BR slip (8)
|
.BR slip (8)
|
||||||
program, or PPP (Point-to-Point Protocol), the newer and better serial IP
|
program, or PPP (Point-to-Point Protocol), the newer and better serial IP
|
||||||
protocol implemented by the
|
protocol implemented by the
|
||||||
.BR ppp (8)
|
.BR ppp (8)
|
||||||
program. Alas standard Minix only supports SLIP.
|
program. Alas standard MINIX 3 only supports SLIP.
|
||||||
.PP
|
.PP
|
||||||
In the following text all descriptions and examples will name SLIP or the
|
In the following text all descriptions and examples will name SLIP or the
|
||||||
.BR slip
|
.BR slip
|
||||||
|
|
@ -42,7 +42,7 @@ program is like this:
|
||||||
.PP
|
.PP
|
||||||
The argument of the program, the
|
The argument of the program, the
|
||||||
.B /dev/psip2
|
.B /dev/psip2
|
||||||
device, is one of the so-called "Pseudo IP" devices that the Minix TCP/IP
|
device, is one of the so-called "Pseudo IP" devices that the MINIX 3 TCP/IP
|
||||||
driver
|
driver
|
||||||
.BR inet (8)
|
.BR inet (8)
|
||||||
offers to implement a virtual network on. On an ethernet IP packets are
|
offers to implement a virtual network on. On an ethernet IP packets are
|
||||||
|
|
@ -58,7 +58,7 @@ through an RS-232 serial line like the second serial line
|
||||||
as used in the example above.
|
as used in the example above.
|
||||||
.PP
|
.PP
|
||||||
If we look at the flow of data over normal ethernet then this is what a TCP
|
If we look at the flow of data over normal ethernet then this is what a TCP
|
||||||
connection between two Minix machines,
|
connection between two MINIX 3 machines,
|
||||||
.B telnet
|
.B telnet
|
||||||
for instance, looks like:
|
for instance, looks like:
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -112,7 +112,7 @@ by your service provider. Let's choose another address on that network,
|
||||||
for instance. (You can use the address of the SLIP gateway if you want
|
for instance. (You can use the address of the SLIP gateway if you want
|
||||||
to make it look pretty, but it doesn't really matter, anything "out there"
|
to make it look pretty, but it doesn't really matter, anything "out there"
|
||||||
is ok.)
|
is ok.)
|
||||||
To make Minix aware of the situation you have to configure the pseudo IP
|
To make MINIX 3 aware of the situation you have to configure the pseudo IP
|
||||||
network. For Minix-vmd you need to look for the
|
network. For Minix-vmd you need to look for the
|
||||||
.B if-then-else-fi
|
.B if-then-else-fi
|
||||||
code in
|
code in
|
||||||
|
|
@ -138,7 +138,7 @@ add_route -g 192.168.0.1
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
For standard Minix one has to edit
|
For standard MINIX 3 one has to edit
|
||||||
.B /etc/rc
|
.B /etc/rc
|
||||||
instead at the point of the XXX comments. The
|
instead at the point of the XXX comments. The
|
||||||
.B ifconfig
|
.B ifconfig
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ The
|
||||||
.I pseudo-ip-device
|
.I pseudo-ip-device
|
||||||
argument names one of the
|
argument names one of the
|
||||||
.B /dev/psip*
|
.B /dev/psip*
|
||||||
devices that is offered by the Minix TCP/IP driver
|
devices that is offered by the MINIX 3 TCP/IP driver
|
||||||
.BR inet (8).
|
.BR inet (8).
|
||||||
The
|
The
|
||||||
.B slip
|
.B slip
|
||||||
|
|
@ -41,7 +41,7 @@ standard output. A typical use is like this:
|
||||||
The SLIP protocol is just a very simple packet framing protocol. It defines
|
The SLIP protocol is just a very simple packet framing protocol. It defines
|
||||||
two characters as markers on a byte stream to frame packets. SLIP does
|
two characters as markers on a byte stream to frame packets. SLIP does
|
||||||
not implement any higher level addressing, error detection, or compression.
|
not implement any higher level addressing, error detection, or compression.
|
||||||
Thanks to its simplicity it can be used under Minix, any other system would
|
Thanks to its simplicity it can be used under MINIX 3, any other system would
|
||||||
prefer to use the Point-to-Point protocol: PPP.
|
prefer to use the Point-to-Point protocol: PPP.
|
||||||
.PP
|
.PP
|
||||||
The SLIP packet framing protocol as defined in RFC-1055 is as follows:
|
The SLIP packet framing protocol as defined in RFC-1055 is as follows:
|
||||||
|
|
@ -58,7 +58,7 @@ at all by escaping it this way, making finding the framing END easier.)
|
||||||
.PP
|
.PP
|
||||||
The manual page
|
The manual page
|
||||||
.BR serial-ip (8)
|
.BR serial-ip (8)
|
||||||
describes how to configure the Minix network devices to be used with a
|
describes how to configure the MINIX 3 network devices to be used with a
|
||||||
serial IP connection.
|
serial IP connection.
|
||||||
..
|
..
|
||||||
.SH FILES
|
.SH FILES
|
||||||
|
|
@ -73,7 +73,7 @@ Pseudo-IP devices for use by
|
||||||
..
|
..
|
||||||
.BR RFC-1055 .
|
.BR RFC-1055 .
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Under Minix
|
Under MINIX 3
|
||||||
.B slip
|
.B slip
|
||||||
forks in two to handle the two data streams in or out of the serial line.
|
forks in two to handle the two data streams in or out of the serial line.
|
||||||
Under Minix-vmd it uses asynchronous I/O to handle the two streams within
|
Under Minix-vmd it uses asynchronous I/O to handle the two streams within
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ sync \- flush the cache to disk
|
||||||
.EX "sync" "Write out all modified cache blocks"
|
.EX "sync" "Write out all modified cache blocks"
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
\s-2MINIX\s+2
|
\s-1MINIX 3\s-1
|
||||||
maintains a cache of recently used disk blocks.
|
maintains a cache of recently used disk blocks.
|
||||||
The
|
The
|
||||||
.I sync
|
.I sync
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH AS 9
|
||||||
.\" unchecked (kjb)
|
.\" unchecked (kjb)
|
||||||
.CD "as \(en assembler"
|
.CD "as \(en assembler"
|
||||||
.SE "AS\(emASSEMBLER [IBM]"
|
.SE "AS\(emASSEMBLER [IBM]"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH AWK 9
|
||||||
.CD "awk \(en pattern matching language"
|
.CD "awk \(en pattern matching language"
|
||||||
.SX "awk \fIrules\fR [\fIfile\fR] ...
|
.SX "awk \fIrules\fR [\fIfile\fR] ...
|
||||||
.FL "\fR(none)"
|
.FL "\fR(none)"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH DE 9
|
||||||
.CD "de \(en disk editor"
|
.CD "de \(en disk editor"
|
||||||
.SX "de\fR [\fB\(enw\fR] \fIblock_device"
|
.SX "de\fR [\fB\(enw\fR] \fIblock_device"
|
||||||
.SX "de \(enr \fIfile
|
.SX "de \(enr \fIfile
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH DIS88 9
|
||||||
.CD "dis88 \(en disassembler [IBM]"
|
.CD "dis88 \(en disassembler [IBM]"
|
||||||
.SX "dis88\fR [\fB\(eno\fR] \fIinfile\fR [\fIoutfile\fR]"
|
.SX "dis88\fR [\fB\(eno\fR] \fIinfile\fR [\fIoutfile\fR]"
|
||||||
.FL "\(eno" "List the object code along with the assembly code"
|
.FL "\(eno" "List the object code along with the assembly code"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH ELLE 9
|
||||||
.CD "elle \(en ELLE Looks Like Emacs"
|
.CD "elle \(en ELLE Looks Like Emacs"
|
||||||
.SX "elle \fIfile\fR [\fIfile2\fR]"
|
.SX "elle \fIfile\fR [\fIfile2\fR]"
|
||||||
.FL "\fR(none)"
|
.FL "\fR(none)"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH ELVIS 9
|
||||||
.CD "elvis \(en clone of the Berkeley vi editor"
|
.CD "elvis \(en clone of the Berkeley vi editor"
|
||||||
.SX "elvis \fR[\fB\(enRerv\fR] [\fB\(ent \fItag\fR] \fR[\fIfile\fR] ..."
|
.SX "elvis \fR[\fB\(enRerv\fR] [\fB\(ent \fItag\fR] \fR[\fIfile\fR] ..."
|
||||||
.FL "\(enR" "Set the read-only option"
|
.FL "\(enR" "Set the read-only option"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH KERMIT 9
|
||||||
.CD "kermit \(en transfer a file using the kermit protocol"
|
.CD "kermit \(en transfer a file using the kermit protocol"
|
||||||
.SX "kermit"
|
.SX "kermit"
|
||||||
.FL "\fR(many)"
|
.FL "\fR(many)"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH M4 9
|
||||||
.CD "m4 \(en macro processor"
|
.CD "m4 \(en macro processor"
|
||||||
.SX "m4\fR [\fB\(enD \fIname\fR = \fIvalue\fR]\fR [\fB\(enU \fIname\fR]
|
.SX "m4\fR [\fB\(enD \fIname\fR = \fIvalue\fR]\fR [\fB\(enU \fIname\fR]
|
||||||
.FL "\(enD" "Define a symbol"
|
.FL "\(enD" "Define a symbol"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH MACROS 9
|
||||||
.\" Macro package for producing books (based on -ms)
|
.\" Macro package for producing books (based on -ms)
|
||||||
.nr PS 12
|
.nr PS 12
|
||||||
.nr PZ 12
|
.nr PZ 12
|
||||||
|
|
@ -1402,7 +1404,7 @@ Fig.\|\|\|\\*(CN-\\n+k.~\c
|
||||||
.ds M9 \\s-1MINIX\\s+1
|
.ds M9 \\s-1MINIX\\s+1
|
||||||
.ds m0 minix
|
.ds m0 minix
|
||||||
.de MX
|
.de MX
|
||||||
\s-2MINIX\s+2\\$1
|
\s-1MINIX 3\s-1\\$1
|
||||||
..
|
..
|
||||||
.de Ux
|
.de Ux
|
||||||
\s-2UNIX\s+2\\$1
|
\s-2UNIX\s+2\\$1
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
.so mnx.mac
|
||||||
|
.TH MINED 9
|
||||||
.CD "mined \(en \*(M2 editor"
|
.CD "mined \(en \*(M2 editor"
|
||||||
.SX "mined\fR [\fIfile\fR]
|
.SX "mined\fR [\fIfile\fR]
|
||||||
.FL "\fR(none)"
|
.FL "\fR(none)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user