From: Erik van der Kouwe Date: Tue, 27 Oct 2009 15:34:22 +0000 (+0000) Subject: Create man pages for bigsh and dev2name X-Git-Tag: v3.1.5~4 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=379e087d6bd317e704652192f49d695d4befc6ff;p=minix.git Create man pages for bigsh and dev2name --- diff --git a/man/man1/ash.1 b/man/man1/ash.1 index 2f7e40e4b..2f237ace8 100644 --- a/man/man1/ash.1 +++ b/man/man1/ash.1 @@ -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 diff --git a/man/man1/dev2name.1 b/man/man1/dev2name.1 new file mode 100644 index 000000000..3121af96e --- /dev/null +++ b/man/man1/dev2name.1 @@ -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).