summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/uc_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add a few strategic screen clears in network setup.jkh1997-01-041-2/+6
| | | | | | | | Disable saving of SCSI device parameters in userconfig saving in hopes of working around a reported problem in the no-device case; there's no point in saving this information here anyway. 2nd patch submitted-by: "Eric L. Hernes" <erich@lodgenet.com>
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-6/+4
| | | | | | | bogus or overly complex and really needed to be done more consistently and sanely throughout - no question about it. Done. Suggested-By: Paul Traina <pst@Shockwave.COM>
* Get the pysical address for id_maddr when opening an -incore kernel.erich1996-10-121-2/+2
| | | | | | | | | | | | This fixes the kernel panic when propagating userconfig changes to arbitrary kernels. Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where necessary. Fix getting scsi bus information from an -incore kernel. Turned on SAVE_USERCONFIG by default.
* *blush* - I forgot to change the check for fscanf()'s return valuejkh1996-10-061-35/+30
| | | | after altering the argument count.
* Found my mistake: I should have been copying from _nl in the on-diskjkh1996-10-061-11/+15
| | | | case, not nl (size we take its size - d'oh!).
* Make the save_userconfig() stuff conditional and turned off by defaultjkh1996-10-051-15/+18
| | | | | (for now - still a few more wrinkles here). Add more debugging code and some cosmetic tweaks.
* Erm. I'm sleepy. Handle the null-field case the way I actually meantjkh1996-10-051-12/+5
| | | | to the first time.
* 1. Change device probing so that high speed network devices are found beforejkh1996-10-051-4/+14
| | | | | | | | | | | SLIP/PPP devices, putting them before the others in the network device selection menu. 2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator for the "OK" button in FTP site selection menu. 3. Detect the NULL last symbol in the name list and initialize the other members correctly.
* Multiple changes stacked as one commit since they all depend on one another.jkh1996-10-051-14/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, change sysinstall and the Makefile rules to not build the kernel nlist directly into sysinstall now. Instead, spit it out as an ascii file in /stand and parse it from sysinstall later. This solves the chicken-n- egg problem of building sysinstall into the fsimage before BOOTMFS is built and can have its symbols extracted. Now we generate the symbol file in release.8. Second, add Poul-Henning's USERCONFIG_BOOT changes. These have two effects: 1. Userconfig is always entered, rather than only after a -c (don't scream yet, it's not as bad as it sounds). 2. Userconfig reads a message string which can optionally be written just past the boot blocks. This string "preloads" the userconfig input buffer and is parsed as user input. If the first command is not "USERCONFIG", userconfig will treat this as an implied "quit" (which is why you don't need to scream - you never even know you went through userconfig and back out again if you don't specifically ask for it), otherwise it will read and execute the following commands until a "quit" is seen or the end is reached, in which case the normal userconfig command prompt will then be presented. How to create your own startup sequences, using any boot.flp image from the next snap forward (not yet, but soon): % dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO USERCONFIG irq ed0 10 iomem ed0 0xcc000 disable ed1 quit WAKKA_WAKKA_DOO Third, add an intro screen to UserConfig so that users aren't just thrown into this strange screen if userconfig is auto-launched. The default boot.flp startup sequence is now, in fact, this: USERCONFIG intro visual (Since visual never returns, we don't need a following "quit"). Submitted-By: phk & jkh
* Yet Another Bogon Fix.jkh1996-10-051-224/+211
|
* Simplify the compiled-in nlist case a bit by naming the structuresjkh1996-10-051-9/+8
| | | | the same.
* Whoops! Fix a stupid bogon.jkh1996-10-041-3/+10
|
* Syncronize my tree so Eric can access the latest code.jkh1996-10-041-5/+34
|
* Fix the "missing nameserver value" bug. Simplify some unnecessarilyjkh1996-10-031-1/+11
| | | | crufty code, here and there.
* First cut at a "copy userconfig changes from installation kernel to installedjkh1996-10-031-0/+256
kernel" mechanism. This is just the foundation - more work follows and will be committed over the next few hours. Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
OpenPOWER on IntegriCloud