Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src add a simple binstall(8). hi wiz!



details:   https://anonhg.NetBSD.org/src/rev/7dcbf9462e78
branches:  trunk
changeset: 520260:7dcbf9462e78
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 06 07:44:11 2002 +0000

description:
add a simple binstall(8).  hi wiz!

diffstat:

 distrib/sets/lists/man/mi            |   4 +-
 share/man/man8/man8.sparc/Makefile   |   4 +-
 share/man/man8/man8.sparc/binstall.8 |  99 ++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 3 deletions(-)

diffs (141 lines):

diff -r 894bfe89a7c4 -r 7dcbf9462e78 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sun Jan 06 07:01:20 2002 +0000
+++ b/distrib/sets/lists/man/mi Sun Jan 06 07:44:11 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.440 2002/01/04 15:33:01 bjh21 Exp $
+# $NetBSD: mi,v 1.441 2002/01/06 07:44:12 mrg Exp $
 ./usr/share/info/am-utils.info                 man-amd-info
 ./usr/share/info/as.info                       man-computil-info
 ./usr/share/info/awk.info                      man-util-info
@@ -1593,6 +1593,7 @@
 ./usr/share/man/cat8/smtp.0                    man-postfix-catman
 ./usr/share/man/cat8/smtpd.0                   man-postfix-catman
 ./usr/share/man/cat8/sparc/MAKEDEV.0           man-sysutil-catman
+./usr/share/man/cat8/sparc/binstall.0          man-sysutil-catman
 ./usr/share/man/cat8/sparc/boot.0              man-sys-catman
 ./usr/share/man/cat8/sparc/installboot.0       man-sysutil-catman
 ./usr/share/man/cat8/sparc/makedev.0           man-sysutil-catman
@@ -3257,6 +3258,7 @@
 ./usr/share/man/man8/smtp.8                    man-postfix-man
 ./usr/share/man/man8/smtpd.8                   man-postfix-man
 ./usr/share/man/man8/sparc/MAKEDEV.8           man-sysutil-man
+./usr/share/man/man8/sparc/binstall.8          man-sys-man
 ./usr/share/man/man8/sparc/boot.8              man-sys-man
 ./usr/share/man/man8/sparc/installboot.8       man-sysutil-man
 ./usr/share/man/man8/sparc/makedev.8           man-sysutil-man
diff -r 894bfe89a7c4 -r 7dcbf9462e78 share/man/man8/man8.sparc/Makefile
--- a/share/man/man8/man8.sparc/Makefile        Sun Jan 06 07:01:20 2002 +0000
+++ b/share/man/man8/man8.sparc/Makefile        Sun Jan 06 07:44:11 2002 +0000
@@ -1,7 +1,7 @@
 #      @(#)Makefile    5.1 (Berkeley) 3/22/91
-#      $NetBSD: Makefile,v 1.8 1998/12/22 02:34:09 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2002/01/06 07:44:11 mrg Exp $
 
-MAN=   MAKEDEV.8 boot.8 installboot.8
+MAN=   MAKEDEV.8 boot.8 installboot.8 binstall.8
 MLINKS=        MAKEDEV.8 makedev.8
 MANSUBDIR=/sparc
 
diff -r 894bfe89a7c4 -r 7dcbf9462e78 share/man/man8/man8.sparc/binstall.8
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man8/man8.sparc/binstall.8      Sun Jan 06 07:44:11 2002 +0000
@@ -0,0 +1,99 @@
+.\"    $NetBSD: binstall.8,v 1.1 2002/01/06 07:44:11 mrg Exp $
+.\"
+.\" Copyright (c) 2002 Matthew R. Green
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\"    derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd January 6, 2002
+.Dt BINSTALL 8
+.Os
+.Sh NAME
+.Nm /usr/mdec/binstall
+.Nd install sparc and sparc64 boot blocks
+.Sh SYNOPSIS
+.Nm
+.Op Fl huUvt
+.Op Fl b Ar bootprog
+.Op Fl f Ar filesystem
+.Op Fl m Ar mdec
+.Op Fl i Ar installbootprog
+.Op "net"|"ffs"
+.Op directory
+.Sh DESCRIPTION
+The
+.Nm
+program prepares a sparc or sparc64 system for booting, either from local
+disk from a
+.Dq ffs
+partition or over the network.  The default type of boot block installed
+is derived from the host system.  If it is an UltraSPARC, the sparc64
+boot blocks will be used, otherwise the SPARC boot blocks will be used.
+.Nm can be forced to prepare a disk for either.
+.Sh OPTIONS
+The following options are available:
+.Bl -tag -width 123456
+.It Fl h
+Display help.
+.It Fl u
+Install sparc64 (UltraSPARC) boot blocks.
+.It Fl U
+Install sparc (SPARC) boot blocks.
+.It Fl v
+Be verbose.
+.It Fl t
+Test mode; does not run any program.  Implies the
+.Fl t
+option.
+.It Fl b
+Set the second stage boot program to
+.Ar bootprog .
+This will typically be
+.Pa boot.net
+for sparc systems and
+.Pa ofwboot.net
+for sparc64 systems.
+.It Fl f
+Set the path to the filesystem being installed for to
+.Ar filesystem .
+This is otherwise derived from the 
+.Op directory .
+.It Fl m
+Sets the path to the machine dependant directory to
+.Ar mdec .
+This is the directory that both the boot blocks and the
+.Xr installboot 8
+program live.
+.It Fl i
+Set the path to the
+.Xr installboot 8
+program to
+.Ar installbootprog .
+This is useful for using
+.Nm
+on non-sparc or sparc64 systems.
+.El
+.Sh SEE ALSO
+.Xr disklabel 8 ,
+.Xr installboot 8



Home | Main Index | Thread Index | Old Index