Import a few manpages

The following manpages where contributed by
Jacob Adams <tookmund@gmail.com>:
 - atnormalize.8
 - autopart.8
 - decomp16.1
 - devsize.8
 - rawspeed.8
 - rotate.8
 - update_bootcfg.8
 - updateboot.8

Change-Id: Ide3abf0962083b83e37426e2d47f3a9391d6315e
This commit is contained in:
Lionel Sambuc 2014-11-19 10:54:14 +01:00
parent 99e9e03701
commit 0805ab8cfd
17 changed files with 213 additions and 13 deletions

View file

@ -2384,6 +2384,7 @@
./usr/man/man1/cut.1 minix-sys ./usr/man/man1/cut.1 minix-sys
./usr/man/man1/date.1 minix-sys ./usr/man/man1/date.1 minix-sys
./usr/man/man1/dd.1 minix-sys ./usr/man/man1/dd.1 minix-sys
./usr/man/man1/decomp16.1 minix-sys
./usr/man/man1/deroff.1 minix-sys ./usr/man/man1/deroff.1 minix-sys
./usr/man/man1/df.1 minix-sys ./usr/man/man1/df.1 minix-sys
./usr/man/man1/dhrystone.1 minix-sys ./usr/man/man1/dhrystone.1 minix-sys
@ -5193,6 +5194,8 @@
./usr/man/man8 minix-sys ./usr/man/man8 minix-sys
./usr/man/man8/add_route.8 minix-sys ./usr/man/man8/add_route.8 minix-sys
./usr/man/man8/adduser.8 minix-sys ./usr/man/man8/adduser.8 minix-sys
./usr/man/man8/atnormalize.8 minix-sys
./usr/man/man8/autopart.8 minix-sys
./usr/man/man8/backup.8 minix-sys ./usr/man/man8/backup.8 minix-sys
./usr/man/man8/boot.8 minix-sys ./usr/man/man8/boot.8 minix-sys
./usr/man/man8/btrace.8 minix-sys ./usr/man/man8/btrace.8 minix-sys
@ -5202,6 +5205,7 @@
./usr/man/man8/cleantmp.8 minix-sys ./usr/man/man8/cleantmp.8 minix-sys
./usr/man/man8/config.8 minix-sys ./usr/man/man8/config.8 minix-sys
./usr/man/man8/cron.8 minix-sys ./usr/man/man8/cron.8 minix-sys
./usr/man/man8/devsize.8 minix-sys
./usr/man/man8/dhcpd.8 minix-sys ./usr/man/man8/dhcpd.8 minix-sys
./usr/man/man8/diskctl.8 minix-sys ./usr/man/man8/diskctl.8 minix-sys
./usr/man/man8/fbdctl.8 minix-sys ./usr/man/man8/fbdctl.8 minix-sys
@ -5249,11 +5253,13 @@
./usr/man/man8/pwdauth.8 minix-sys ./usr/man/man8/pwdauth.8 minix-sys
./usr/man/man8/pwd_mkdb.8 minix-sys ./usr/man/man8/pwd_mkdb.8 minix-sys
./usr/man/man8/rarpd.8 minix-sys ./usr/man/man8/rarpd.8 minix-sys
./usr/man/man8/rawspeed.8 minix-sys
./usr/man/man8/rdate.8 minix-sys ./usr/man/man8/rdate.8 minix-sys
./usr/man/man8/readclock.8 minix-sys ./usr/man/man8/readclock.8 minix-sys
./usr/man/man8/reboot.8 minix-sys ./usr/man/man8/reboot.8 minix-sys
./usr/man/man8/renice.8 minix-sys ./usr/man/man8/renice.8 minix-sys
./usr/man/man8/repartition.8 minix-sys ./usr/man/man8/repartition.8 minix-sys
./usr/man/man8/rotate.8 minix-sys
./usr/man/man8/rshd.8 minix-sys ./usr/man/man8/rshd.8 minix-sys
./usr/man/man8/screendump.8 minix-sys ./usr/man/man8/screendump.8 minix-sys
./usr/man/man8/serial-ip.8 minix-sys ./usr/man/man8/serial-ip.8 minix-sys
@ -5271,6 +5277,8 @@
./usr/man/man8/unlink.8 minix-sys ./usr/man/man8/unlink.8 minix-sys
./usr/man/man8/unstr.8 minix-sys ./usr/man/man8/unstr.8 minix-sys
./usr/man/man8/update.8 minix-sys ./usr/man/man8/update.8 minix-sys
./usr/man/man8/updateboot.8 minix-sys
./usr/man/man8/update_bootcfg.8 minix-sys
./usr/man/man8/usage.8 minix-sys ./usr/man/man8/usage.8 minix-sys
./usr/man/man8/user.8 minix-sys ./usr/man/man8/user.8 minix-sys
./usr/man/man8/useradd.8 minix-sys ./usr/man/man8/useradd.8 minix-sys

View file

@ -1,4 +1,4 @@
PROG= atnormalize PROG= atnormalize
MAN= MAN= atnormalize.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,20 @@
.\" Based on http://osdir.com/ml/minix3/2010-01/msg00133.html
.TH man 8 "13 November 2014" "1.0" "atnormalize man page"
.SH NAME
atnormalize \- Reset disk drivers to normal settings
.SH SYNOPSIS
atnormalize
.SH DESCRIPTION
Resets the disk drivers to their normal settings in case a partitioning tool changes them.
Loops over all the disk devices and sends each a DIOCTIMEOUT with an argp of 0
.SH EXAMPLES
atnormalize
.SH SEE ALSO
autopart(8),ioctl(2)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,4 +1,4 @@
PROG= autopart PROG= autopart
MAN= MAN= autopart.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,20 @@
.TH man 8 "13 November 2014" "1.0" "autopart man page"
.SH NAME
autopart \- Partition a hard disk for Minix installation
.SH SYNOPSIS
autopart
.SH DESCRIPTION
This tool is used as the third step in the install process.
It is not intended for use as a partitioning tool
Use part(8) instead.
.SH EXAMPLES
autopart
.SH SEE ALSO
part(8)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,4 +1,3 @@
PROG= decomp16 PROG= decomp16
MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,55 @@
.TH man 1 "14 November 2014" "1.0" "decomp16 man page"
.PD 0
.SH NAME
decomp16 \- decompress 16bit compressed files on a 16bit Intel processor
.SH SYNOPSIS
decomp16 [-#] [in] [out]
.SH OPTIONS
.IP -#
If given a switch -#, where # is a digit from 0 to 4 (example: -2), the
program will run as that copy, reading from stdin and writing to stdout.
This allows decompressing with very limited RAM because only one of the
five passes is in memory at a time.
.IP in
File to decompress
.IP out
File to output decompressed data to
.SH DESCRIPTION
decompresses files compressed with compress(1)
This program works by forking four more copies of itself. The five
programs form a pipeline. Copy 0 writes to stdout, and forks copy 1
to supply its input, which in turn forks and reads from copy 2, etc.
The arguments -0 to -4 run only the corresponding pass.
.P
Thus:
.P
decomp16 -4 < compressed_file > 3;
.P
decomp16 -3 < 3 > 2;
.P
decomp16 -2 < 2 > 1;
.P
decomp16 -1 < 1 > 0;
.P
decomp16 -0 < 0 > decompressed_file
.P
will also work, as will connecting the passes by explicit pipes if
there is enough memory to do so.
.SH EXAMPLES
.P
decomp16 comp_file decomp_file # Decompresses comp_file to decomp_file.
.P
decomp16 < comp_file > decomp_file # Same as above but with output redirects.
.SH SEE ALSO
compress(1)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,4 +1,4 @@
PROG= devsize PROG= devsize
MAN= MAN= devsize.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,18 @@
.TH man 8 "14 November 2014" "1.0" "devsize man page"
.SH NAME
devsize \- Prints size of device
.SH SYNOPSIS
devsize <device>
.SH DESCRIPTION
Prints block size of device
.SH EXAMPLES
devsize /dev/c0d1
.SH SEE ALSO
ioctl(2),part(8)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,4 +1,4 @@
PROG= rawspeed PROG= rawspeed
MAN= MAN= rawspeed.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,30 @@
.TH man 8 "14 November 2014" "1.0" "rawspeed man page"
.SH NAME
rawspeed \- Measure speed of a device
.SH SYNOPSIS
rawspeed [-u unit] [-m max] [-t seconds] [-c] [-r limit] device
.SH OPTIONS
.IP -u
best sector multiple (default 2)
.IP -m
read multiples of unit upto 'max'
.IP -t
time to run test (default 10)
.IP -c
cache test: rewind after each read or write of max size
.IP -r
random seeks upto sector 'limit' before reading or writing
.SH DESCRIPTION
Measures the speed of a given device.
.SH EXAMPLES
rawspeed /dev/c0d1
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,4 +1,4 @@
SCRIPTS= rotate.sh SCRIPTS= rotate.sh
MAN= MAN= rotate.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,13 @@
.TH man 8 "14 November 2014" "1.0" "rotate man page"
.SH NAME
rotate \- rotate logs
.SH SYNOPSIS
rotate <log> <keep>
.SH DESCRIPTION
Rotate logs
.SH EXAMPLES
.SH SEE ALSO
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,5 +1,5 @@
SCRIPTS= update_bootcfg.sh SCRIPTS= update_bootcfg.sh
MAN= update_bootcfg.8
BINDIR= /bin BINDIR= /bin
MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,18 @@
.TH man 8 "14 November 2014" "1.0" "update_bootcfg man page"
.SH NAME
update_bootcfg \- Update /boot.cfg
.SH SYNOPSIS
update_bootcfg
.SH DESCRIPTION
Updates /boot.cfg from /etc/boot.cfg.default and /etc/boot.cfg.local
.SH EXAMPLES
update_bootcfg
.SH SEE ALSO
boot.cfg(5)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>

View file

@ -1,5 +1,5 @@
SCRIPTS= updateboot.sh SCRIPTS= updateboot.sh
MAN= updateboot.8
BINDIR= /bin BINDIR= /bin
MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View file

@ -0,0 +1,19 @@
.TH man 8 "date" "1.0" "updateboot man page"
.SH NAME
updateboot \- Update boot monitor and bootstrap program
.SH SYNOPSIS
updateboot
.SH DESCRIPTION
Copies bootmonitor from /usr/mdec to /.
Installs bootstrap program bootxx_minixfs3 onto root device with installboot_nbsd
.SH EXAMPLES
updateboot
.SH SEE ALSO
updateboot_cfg(8)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>