]> Zhao Yanbai Git Server - minix.git/commitdiff
Import a few manpages 97/2897/2
authorLionel Sambuc <lionel@minix3.org>
Wed, 19 Nov 2014 09:54:14 +0000 (10:54 +0100)
committerLionel Sambuc <lionel@minix3.org>
Tue, 25 Nov 2014 10:04:20 +0000 (11:04 +0100)
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

17 files changed:
distrib/sets/lists/minix/mi
minix/commands/atnormalize/Makefile
minix/commands/atnormalize/atnormalize.8 [new file with mode: 0644]
minix/commands/autopart/Makefile
minix/commands/autopart/autopart.8 [new file with mode: 0644]
minix/commands/decomp16/Makefile
minix/commands/decomp16/decomp16.1 [new file with mode: 0644]
minix/commands/devsize/Makefile
minix/commands/devsize/devsize.8 [new file with mode: 0644]
minix/commands/rawspeed/Makefile
minix/commands/rawspeed/rawspeed.8 [new file with mode: 0644]
minix/commands/rotate/Makefile
minix/commands/rotate/rotate.8 [new file with mode: 0644]
minix/commands/update_bootcfg/Makefile
minix/commands/update_bootcfg/update_bootcfg.8 [new file with mode: 0644]
minix/commands/updateboot/Makefile
minix/commands/updateboot/updateboot.8 [new file with mode: 0644]

index 98de10b36595e165fd4af7a07c5a2c0412490c9a..51917725ad55262ff6fb33b9882e133f44695c12 100644 (file)
 ./usr/man/man1/cut.1                   minix-sys
 ./usr/man/man1/date.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/df.1                    minix-sys
 ./usr/man/man1/dhrystone.1             minix-sys
 ./usr/man/man8                                 minix-sys
 ./usr/man/man8/add_route.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/boot.8                          minix-sys
 ./usr/man/man8/btrace.8                                minix-sys
 ./usr/man/man8/cleantmp.8                      minix-sys
 ./usr/man/man8/config.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/diskctl.8                       minix-sys
 ./usr/man/man8/fbdctl.8                                minix-sys
 ./usr/man/man8/pwdauth.8                       minix-sys
 ./usr/man/man8/pwd_mkdb.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/readclock.8                     minix-sys
 ./usr/man/man8/reboot.8                                minix-sys
 ./usr/man/man8/renice.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/screendump.8                    minix-sys
 ./usr/man/man8/serial-ip.8                     minix-sys
 ./usr/man/man8/unlink.8                                minix-sys
 ./usr/man/man8/unstr.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/user.8                          minix-sys
 ./usr/man/man8/useradd.8                       minix-sys
index 4b4b9bba444a81be5ba971205d0cac35a9158a93..bb8d4f9872530e46b4f9db1090f4d00e33160f86 100644 (file)
@@ -1,4 +1,4 @@
 PROG=  atnormalize
-MAN=
+MAN=   atnormalize.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/atnormalize/atnormalize.8 b/minix/commands/atnormalize/atnormalize.8
new file mode 100644 (file)
index 0000000..f397b59
--- /dev/null
@@ -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>
index 37ab9a324eb98a984b13d6ae52ba08232bb1405d..e4fdd7a00924905eee665a81a5db269bd0861aa7 100644 (file)
@@ -1,4 +1,4 @@
 PROG=  autopart
-MAN=
+MAN=   autopart.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/autopart/autopart.8 b/minix/commands/autopart/autopart.8
new file mode 100644 (file)
index 0000000..106f360
--- /dev/null
@@ -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>
index 70f4d3cd9e967bd2c45449add691af8beb033f65..de671e1142cfd7563f9c9c92a288ce2d7c50e6bc 100644 (file)
@@ -1,4 +1,3 @@
 PROG=  decomp16
-MAN=
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/decomp16/decomp16.1 b/minix/commands/decomp16/decomp16.1
new file mode 100644 (file)
index 0000000..18dbee4
--- /dev/null
@@ -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>
index e7f0eeefe7553f47ff515ebdc382e217a51096af..785d7b2697f37ea2555b26e70c29d724f7df81d7 100644 (file)
@@ -1,4 +1,4 @@
 PROG=  devsize
-MAN=
+MAN=   devsize.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/devsize/devsize.8 b/minix/commands/devsize/devsize.8
new file mode 100644 (file)
index 0000000..5693223
--- /dev/null
@@ -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>
index 3d75a42df4620a8afac071169d8bbfb7157c86ea..a8fca19f943ea300e4e30224d36e827e20a09900 100644 (file)
@@ -1,4 +1,4 @@
 PROG=  rawspeed
-MAN=
+MAN=   rawspeed.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/rawspeed/rawspeed.8 b/minix/commands/rawspeed/rawspeed.8
new file mode 100644 (file)
index 0000000..160d08e
--- /dev/null
@@ -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>
index b59ba3e5fb9315de394b9efbbf32c0b0e87722cc..9660c4b53ae04965c148fe5eaec8d00d131afa56 100644 (file)
@@ -1,4 +1,4 @@
-SCRIPTS= rotate.sh
-MAN=
+SCRIPTS=       rotate.sh
+MAN=           rotate.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/rotate/rotate.8 b/minix/commands/rotate/rotate.8
new file mode 100644 (file)
index 0000000..6fb18c1
--- /dev/null
@@ -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>
index 1583e49efced21c6ce878d44c5fc1bd38058ae43..9c75de2086c73c087bf9b2d96bb80e8816830c37 100644 (file)
@@ -1,5 +1,5 @@
-SCRIPTS= update_bootcfg.sh
-BINDIR= /bin
-MAN=
+SCRIPTS=       update_bootcfg.sh
+MAN=           update_bootcfg.8
+BINDIR=                /bin
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/update_bootcfg/update_bootcfg.8 b/minix/commands/update_bootcfg/update_bootcfg.8
new file mode 100644 (file)
index 0000000..c9a3200
--- /dev/null
@@ -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>
index 81200bda17eb32be1d983da792256822072223d7..e10395aba5c714f31780696566d0295497b2f480 100644 (file)
@@ -1,5 +1,5 @@
-SCRIPTS= updateboot.sh
-BINDIR= /bin
-MAN=
+SCRIPTS=       updateboot.sh
+MAN=           updateboot.8
+BINDIR=                /bin
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/updateboot/updateboot.8 b/minix/commands/updateboot/updateboot.8
new file mode 100644 (file)
index 0000000..94f4f21
--- /dev/null
@@ -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>