1997-08-11 13:08:29 +00:00
|
|
|
.\" Copyright (c) 1997
|
1999-09-02 00:51:16 +00:00
|
|
|
.\" Jordan Hubbard <jkh@FreeBSD.org>. All rights reserved.
|
1997-08-11 13:08:29 +00:00
|
|
|
.\"
|
|
|
|
.\" 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 Jordan Hubbard 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 Jordan Hubbard 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.
|
|
|
|
.\"
|
1999-08-28 01:35:59 +00:00
|
|
|
.\" $FreeBSD$
|
1997-08-11 13:08:29 +00:00
|
|
|
.\"
|
|
|
|
.Dd August 9, 1997
|
|
|
|
.Dt SYSINSTALL 8
|
2001-07-10 15:12:08 +00:00
|
|
|
.Os
|
1997-08-11 13:08:29 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm sysinstall
|
|
|
|
.Nd system installation and configuration tool
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar var=value
|
1997-08-18 21:10:26 +00:00
|
|
|
.Op Ar function
|
1997-08-11 13:08:29 +00:00
|
|
|
.Op Ar ...
|
|
|
|
.Sh DESCRIPTION
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
1997-08-11 13:08:29 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility is used for installing and configuring
|
1999-09-02 00:51:16 +00:00
|
|
|
.Fx
|
|
|
|
systems.
|
|
|
|
It is the first utility invoked by the
|
|
|
|
.Fx
|
|
|
|
installation boot
|
2002-12-20 00:10:37 +00:00
|
|
|
floppy and is also available as
|
|
|
|
.Pa /usr/sbin/sysinstall
|
1999-09-02 00:51:16 +00:00
|
|
|
on newly installed
|
|
|
|
.Fx
|
|
|
|
systems for use in later configuring the system.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility is generally invoked without arguments for the default
|
1997-08-18 21:10:26 +00:00
|
|
|
behavior, where the main installation/configuration menu is presented.
|
2000-12-27 14:22:05 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
On those occasions where it is deemed necessary to invoke a subsystem
|
|
|
|
of sysinstall directly, however, it is also possible to do so by
|
|
|
|
naming the appropriate function entry points on the command line.
|
|
|
|
Since this action is essentially identical to running an installation
|
1997-08-18 21:10:26 +00:00
|
|
|
script, each command-line argument corresponding to a line of script,
|
|
|
|
the reader is encouraged to read the section on scripting for more
|
1997-08-11 13:08:29 +00:00
|
|
|
information on this feature.
|
|
|
|
.Sh NOTES
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
1997-08-11 13:08:29 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility is essentially nothing more than a monolithic C program with
|
1997-08-11 13:08:29 +00:00
|
|
|
the ability to write MBRs and disk labels (through the services
|
|
|
|
of the
|
|
|
|
.Xr libdisk 3
|
|
|
|
library) and install distributions or packages onto new and
|
1999-09-02 00:51:16 +00:00
|
|
|
existing
|
|
|
|
.Fx
|
2004-07-02 23:13:00 +00:00
|
|
|
systems.
|
|
|
|
It also contains some extra intelligence
|
1997-08-11 13:08:29 +00:00
|
|
|
for running as a replacement for
|
|
|
|
.Xr init 8
|
1999-09-02 00:51:16 +00:00
|
|
|
when it's invoked by the
|
|
|
|
.Fx
|
2004-07-02 23:13:00 +00:00
|
|
|
installation boot procedure.
|
|
|
|
It
|
1997-08-11 13:08:29 +00:00
|
|
|
assumes very little in the way of additional utility support and
|
1997-08-18 21:10:26 +00:00
|
|
|
performs most file system operations by calling the relevant syscalls
|
1997-08-11 13:08:29 +00:00
|
|
|
(such as
|
|
|
|
.Xr mount 2 )
|
|
|
|
directly.
|
|
|
|
.Pp
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
1997-08-11 13:08:29 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility currently uses the
|
1999-08-18 05:55:22 +00:00
|
|
|
.Xr dialog 3
|
1997-08-11 13:08:29 +00:00
|
|
|
library to do user interaction with simple ANSI line graphics, color
|
|
|
|
support for which is enabled by either running on a syscons VTY or some
|
|
|
|
other color-capable terminal emulator (newer versions of xterm will support
|
1999-09-02 00:51:16 +00:00
|
|
|
color when using the
|
|
|
|
.Dq xterm-color
|
|
|
|
termcap entry).
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
|
|
|
This product is currently at the end of its life cycle and will
|
1999-08-17 10:57:18 +00:00
|
|
|
eventually be replaced.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Sh RUNNING SCRIPTS
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
1997-08-11 13:08:29 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility may be either driven interactively through its various internal menus
|
2004-07-02 23:13:00 +00:00
|
|
|
or run in batch mode, driven by an external script.
|
|
|
|
Such a script may
|
1997-08-11 13:08:29 +00:00
|
|
|
be loaded and executed in one of 3 ways:
|
2000-12-27 14:22:05 +00:00
|
|
|
.Bl -tag -width Ds
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Sy "LOAD_CONFIG_FILE"
|
|
|
|
If
|
|
|
|
.Nm
|
|
|
|
is compiled with LOAD_CONFIG_FILE set in the environment
|
|
|
|
(or in the Makefile) to some value, then that value will
|
|
|
|
be used as the filename to automatically look for and load
|
|
|
|
when
|
|
|
|
.Nm
|
1997-08-18 21:10:26 +00:00
|
|
|
starts up and with no user interaction required.
|
1997-08-11 13:08:29 +00:00
|
|
|
This option is aimed primarily at large sites who wish to create a
|
|
|
|
single prototype install for multiple machines with largely identical
|
|
|
|
configurations and/or installation options.
|
|
|
|
.It Sy "MAIN MENU"
|
|
|
|
If
|
|
|
|
.Nm
|
|
|
|
is run interactively, that is to say in the default manner, it will
|
|
|
|
bring up a main menu which contains a "load config file" option.
|
1997-08-18 21:10:26 +00:00
|
|
|
Selecting this option will prompt for the name of a script file which
|
|
|
|
it then will attempt to load from a DOS or UFS formatted floppy.
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Sy "COMMAND LINE"
|
1997-08-18 21:10:26 +00:00
|
|
|
Each command line argument is treated as a script directive
|
1997-08-11 13:08:29 +00:00
|
|
|
when
|
|
|
|
.Nm
|
2004-07-02 23:13:00 +00:00
|
|
|
is run in multi-user mode.
|
|
|
|
Execution ends either by explicit request
|
|
|
|
(e.g.\& calling the
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar shutdown
|
|
|
|
directive), upon reaching the end of the argument list or on error.
|
|
|
|
.Pp
|
|
|
|
For example:
|
2000-11-10 17:46:15 +00:00
|
|
|
.Bd -literal
|
2002-12-20 00:10:37 +00:00
|
|
|
/usr/sbin/sysinstall _ftpPath=ftp://ziggy/pub/ mediaSetFTP configPackages
|
2000-11-10 17:46:15 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
Would initialize
|
|
|
|
.Nm
|
|
|
|
for FTP installation media (using the server `ziggy') and then
|
1997-08-18 21:10:26 +00:00
|
|
|
bring up the package installation editor, exiting when finished.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.Sh SCRIPT SYNTAX
|
1997-08-18 21:10:26 +00:00
|
|
|
A script is a list of one or more directives, each directive taking
|
1997-08-11 13:08:29 +00:00
|
|
|
the form of:
|
2000-12-27 14:22:05 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar var=value
|
1997-08-18 21:10:26 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar function
|
1997-08-18 21:10:26 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
or
|
|
|
|
.Ar #somecomment
|
2000-12-27 14:22:05 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
Where
|
|
|
|
.Ar var=value
|
|
|
|
is the assignment of some internal
|
|
|
|
.Nm
|
2004-07-02 23:13:00 +00:00
|
|
|
variable, e.g.\& "ftpPass=FuNkYChiKn", and
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar function
|
|
|
|
is the name of an internal
|
|
|
|
.Nm
|
2004-07-02 23:13:00 +00:00
|
|
|
function, e.g.\& "mediaSetFTP", and
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar #comment
|
|
|
|
is a single-line comment for documentation purposes (ignored by
|
2004-07-02 23:13:00 +00:00
|
|
|
sysinstall).
|
|
|
|
Each directive must be by itself on a single line,
|
1997-08-18 21:10:26 +00:00
|
|
|
functions taking their arguments by examining known variable names.
|
|
|
|
This requires that you be sure to assign the relevant variables before
|
2001-04-26 20:10:01 +00:00
|
|
|
calling a function which requires them.
|
|
|
|
.Pp
|
2001-07-15 08:06:20 +00:00
|
|
|
The
|
2001-04-26 20:10:01 +00:00
|
|
|
.Ar noError
|
|
|
|
variable can be assigned before each directive: this will cause any error
|
2001-04-27 10:22:17 +00:00
|
|
|
detected while processing the directive itself to be ignored.
|
|
|
|
The value of
|
2001-04-26 20:10:01 +00:00
|
|
|
.Ar noError
|
|
|
|
will automatically reset to the default "unassigned" every time a directive is
|
|
|
|
processed.
|
|
|
|
.Pp
|
|
|
|
When and where a function depends on the settings of one or more variables
|
|
|
|
will be noted in the following table:
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy "Function Glossary" :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It configAnonFTP
|
|
|
|
Invoke the Anonymous FTP configuration menu.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It configRouter
|
|
|
|
Select which routing daemon you wish to use, potentially
|
|
|
|
loading any required 3rd-party routing daemons as necessary.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It router
|
|
|
|
can be set to the name of the desired routing daemon,
|
2001-08-10 13:45:36 +00:00
|
|
|
e.g.\&
|
1999-09-02 00:51:16 +00:00
|
|
|
.Dq routed
|
|
|
|
or
|
|
|
|
.Dq gated ,
|
|
|
|
otherwise it is prompted for.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It configNFSServer
|
|
|
|
Configure host as an NFS server.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It configNTP
|
|
|
|
Configure host as a user of the Network Time Protocol.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It ntpdate_flags
|
|
|
|
The flags to
|
|
|
|
.Xr ntpdate 8 ,
|
|
|
|
that is to say the name of the server to sync from.
|
|
|
|
.El
|
|
|
|
.It configPCNFSD
|
|
|
|
Configure host to support PC NFS.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It pcnfsd_pkg
|
|
|
|
The name of the PCNFSD package to load if necessary (defaults to hard coded
|
|
|
|
version).
|
|
|
|
.El
|
|
|
|
.It configPackages
|
|
|
|
Bring up the interactive package management menu.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It configUsers
|
|
|
|
Add users and/or groups to the system.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
2002-11-26 23:23:42 +00:00
|
|
|
.It configXSetup
|
1997-08-11 13:08:29 +00:00
|
|
|
Configure the X display subsystem.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
2002-11-26 23:23:42 +00:00
|
|
|
.It configXDesktop
|
|
|
|
Configure the X desktop.
|
|
|
|
.Pp
|
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It diskPartitionEditor
|
|
|
|
Invokes the disk partition (MBR) editor.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width findx
|
|
|
|
.It geometry
|
2004-07-02 23:13:00 +00:00
|
|
|
The disk geometry, as a cyls/heads/sectors formatted string.
|
|
|
|
Default: no
|
1997-08-11 13:08:29 +00:00
|
|
|
change to geometry.
|
|
|
|
.It partition
|
|
|
|
Set to disk partitioning type or size, its value being
|
|
|
|
.Ar free
|
1999-09-02 00:51:16 +00:00
|
|
|
in order to use only remaining free space for
|
|
|
|
.Fx ,
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar all
|
1999-09-02 00:51:16 +00:00
|
|
|
to use the entire disk for
|
|
|
|
.Fx
|
|
|
|
but maintain a proper partition
|
1997-08-11 13:08:29 +00:00
|
|
|
table,
|
|
|
|
.Ar existing
|
1999-09-02 00:51:16 +00:00
|
|
|
to use an existing
|
|
|
|
.Fx
|
|
|
|
partition (first found),
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar exclusive
|
1999-09-02 00:51:16 +00:00
|
|
|
to use the disk in
|
|
|
|
.Dq dangerously dedicated
|
|
|
|
mode or, finally,
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar somenumber
|
|
|
|
to allocate
|
|
|
|
.Ar somenumber
|
1999-09-02 00:51:16 +00:00
|
|
|
blocks of available free space to a new
|
|
|
|
.Fx
|
|
|
|
partition.
|
2004-07-03 18:35:53 +00:00
|
|
|
Default: Interactive mode.
|
1997-08-11 13:08:29 +00:00
|
|
|
.It bootManager
|
|
|
|
is set to one of
|
|
|
|
.Ar boot
|
|
|
|
to signify the installation of a boot manager,
|
|
|
|
.Ar standard
|
|
|
|
to signify installation of a "standard" non-boot MGR DOS
|
|
|
|
MBR or
|
|
|
|
.Ar none
|
|
|
|
to indicate that no change to the boot manager is desired.
|
|
|
|
Default: none.
|
2002-05-31 14:32:03 +00:00
|
|
|
.It diskInteractive
|
|
|
|
If set, bring up the interactive disk partition editor.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2003-01-01 18:49:04 +00:00
|
|
|
Note: Nothing is actually written to disk by this function, an explicit call to
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar diskPartitionWrite
|
|
|
|
being required for that to happen.
|
|
|
|
.It diskPartitionWrite
|
|
|
|
Causes any pending MBR changes (typically from the
|
1997-08-18 21:10:26 +00:00
|
|
|
.Ar diskPartitionEditor
|
|
|
|
function) to be written out.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It diskLabelEditor
|
2004-07-02 23:13:00 +00:00
|
|
|
Invokes the disk label editor.
|
|
|
|
This is a bit trickier from a script
|
1999-09-02 00:51:16 +00:00
|
|
|
since you need to essentially label everything inside each
|
|
|
|
.Fx
|
1997-08-11 13:08:29 +00:00
|
|
|
(type 0xA5) partition created by the
|
|
|
|
.Ar diskPartitionEditor
|
|
|
|
function, and that requires knowing a few rules about how things are
|
2004-07-02 23:13:00 +00:00
|
|
|
laid out.
|
|
|
|
When creating a script to automatically allocate disk space
|
1997-08-11 13:08:29 +00:00
|
|
|
and partition it up, it is suggested that you first perform the
|
|
|
|
installation interactively at least once and take careful notes as to
|
|
|
|
what the slice names will be, then and only then hardwiring them into
|
|
|
|
the script.
|
|
|
|
.Pp
|
|
|
|
For example, let's say you have a SCSI disk on which you've created a new
|
1999-09-02 00:51:16 +00:00
|
|
|
.Fx
|
|
|
|
partition in slice 2 (your DOS partition residing in slice 1).
|
1997-08-11 13:08:29 +00:00
|
|
|
The slice name would be
|
1998-11-21 21:45:27 +00:00
|
|
|
.Ar da0s2
|
1999-09-02 00:51:16 +00:00
|
|
|
for the whole
|
|
|
|
.Fx
|
|
|
|
partition
|
|
|
|
.Ar ( da0s1
|
1997-08-11 13:08:29 +00:00
|
|
|
being your DOS primary
|
2004-07-02 23:13:00 +00:00
|
|
|
partition).
|
|
|
|
Now let's further assume that you have 500MB in this
|
1997-08-11 13:08:29 +00:00
|
|
|
partition and you want to sub-partition that space into root, swap,
|
1999-09-02 00:51:16 +00:00
|
|
|
var and usr file systems for
|
|
|
|
.Fx .
|
|
|
|
Your invocation of the
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar diskLabelEditor
|
|
|
|
function might involve setting the following variables:
|
|
|
|
.Bl -tag -width findx
|
1998-11-21 21:45:27 +00:00
|
|
|
.It Li "da0s2-1=ufs 40960 /"
|
1997-08-11 13:08:29 +00:00
|
|
|
A 20MB root file system (all sizes are in 512 byte blocks).
|
1998-11-21 21:45:27 +00:00
|
|
|
.It Li "da0s2-2=swap 131072 /"
|
1997-08-11 13:08:29 +00:00
|
|
|
A 64MB swap partition.
|
1998-11-21 21:45:27 +00:00
|
|
|
.It Li "da0s2-3=ufs 204800 /var"
|
1997-08-11 13:08:29 +00:00
|
|
|
A 100MB /var file system.
|
2001-03-12 10:18:54 +00:00
|
|
|
.It Li "da0s2-4=ufs 0 /usr 1"
|
1997-08-11 13:08:29 +00:00
|
|
|
With the balance of free space (around 316MB) going to the /usr
|
2001-03-12 10:18:54 +00:00
|
|
|
file system and with soft-updates enabled (the argument following
|
|
|
|
the mount point, if non-zero, means to set the soft updates flag).
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
2000-12-27 14:22:05 +00:00
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
One can also use the
|
|
|
|
.Ar diskLabelEditor
|
|
|
|
for mounting or erasing existing partitions as well as creating new
|
2004-07-02 23:13:00 +00:00
|
|
|
ones.
|
|
|
|
Using the previous example again, let's say that we also wanted
|
1997-08-11 13:08:29 +00:00
|
|
|
to mount our DOS partition and make sure that an
|
|
|
|
.Pa /etc/fstab
|
2004-07-02 23:13:00 +00:00
|
|
|
entry is created for it in the new installation.
|
|
|
|
Before calling the
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar diskLabelEditor
|
|
|
|
function, we simply add an additional line:
|
2000-11-10 17:46:15 +00:00
|
|
|
.Pp
|
|
|
|
.Dl "da0s1=/dos_c N"
|
|
|
|
.Pp
|
2004-07-02 23:13:00 +00:00
|
|
|
before the call.
|
|
|
|
This tells the label editor that you want to mount
|
1997-08-11 13:08:29 +00:00
|
|
|
the first slice on
|
|
|
|
.Pa /dos_c
|
|
|
|
and not to attempt to newfs it (not that
|
|
|
|
.Nm
|
|
|
|
would attempt this for a DOS partition in any case, but it could just
|
|
|
|
as easily be an existing UFS partition being named here and the 2nd
|
|
|
|
field is non-optional).
|
|
|
|
.Pp
|
2002-05-31 14:32:03 +00:00
|
|
|
You can also set the
|
|
|
|
.Ar diskInteractive
|
|
|
|
variable to request that the disk label editor use an interactive dialog
|
|
|
|
to partition the disk instead of using variables to explicitly layout the
|
|
|
|
disk as described above.
|
|
|
|
.Pp
|
2004-07-03 18:35:53 +00:00
|
|
|
Note: No file system data is actually written to disk until an
|
1997-08-11 13:08:29 +00:00
|
|
|
explicit call to
|
|
|
|
.Ar diskLabelCommit
|
|
|
|
is made.
|
|
|
|
.It diskLabelCommit
|
|
|
|
Writes out all pending disklabel information and creates and/or mounts any
|
|
|
|
file systems which have requests pending from the
|
|
|
|
.Ar diskLabelEditor
|
|
|
|
function.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distReset
|
|
|
|
Resets all selected distributions to the empty set (no distributions selected).
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetCustom
|
2004-07-02 23:13:00 +00:00
|
|
|
Allows the selection of a custom distribution set (e.g.\& not just one of the
|
1997-08-11 13:08:29 +00:00
|
|
|
existing "canned" sets) with no user interaction.
|
2000-12-27 14:22:05 +00:00
|
|
|
.Pp
|
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It dists
|
2004-07-02 23:13:00 +00:00
|
|
|
List of distributions to load.
|
|
|
|
Possible distribution values are:
|
1999-09-02 00:51:16 +00:00
|
|
|
.Bl -tag -width indentxx
|
2004-02-07 00:34:11 +00:00
|
|
|
.It Li base
|
1997-08-11 13:08:29 +00:00
|
|
|
The base binary distribution.
|
|
|
|
.It Li doc
|
|
|
|
Miscellaneous documentation
|
|
|
|
.It Li games
|
|
|
|
Games
|
|
|
|
.It Li manpages
|
|
|
|
Manual pages (unformatted)
|
|
|
|
.It Li catpages
|
|
|
|
Pre-formatted manual pages
|
|
|
|
.It Li proflibs
|
|
|
|
Profiled libraries for developers.
|
|
|
|
.It Li dict
|
|
|
|
Dictionary information (for tools like spell).
|
|
|
|
.It Li info
|
|
|
|
GNU info files and other extra docs.
|
|
|
|
.It Li compat1x
|
1999-09-02 00:51:16 +00:00
|
|
|
Compatibility with
|
2000-11-24 11:17:28 +00:00
|
|
|
.Fx
|
|
|
|
1.x
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Li compat20
|
1999-09-02 00:51:16 +00:00
|
|
|
Compatibility with
|
|
|
|
.Fx 2.0
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Li compat21
|
1999-09-02 00:51:16 +00:00
|
|
|
Compatibility with
|
|
|
|
.Fx 2.1
|
|
|
|
.It Li compat22
|
|
|
|
.Fx 2.2
|
|
|
|
and
|
|
|
|
.Fx 3.0
|
|
|
|
a.out binary compatibility
|
|
|
|
.It Li compat3x
|
|
|
|
Compatibility with
|
2000-11-24 11:17:28 +00:00
|
|
|
.Fx
|
|
|
|
3.x
|
1999-09-02 00:51:16 +00:00
|
|
|
(available for
|
|
|
|
.Fx 4.0
|
|
|
|
systems only)
|
2001-02-09 19:01:49 +00:00
|
|
|
.It Li compat4x
|
|
|
|
Compatibility with
|
|
|
|
.Fx
|
|
|
|
4.x
|
|
|
|
(available for
|
|
|
|
.Fx 5.0
|
|
|
|
systems only)
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Li ports
|
|
|
|
The ports collection.
|
|
|
|
.It Li ssecure
|
|
|
|
/usr/src/secure
|
|
|
|
.It Li sbase
|
|
|
|
/usr/src/[top level files]
|
|
|
|
.It Li scontrib
|
|
|
|
/usr/src/contrib
|
|
|
|
.It Li sgnu
|
|
|
|
/usr/src/gnu
|
|
|
|
.It Li setc
|
|
|
|
/usr/src/etc
|
|
|
|
.It Li sgames
|
|
|
|
/usr/src/games
|
|
|
|
.It Li sinclude
|
|
|
|
/usr/src/include
|
2003-05-22 18:41:16 +00:00
|
|
|
.It Li skrb5
|
|
|
|
/usr/src/kerberos5
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Li slib
|
|
|
|
/usr/src/lib
|
|
|
|
.It Li slibexec
|
|
|
|
/usr/src/libexec
|
|
|
|
.It Li srelease
|
|
|
|
/usr/src/release
|
|
|
|
.It Li sbin
|
|
|
|
/usr/src/bin
|
|
|
|
.It Li ssbin
|
|
|
|
/usr/src/sbin
|
|
|
|
.It Li sshare
|
|
|
|
/usr/src/share
|
|
|
|
.It Li ssys
|
|
|
|
/usr/src/sys
|
|
|
|
.It Li subin
|
|
|
|
/usr/src/usr.bin
|
|
|
|
.It Li susbin
|
|
|
|
/usr/src/usr.sbin
|
|
|
|
.It Li ssmailcf
|
|
|
|
/usr/src/usr.sbin/sendmail/cf
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xbin
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org client applications.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xlib
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org libraries.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xman
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org manual pages.
|
|
|
|
.It Li Xdoc
|
|
|
|
X.Org protocol and library documentation.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xprog
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org imake distribution.
|
|
|
|
.It Li Xsrv
|
|
|
|
X.Org X server.
|
|
|
|
.It Li Xnest
|
|
|
|
X.Org nested X server.
|
|
|
|
.It Li Xprt
|
|
|
|
X.Org print server.
|
|
|
|
.It Li Xvfb
|
|
|
|
X.Org virtual frame-buffer X server.
|
|
|
|
.It Li Xfmsc
|
|
|
|
X.Org miscellaneous font set.
|
|
|
|
.It Li Xf75
|
|
|
|
X.Org 75DPI font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xf100
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org 100DPI font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfcyr
|
2004-08-10 02:18:28 +00:00
|
|
|
X.Org Cyrillic font set.
|
|
|
|
.It Li Xft1
|
|
|
|
X.Org Type 1 font set.
|
|
|
|
.It Li Xftt
|
|
|
|
X.Org TrueType font set.
|
|
|
|
.It Li Xfs
|
|
|
|
X.Org font server.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
2000-12-27 14:22:05 +00:00
|
|
|
.El
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetDeveloper
|
|
|
|
Selects the standard Developer's distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetXDeveloper
|
|
|
|
Selects the standard X Developer's distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetKernDeveloper
|
|
|
|
Selects the standard kernel Developer's distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetUser
|
|
|
|
Selects the standard user distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetXUser
|
|
|
|
Selects the standard X user's distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetMinimum
|
|
|
|
Selects the very minimum distribution set.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetEverything
|
|
|
|
Selects the full whack - all available distributions.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetSrc
|
|
|
|
Interactively select source subcomponents.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
2004-08-10 02:18:28 +00:00
|
|
|
.It distSetXOrg
|
|
|
|
Interactively select X.Org subcomponents.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distExtractAll
|
|
|
|
Install all currently selected distributions (requires that
|
|
|
|
media device also be selected).
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It docBrowser
|
|
|
|
Install (if necessary) an HTML documentation browser and go to the
|
|
|
|
HTML documentation submenu.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It browserPackage
|
|
|
|
The name of the browser package to try and install as necessary.
|
2001-03-23 07:53:45 +00:00
|
|
|
Defaults to latest links package.
|
1997-08-11 13:08:29 +00:00
|
|
|
.It browserBinary
|
|
|
|
The name of the browser binary itself (if overriding the
|
|
|
|
.Ar browserPackage
|
2004-07-02 23:13:00 +00:00
|
|
|
variable).
|
|
|
|
Defaults to links.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It installCommit
|
2004-07-02 23:13:00 +00:00
|
|
|
Commit any and all pending changes to disk.
|
|
|
|
This function
|
1997-08-11 13:08:29 +00:00
|
|
|
is essentially shorthand for a number of more granular "commit"
|
|
|
|
functions.
|
1999-09-02 00:51:16 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installExpress
|
|
|
|
Start an "express" installation, asking few questions of
|
|
|
|
the user.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
2000-02-18 07:09:45 +00:00
|
|
|
.It installStandard
|
|
|
|
Start a "standard" installation, the most user-friendly
|
1997-08-11 13:08:29 +00:00
|
|
|
installation type available.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installUpgrade
|
|
|
|
Start an upgrade installation.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installFixitHoloShell
|
|
|
|
Start up the "emergency holographic shell" over on VTY4
|
2004-07-02 23:13:00 +00:00
|
|
|
if running as init.
|
|
|
|
This will also happen automatically
|
2001-03-12 21:26:06 +00:00
|
|
|
as part of the installation process unless
|
|
|
|
.Ar noHoloShell
|
|
|
|
is set.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installFixitCDROM
|
|
|
|
Go into "fixit" mode, assuming a live file system CDROM
|
|
|
|
currently in the drive.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installFixitFloppy
|
|
|
|
Go into "fixit" mode, assuming an available fixit floppy
|
|
|
|
disk (user will be prompted for it).
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installFilesystems
|
|
|
|
Do just the file system initialization part of an install.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It installVarDefaults
|
|
|
|
Initialize all variables to their defaults, overriding any
|
|
|
|
previous settings.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-09-08 11:09:11 +00:00
|
|
|
.It loadConfig
|
|
|
|
Sort of like an #include statement, it allows you to load one
|
|
|
|
configuration file from another.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-09-08 11:09:11 +00:00
|
|
|
.Bl -tag -width indent
|
2001-03-18 05:38:11 +00:00
|
|
|
.It configFile
|
|
|
|
The fully qualified pathname of the file to load.
|
1997-09-08 11:09:11 +00:00
|
|
|
.El
|
2002-06-03 19:39:28 +00:00
|
|
|
.It mediaClose
|
|
|
|
If a media device is open, close it.
|
|
|
|
.Pp
|
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetCDROM
|
1999-09-02 00:51:16 +00:00
|
|
|
Select a
|
|
|
|
.Fx
|
|
|
|
CDROM as the installation media.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetFloppy
|
|
|
|
Select a pre-made floppy installation set as the installation media.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetDOS
|
|
|
|
Select an existing DOS primary partition as the installation media.
|
2004-07-02 23:13:00 +00:00
|
|
|
The first primary partition found is used (e.g.\& C:).
|
1997-08-11 13:08:29 +00:00
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetTape
|
|
|
|
Select a tape device as the installation media.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetFTP
|
|
|
|
Select an FTP site as the installation media.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It hostname
|
1997-09-17 13:33:14 +00:00
|
|
|
The name of the host being installed (non-optional).
|
1997-08-11 13:08:29 +00:00
|
|
|
.It domainname
|
|
|
|
The domain name of the host being installed (optional).
|
|
|
|
.It defaultrouter
|
|
|
|
The default router for this host (non-optional).
|
|
|
|
.It netDev
|
1999-09-02 00:51:16 +00:00
|
|
|
Which host interface to use
|
|
|
|
.Ar ( ed0
|
1997-08-11 13:08:29 +00:00
|
|
|
or
|
|
|
|
.Ar ep0 ,
|
2004-07-02 23:13:00 +00:00
|
|
|
for example.
|
|
|
|
Non-optional).
|
1997-09-17 13:33:14 +00:00
|
|
|
.It netInteractive
|
|
|
|
If set, bring up the interactive network setup form even
|
|
|
|
if all relevant configuration variables are already set (optional).
|
1997-08-11 13:08:29 +00:00
|
|
|
.It ipaddr
|
|
|
|
The IP address for the selected host interface (non-optional).
|
|
|
|
.It netmask
|
|
|
|
The netmask for the selected host interface (non-optional).
|
1999-02-18 23:59:58 +00:00
|
|
|
.It _ftpPath
|
1999-09-02 00:51:16 +00:00
|
|
|
The fully qualified URL of the FTP site containing the
|
|
|
|
.Fx
|
2001-08-10 13:45:36 +00:00
|
|
|
distribution you're interested in, e.g.\&
|
1999-09-02 00:51:16 +00:00
|
|
|
.Ar ftp://ftp.FreeBSD.org/pub/FreeBSD/ .
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It mediaSetFTPActive
|
|
|
|
Alias for
|
|
|
|
.Ar mediaSetFTP
|
|
|
|
using "active" FTP transfer mode.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
Same as for
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar mediaSetFTP .
|
|
|
|
.It mediaSetFTPPassive
|
|
|
|
Alias for
|
|
|
|
.Ar mediaSetFTP
|
|
|
|
using "passive" FTP transfer mode.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
Same as for
|
1997-08-11 13:08:29 +00:00
|
|
|
.Ar mediaSetFTP .
|
2000-01-25 05:56:49 +00:00
|
|
|
.It mediaSetHTTP
|
|
|
|
Alias for
|
|
|
|
.Ar mediaSetFTP
|
|
|
|
using an HTTP proxy.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
See
|
2000-01-25 05:56:49 +00:00
|
|
|
.Ar mediaSetFTP ,
|
|
|
|
plus
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It _httpPath
|
|
|
|
The proxy to use (host:port) (non-optional).
|
|
|
|
.El
|
1997-08-11 13:08:29 +00:00
|
|
|
.It mediaSetUFS
|
|
|
|
Select an existing UFS partition (mounted with the label editor) as
|
|
|
|
the installation media.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It ufs
|
1999-09-02 00:51:16 +00:00
|
|
|
full /path to directory containing the
|
|
|
|
.Fx
|
|
|
|
distribution you're
|
1997-08-11 13:08:29 +00:00
|
|
|
interested in.
|
|
|
|
.El
|
|
|
|
.It mediaSetNFS
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It hostname
|
1997-09-17 13:33:14 +00:00
|
|
|
The name of the host being installed (non-optional).
|
1997-08-11 13:08:29 +00:00
|
|
|
.It domainname
|
|
|
|
The domain name of the host being installed (optional).
|
|
|
|
.It defaultrouter
|
|
|
|
The default router for this host (non-optional).
|
|
|
|
.It netDev
|
1999-09-02 00:51:16 +00:00
|
|
|
Which host interface to use
|
|
|
|
.Ar ( ed0
|
1997-08-11 13:08:29 +00:00
|
|
|
or
|
|
|
|
.Ar ep0 ,
|
2004-07-02 23:13:00 +00:00
|
|
|
for example.
|
|
|
|
Non-optional).
|
1997-09-17 13:33:14 +00:00
|
|
|
.It netInteractive
|
|
|
|
If set, bring up the interactive network setup form even
|
|
|
|
if all relevant configuration variables are already set (optional).
|
1997-08-11 13:08:29 +00:00
|
|
|
.It ipaddr
|
|
|
|
The IP address for the selected host interface (non-optional).
|
|
|
|
.It netmask
|
|
|
|
The netmask for the selected host interface (non-optional).
|
|
|
|
.It nfs
|
|
|
|
full hostname:/path specification for directory containing
|
1999-09-02 00:51:16 +00:00
|
|
|
the
|
|
|
|
.Fx
|
|
|
|
distribution you're interested in.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It mediaSetFTPUserPass
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It ftpUser
|
|
|
|
The username to log in as on the ftp server site.
|
|
|
|
Default: ftp
|
|
|
|
.It ftpPass
|
|
|
|
The password to use for this username on the ftp
|
|
|
|
server site.
|
|
|
|
Default: user@host
|
|
|
|
.El
|
|
|
|
.It mediaSetCPIOVerbosity
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It cpioVerbose
|
|
|
|
Can be used to set the verbosity of cpio extractions to low, medium or
|
|
|
|
high.
|
|
|
|
.El
|
|
|
|
.It mediaGetType
|
|
|
|
Interactively get the user to specify some type of media.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It optionsEditor
|
|
|
|
Invoke the interactive options editor.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It packageAdd
|
|
|
|
Try to fetch and add a package to the system (requires
|
|
|
|
that a media type be set),
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It package
|
2004-07-02 23:13:00 +00:00
|
|
|
The name of the package to add, e.g.\& bash-1.14.7 or ncftp-2.4.2.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It addGroup
|
|
|
|
Invoke the interactive group editor.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It addUser
|
|
|
|
Invoke the interactive user editor.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It shutdown
|
|
|
|
Stop the script and terminate sysinstall.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It system
|
|
|
|
Execute an arbitrary command with
|
|
|
|
.Xr system 3
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
1997-08-11 13:08:29 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It command
|
2004-07-02 23:13:00 +00:00
|
|
|
The name of the command to execute.
|
|
|
|
When running
|
1997-08-11 13:08:29 +00:00
|
|
|
from a boot floppy, very minimal expectations should
|
|
|
|
be made as to what's available until/unless a relatively
|
|
|
|
full system installation has just been done.
|
|
|
|
.El
|
2002-05-31 14:32:03 +00:00
|
|
|
.It tcpMenuSelect
|
|
|
|
Configure a network device.
|
|
|
|
.Pp
|
|
|
|
.Sy Variables :
|
|
|
|
Same as for
|
|
|
|
.Ar mediaSetFTP
|
|
|
|
except that
|
|
|
|
.Ar _ftpPath
|
|
|
|
is not used.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
2002-06-05 00:34:58 +00:00
|
|
|
.Sh DISTRIBUTION MEDIA
|
|
|
|
The following files can be used to affect the operation of
|
|
|
|
.Nm
|
|
|
|
when used during initial system installation.
|
|
|
|
.Bl -tag -width ".Pa packages/INDEX"
|
|
|
|
.It Pa cdrom.inf
|
|
|
|
A text file of properties, listed one per line, that describe the
|
|
|
|
contents of the media in use.
|
|
|
|
The syntax for each line is simply
|
|
|
|
.Dq Ar property No = Ar value .
|
|
|
|
Currently, only the following properties are recognized.
|
|
|
|
.Bl -tag -width ".Va CD_MACHINE_ARCH"
|
|
|
|
.It Va CD_VERSION
|
|
|
|
This property should be set to the
|
|
|
|
.Fx
|
|
|
|
version on the current
|
|
|
|
media volume.
|
|
|
|
For example,
|
|
|
|
.Dq Li "CD_VERSION = 4.6" .
|
|
|
|
.It Va CD_MACHINE_ARCH
|
|
|
|
This property should be set to the architecture of the contents on
|
|
|
|
this volume.
|
|
|
|
This property is normally only used with
|
|
|
|
.Fx
|
|
|
|
products that contain
|
|
|
|
CDs for different architectures, to provide better error messages if
|
|
|
|
users try to install Alpha packages on an i386 machine.
|
|
|
|
For example,
|
|
|
|
.Dq Li "CD_MACHINE_ARCH = alpha" .
|
|
|
|
.It Va VOLUME
|
|
|
|
In a multi-volume collection (such as the
|
|
|
|
.Fx
|
|
|
|
4-CD set), the
|
|
|
|
.Pa ports/INDEX
|
|
|
|
file on each disc should contain the full package index for the set.
|
|
|
|
The last field of the
|
|
|
|
.Pa INDEX
|
|
|
|
file denotes which volume the package
|
|
|
|
appears on, and the
|
|
|
|
.Va VOLUME
|
|
|
|
property here defines the volume ID of the current disc.
|
|
|
|
.El
|
|
|
|
.It Pa packages/INDEX
|
|
|
|
The package index file.
|
|
|
|
Each package is listed on a separate line with additional meta-data
|
|
|
|
such as the required dependencies.
|
|
|
|
This index is generated by
|
|
|
|
.Dq Li "make index"
|
|
|
|
from the
|
|
|
|
.Xr ports 7
|
|
|
|
collection.
|
|
|
|
When multi-volume support is enabled, an additional field should be
|
|
|
|
added to each line indicating which media volume contains the given
|
|
|
|
package.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
For information about building a full release of
|
|
|
|
.Fx ,
|
|
|
|
please see
|
|
|
|
.Xr release 7 .
|
1997-08-11 13:08:29 +00:00
|
|
|
.Sh FILES
|
|
|
|
This utility may edit the contents of
|
|
|
|
.Pa /etc/rc.conf ,
|
|
|
|
.Pa /etc/hosts ,
|
|
|
|
and
|
|
|
|
.Pa /etc/resolv.conf
|
|
|
|
as necessary to reflect changes in the network configuration.
|
1997-08-11 13:20:38 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
If you have a reasonably complete source tree online, take
|
|
|
|
a look at
|
2001-01-17 19:52:16 +00:00
|
|
|
.Pa /usr/src/usr.sbin/sysinstall/install.cfg
|
1997-08-11 13:20:38 +00:00
|
|
|
for a sample installation script.
|
1997-08-11 13:08:29 +00:00
|
|
|
.Sh BUGS
|
1999-08-17 10:57:18 +00:00
|
|
|
This utility is a prototype which lasted several years past
|
1997-08-11 13:08:29 +00:00
|
|
|
its expiration date and is greatly in need of death.
|
1999-08-17 10:57:18 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Jordan K. Hubbard Aq jkh@FreeBSD.org
|
1997-08-11 13:08:29 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
This version of
|
|
|
|
.Nm
|
|
|
|
first appeared in
|
|
|
|
.Fx 2.0 .
|