Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ buildsys(1M) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

crashconf(1M)

cunix(1M)

dbcmd(1M)

dbsym(1M)

init(1M)

kdb(1M)

mkboot(1M)

rc6(1M)

shutdown(1M)

vfstab(4)

buildsys(1M)  —  ADMINISTRATOR COMMANDS

NAME

buildsys − operating system configuration script

SYNOPSIS

/sbin/buildsys [−s ] [−u]

DESCRIPTION

The buildsys shell script performs the activities necessary to build a new bootable operating system from single user mode.  buildsys is executed during a powerup if the reconfiguration of a new bootable operating system is necessary.  The bootable operating system resides in /stand and is generally referred to as unix. 

Building a new operating system is usually required by hardware and system software changes made to your system.  These changes must be incorporated into the bootable operating system so that it has complete and correct knowledge of the system configuration. 

buildsys performs the following activities:

checks and mounts the file systems necessary to execute cunix

optionally saves the current bootable unix (see NOTES below)

updates boot modules with current master file contents (unless -u flag specified)

runs cunix to create a new unix

unmounts all file systems previously mounted

optionally reboots the system; a reboot is requested if buildsys was run during a powerup, that is, the −s option was specified. 

If an error occurs during the configuration of a new unix, buildsys exits to a shell; this gives the user a chance to fix any problems that might have caused the configuration process to fail, or to copy a version of unix to /stand/unix that is known to work in order to reboot the system.  Exiting this shell (using ctrl-d or exit), puts the machine in firmware mode.  The machine can then be rebooted from firmware. 

NOTES

If the kernel debugger module, KDB, is listed in the system file, buildsys will automatically run dbsym(1M) and dbcmd(1M).  These programs will load the kernel symbols and macros into the new kernel so they will be accessible to the debugger. 

buildsys overwrites /stand/unix.  To prevent loss of the bootable unix corresponding to a crash dump when an autoconfigure runs during a crash recovery, a procedure to save the current bootable unix may be enabled by editing /sbin/buildsys and following the instructions contained therein. 

SEE ALSO

crashconf(1M), cunix(1M), dbcmd(1M), dbsym(1M), init(1M), kdb(1M), mkboot(1M), rc6(1M), shutdown(1M), vfstab(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026