Module Name: src Committed By: martin Date: Wed Feb 19 21:42:54 UTC 2020
Modified Files: src/share/man/man8: Makefile src/usr.sbin/sysinst: Makefile.inc Added Files: src/usr.sbin/sysinst: sysinst.8 Removed Files: src/share/man/man8: sysinst.8 Log Message: Move sysinst man page next to the source To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/share/man/man8/Makefile cvs rdiff -u -r1.6 -r0 src/share/man/man8/sysinst.8 cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/Makefile.inc cvs rdiff -u -r0 -r1.1 src/usr.sbin/sysinst/sysinst.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man8/Makefile diff -u src/share/man/man8/Makefile:1.109 src/share/man/man8/Makefile:1.110 --- src/share/man/man8/Makefile:1.109 Wed Jun 12 09:03:32 2019 +++ src/share/man/man8/Makefile Wed Feb 19 21:42:54 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.109 2019/06/12 09:03:32 mrg Exp $ +# $NetBSD: Makefile,v 1.110 2020/02/19 21:42:54 martin Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/5/93 MAN= MAKEDEV.8 MAKEDEV.local.8 afterboot.8 boot.8 compat_30.8 \ @@ -8,7 +8,7 @@ MAN= MAKEDEV.8 MAKEDEV.local.8 afterboot creds_msdos.8 \ diskless.8 hpcboot.8 \ intro.8 nis.8 pam.8 rc.8 rc.subr.8 rescue.8 \ - sysinst.8 veriexec.8 \ + veriexec.8 \ wizd.8 MLINKS+=MAKEDEV.8 makedev.8 MLINKS+=MAKEDEV.local.8 makedev.local.8 Index: src/usr.sbin/sysinst/Makefile.inc diff -u src/usr.sbin/sysinst/Makefile.inc:1.31 src/usr.sbin/sysinst/Makefile.inc:1.32 --- src/usr.sbin/sysinst/Makefile.inc:1.31 Mon Dec 16 13:48:44 2019 +++ src/usr.sbin/sysinst/Makefile.inc Wed Feb 19 21:42:53 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.31 2019/12/16 13:48:44 martin Exp $ +# $NetBSD: Makefile.inc,v 1.32 2020/02/19 21:42:53 martin Exp $ # # Makefile for sysinst @@ -7,7 +7,7 @@ .endif PROG= sysinst -NOMAN= # defined +MAN= sysinst.8 WARNS= 4 Added files: Index: src/usr.sbin/sysinst/sysinst.8 diff -u /dev/null src/usr.sbin/sysinst/sysinst.8:1.1 --- /dev/null Wed Feb 19 21:42:54 2020 +++ src/usr.sbin/sysinst/sysinst.8 Wed Feb 19 21:42:54 2020 @@ -0,0 +1,125 @@ +.\" $NetBSD: sysinst.8,v 1.1 2020/02/19 21:42:54 martin Exp $ +.\" +.\" Copyright (c) 2007 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``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 FOUNDATION OR CONTRIBUTORS +.\" 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 June 30, 2012 +.Dt SYSINST 8 +.Os +.Sh NAME +.Nm sysinst +.Nd install or upgrade a NetBSD system +.Sh SYNOPSIS +.Nm +.Op Fl D +.Op Fl f Ar definition_file +.Op Fl r Ar release +.Sh DESCRIPTION +.Nm +is a menu-based program that may be used to install or upgrade a +.Nx +system. +It +is usually invoked automatically when the system is booted +from appropriate installation media. +.Pp +.Nm +is usually not present on a +.Nx +system that has been fully installed. +.Pp +The following options are available: +.Bl -tag -width XfXdefinition_fileXX +.It Fl D +Switch on debugging. +.It Fl f Ar definition_file +Use +.Ar definition_file +as a file for definitions other than the defaults. +See the +.Sx DEFINITION FILE +section for its format. +.It Fl r Ar release +Use +.Ar release +as the release name if it is different to the one compiled. +Currently unused. +.El +.Sh DEFINITION FILE +A definition file can be used with +.Nm +to control several aspects of the installation or upgrade process. +Options can be stored within the file as +.Dl option = value +pairs. +Options include the following, shown with their defaults +as well as a description +.Dq ( REL +and +.Dq MACH +are the release and architecture +respectively, as determined by the image +.Nm +is used on): +.Bl -column "targetroot mount" "pub/NetBSD/NetBSD-REL" +.It Sy "option name" Ta Sy "default value" Ta Sy "description" +.It release Ta REL Ta Release name (also set by Fl r Ar release ) +.It machine Ta MACH Ta Machine architecture +.It xfer dir Ta /usr/INSTALL Ta Transfer dir +.It ext dir Ta "" Ta Extract dir (will usually be set later on) +.It ftp host Ta "ftp.NetBSD.org" Ta FTP host for fetching files +.It ftp dir Ta "pub/NetBSD/NetBSD-REL" Ta FTP directory for fetching files +.It ftp prefix Ta "/MACH/binary/sets" Ta Directory to look for sets, +used for all methods of fetching (i.e., not just FTP) +.It ftp user Ta "ftp" Ta FTP user for connecting +.It ftp pass Ta "-" Ta FTP password +.It ftp proxy Ta "-" Ta FTP proxy +.It nfs host Ta "-" Ta NFS host for fetching via NFS +.It nfs dir Ta "/bsd/release" Ta NFS directory for fetching files +.It cd dev Ta "cd0a" Ta Name of CD device for fetching files +.It fd dev Ta "/dev/fd0a" Ta Name of floppy device for fetching files +.It local dev Ta "-" Ta Other device to be mounted for fetching files +.It local fs Ta "ffs" Ta File system type for local device +.It local dir Ta "release" Ta Directory to look for in the mounted local file system +.It targetroot mount Ta "/targetroot" Ta Directory to mount target root dir to +.It dist postfix Ta ".tgz" Ta Suffix of set files to be extracted +.It diskname Ta "mydisk" Ta Xr disktab 5 diskname to use for target disk +.El +.Sh SEE ALSO +.Xr release 7 , +.Xr afterboot 8 , +.Xr boot 8 , +.Xr diskless 8 +.Pp +.Em <machine> Ns Pa /INSTALL.* +files on CD-ROM installation media +.Pa .../NetBSD- Ns Em <rel> Ns Pa / Ns Em <machine> Ns Pa /INSTALL.* +files in +.Nx +releases or snapshots. +.Sh HISTORY +A +.Nm +command appeared in +.Nx 1.3 .