Create man pages for bigsh and dev2name

This commit is contained in:
Erik van der Kouwe 2009-10-27 15:34:22 +00:00
parent bd30f2a988
commit 379e087d6b
2 changed files with 32 additions and 1 deletions

View file

@ -63,7 +63,7 @@
.B \\$1
..
.SH NAME
ash, sh, ., break, case, cd, command, continue, eval, exec, exit, export, for, getopts, hash, if, jobs, local, read, readonly, return, set, setvar, shift, trap, umask, unset, wait, while \- a shell
ash, sh, bigsh, ., break, case, cd, command, continue, eval, exec, exit, export, for, getopts, hash, if, jobs, local, read, readonly, return, set, setvar, shift, trap, umask, unset, wait, while \- a shell
.SH SYNOPSIS
.B ash
[
@ -164,6 +164,13 @@ procedure if neither the
nor the
.B -c
options are set.)
.PP
In older versions of MINIX that did not have virtual memory, it was
important for executables to have enough memory assigned to them. The
.B bigsh
binary was provided for shells that need much memory. This command is
retained for backward compatibility and need not be used on MINIX 3.1.4
and later.
.h "Control Structures"
A
.I list

24
man/man1/dev2name.1 Normal file
View file

@ -0,0 +1,24 @@
.TH DEV2NAME 1
.SH NAME
dev2name \- obtain device name given its number
.SH SYNOPSIS
\fBdev2name\fR \fIdeviceno\fR
.br
\fBdev2name\fR \fImajor\fR \fIminor\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.SH OPTIONS
.FL "\fImajor\fR" "Major device number for which to obtain device name"
.FL "\fIminor\fR" "Minor device number for which to obtain device name"
.FL "\fIdeviceno\fR" "Full device number for which to obtain device name (specifies the minor device number in the low-order byte and the major device number in the remainder)"
.SH DESCRIPTION
.PP
This utility locates a file in \fB/dev\fR that represents the device with the specified major/minor device number and prints its name to the standard output. The exit code is zero if such a device is found and non-zero if no such device was found.
.SH "SEE ALSO"
.BR mknod (1),
.BR DESCRIBE (1),
.BR MAKEDEV (1).