autoconfig(1M) autoconfig(1M)NAME autoconfig - build a new up-to-date kernel SYNOPSIS /etc/autoconfig [-V] [-v] [-I] [-a] [-k] [-D] [-i file] [- o file] [-m directory] [-b directory] [-l linker] [-S file] [-s directory] [-d directory] [-L loadfile] [-M file] [-t timeout] DESCRIPTION autoconfig is a utility that is run to add software to the operating system when new devices are added. FLAG OPTIONS You can use any of the following flag options: -V Print the current version number of /etc/autoconfig. -v Provide verbose output and give a step-by-step account of the autoconfiguration process. -I Call device-specific initialization routines for all modules included in the new kernel. -a Check to see if the running kernel matches the current hardware configuration. If the kernel matches, auto- config exits and does not build a new kernel. If the kernel requires reconfiguration, autoconfig builds a kernel and calls driver-specific initialization rou- tines (-I). By default, autoconfig builds the new ker- nel in the file /unix. After building a new kernel, autoconfig reboots the kernel. -k Patch the current running kernel (currently not imple- mented). -D Display information about modules configured in the kernel input file. -i file Change the default input file. The default is /etc/config.d/newunix. -o file Change the default output file. The default is /unix. -m directory Change the default directory used to search for master files. The default is /etc/master.d. April, 1990 1
autoconfig(1M) autoconfig(1M)-b directory Change the default directory used to search for driver object files. The default is /etc/boot.d. -l linker Change the default linker program, which is ld(1). This option is used for cross development. -S file Put a list of startup programs into the file file from the directory specified by -s. This file is usually specified as /etc/startup. -s directory Change the default directory used to search for startup programs. The default is /etc/startup.d. -d directory Change the default directory used to search for ini- tialization programs. The default is /etc/init.d. -L loadfile Cause autoconfig not to search the slots for devices and instead to read records from the ASCII file load- file. Each record has three fields in the following order: a slot number, a board ID (a number), and a version number. Autoconfiguration continues as if these devices are in the system. -M file Creates an /etc/master file for the use of errpt(1M). -t timeout Cause autoconfig to call /etc/macquery to present a Macintosh(Reg.) alert box just before rebooting the system. If timeout is greater than 0, the alert is au- tomatically confirmed (OK is selected) after timeout seconds. Otherwise, the user must select the OK button in the alert box to continue with the reboot. -t0 is specified in /etc/sysinitrc for the boot process. 2 April, 1990
autoconfig(1M) autoconfig(1M)FILES /etc/autoconfig /etc/%autoconfig /etc/config.d/newunix /dev/kmem /unix SEE ALSO ld(1), errpt(1M), module_dump(1M), newconfig(1M), newunix(1M). Building A/UX Device Drivers. April, 1990 3