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
|
1997-08-11 13:08:29 +00:00
|
|
|
floppy and is also copied into
|
1997-08-18 21:10:26 +00:00
|
|
|
.Pa /stand/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
|
|
|
|
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
|
|
|
|
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
|
1997-08-18 21:10:26 +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
|
|
|
|
is run in multi-user mode. Execution ends either by explicit request
|
|
|
|
(e.g. calling the
|
|
|
|
.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
|
1999-09-02 00:51:16 +00:00
|
|
|
/stand/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
|
|
|
|
variable, e.g. "ftpPass=FuNkYChiKn", and
|
|
|
|
.Ar function
|
|
|
|
is the name of an internal
|
|
|
|
.Nm
|
|
|
|
function, e.g. "mediaSetFTP", and
|
|
|
|
.Ar #comment
|
|
|
|
is a single-line comment for documentation purposes (ignored by
|
1997-08-18 21:10:26 +00:00
|
|
|
sysinstall). Each directive must be by itself on a single line,
|
|
|
|
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
|
|
|
|
The disk geometry, as a cyls/heads/sectors formatted string. Default: no
|
|
|
|
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.
|
1997-08-11 13:08:29 +00:00
|
|
|
Default: Interactive mode.
|
|
|
|
.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
|
|
|
|
Note: Nothing is actually written to disk by this function, a explicit call to
|
|
|
|
.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
|
|
|
|
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
|
|
|
|
laid out. When creating a script to automatically allocate disk space
|
|
|
|
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
|
|
|
|
partition). Now let's further assume that you have 500MB in this
|
|
|
|
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
|
|
|
|
ones. Using the previous example again, let's say that we also wanted
|
|
|
|
to mount our DOS partition and make sure that an
|
|
|
|
.Pa /etc/fstab
|
|
|
|
entry is created for it in the new installation. Before calling the
|
|
|
|
.Ar diskLabelEditor
|
|
|
|
function, we simply add an additional line:
|
2000-11-10 17:46:15 +00:00
|
|
|
.Pp
|
|
|
|
.Dl "da0s1=/dos_c N"
|
|
|
|
.Pp
|
1997-08-11 13:08:29 +00:00
|
|
|
before the call. This tells the label editor that you want to mount
|
|
|
|
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
|
1997-08-11 13:08:29 +00:00
|
|
|
Note: No file system data is actually written to disk until an
|
|
|
|
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
|
|
|
|
Allows the selection of a custom distribution set (e.g. not just on of the
|
|
|
|
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
|
|
|
|
List of distributions to load. Possible distribution values are:
|
1999-09-02 00:51:16 +00:00
|
|
|
.Bl -tag -width indentxx
|
1997-08-11 13:08:29 +00:00
|
|
|
.It Li bin
|
|
|
|
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.
|
2000-02-29 09:09:36 +00:00
|
|
|
.It Li crypto
|
|
|
|
Encryption binaries and libraries.
|
1997-08-11 13:08:29 +00:00
|
|
|
.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.
|
1999-09-19 22:30:39 +00:00
|
|
|
.It Li krb4
|
|
|
|
KerberosIV binaries.
|
2000-06-25 10:48:40 +00:00
|
|
|
.It Li krb5
|
|
|
|
Kerberos5 binaries.
|
1997-08-11 13:08:29 +00:00
|
|
|
.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
|
|
|
|
.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
|
|
|
|
.It Li XF86-xc
|
|
|
|
XFree86 official sources.
|
|
|
|
.It Li XF86-co
|
|
|
|
XFree86 contributed sources.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xbin
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 binaries.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xcfg
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 configuration files.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xdoc
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 documentation.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xhtml
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 HTML documentation.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xlib
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 libraries.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xlk98
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 server link-kit for PC98 machines.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xlkit
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 server link-kit for standard machines.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xman
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 manual pages.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xprog
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 programmer's distribution.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xps
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 postscript documentation.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xset
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 graphical setup tool.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9480
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 8-bit (256 color) PEGC-480 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9EGC
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 4-bit (16 color) EGC server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9GA9
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 GA-968V4/PCI (S3 968) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9GAN
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 GANB-WAP (cirrus) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9LPW
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 PowerWindowLB (S3) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9MGA
|
|
|
|
[DESCRIPTION MISSING]
|
|
|
|
.It Li PC98-Servers/X9NKV
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 NKV-NEC (cirrus) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9NS3
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 NEC (S3) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9SPW
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 SKB-PowerWindow (S3) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9SVG
|
|
|
|
[DESCRIPTION MISSING]
|
|
|
|
.It Li PC98-Servers/X9TGU
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 Cyber9320 and TGUI9680 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9WEP
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 WAB-EP (cirrus) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9WS
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 WABS (cirrus) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li PC98-Servers/X9WSN
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 PC98 WSN-A2F (cirrus) server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/X3DL
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 3D Labs server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/X8514
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 8514 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XAGX
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 8 bit AGX server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XI128
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 #9 Imagine I128 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XMa8
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 ATI Mach8 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XMa32
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 ATI Mach32 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XMa64
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 ATI Mach64 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XMono
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 monochrome server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XP9K
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 P9000 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XS3
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 S3 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XS3V
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 S3 Virge server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XSVGA
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 SVGA server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XVG16
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 VGA16 server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XW32
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 ET4000/W32, /W32i and /W32p server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/XTGA
|
1999-09-02 00:51:16 +00:00
|
|
|
Server for TGA cards (alpha architecture only).
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/Xnest
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 nested X server.
|
2001-08-14 23:19:37 +00:00
|
|
|
.It Li Servers/Xvfb
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 virtual frame-buffer X server.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfnts
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 base font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xf100
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 100DPI font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfcyr
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 Cyrillic font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfscl
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 scalable font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfnon
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 non-english font set.
|
1998-12-02 03:27:37 +00:00
|
|
|
.It Li Xfsrv
|
2002-04-02 20:42:54 +00:00
|
|
|
XFree86 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
|
2000-02-29 09:09:36 +00:00
|
|
|
.It distSetCRYPTO
|
|
|
|
Interactively select encryption 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 distSetSrc
|
|
|
|
Interactively select source subcomponents.
|
|
|
|
.Pp
|
2000-12-27 14:22:05 +00:00
|
|
|
.Sy Variables :
|
|
|
|
None
|
1997-08-11 13:08:29 +00:00
|
|
|
.It distSetXF86
|
2002-04-02 20:42:54 +00:00
|
|
|
Interactively select XFree86 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
|
2001-03-23 07:53:45 +00:00
|
|
|
variable). Defaults to links.
|
1997-08-11 13:08:29 +00:00
|
|
|
.El
|
|
|
|
.It installCommit
|
|
|
|
Commit any and all pending changes to disk. This function
|
|
|
|
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
|
2001-03-12 21:26:06 +00:00
|
|
|
if running as init. This will also happen automatically
|
|
|
|
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.
|
|
|
|
The first primary partition found is used (e.g. C:).
|
|
|
|
.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 ,
|
|
|
|
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 ,
|
|
|
|
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
|
|
|
|
The name of the package to add, e.g. bash-1.14.7 or ncftp-2.4.2.
|
|
|
|
.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
|
|
|
|
The name of the command to execute. When running
|
|
|
|
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 .
|