Commit Graph

35283 Commits

Author SHA1 Message Date
simonb 424f55f4b5 Add a cleanup function (set with atexit()) that shuts down curses nicely
and unmounts any filesystems left mounted when sysinst exits under any
circumstances.
1997-12-05 13:38:59 +00:00
hubertf 5dda445628 Give up special privileges before chdir($HOME) and access(.hushlogin),
fixing PR 4636 by myself with some help from Jason Thorpe.
1997-12-05 08:29:39 +00:00
thorpej f22bd47b81 Use __sigaltstack14(), not sigaltstack(). 1997-12-05 02:09:49 +00:00
thorpej 6efbfe5247 Make setjmp() work again after the changes to sigaltstack(). 1997-12-05 02:06:27 +00:00
msaitoh 785fd87e38 Fix SYNOPSIS section. 1997-12-04 22:33:52 +00:00
tv eb96023de7 Quick fix to repair runtime link problem with libc - "SYS_sigaltstack
undefined".  The sigaltstack structure layout didn't actually change on
the sparc, so just change the syscall name.  A better fix would probably
be to replace the direct system call with a function call to the libc
sigaltstack().
1997-12-04 21:00:18 +00:00
bouyer 33e8f8cecb Sync with msg.mi.eng + better translation in one place. 1997-12-04 16:57:56 +00:00
tv 0a558b3f1f Standardize COMPAT_SUNOS -- remove all references to
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.
1997-12-04 15:33:17 +00:00
jonathan ead082ab43 tar.gz -> .tgz as per release(7).
Clarify English text of localfssource: it's for an un-mounted
local filesystem, not an already-mounted pathname.
1997-12-04 13:24:30 +00:00
jonathan 7bd6655894 Add check for overlapping partitions:
* Add `partinfo' type, for description of a single partition,
   so we can pass labels by reference..
 * Add label.c with label initialization, naive overlap-check code,
   and a UI entrypoint edit_and_check_label() which iterates through
   checking a label for overlaps, and if any, giving the user the choice of
   fixing them or punting back to the main menu.
 * Change return type of md_make_bsd_partitions from void to int.
   Return 0 if the partition has problems (or the user gave up on it)
   and 1 if the partition is completed and looks OK.
 * Change install() to check return value of md_make_bsd_partitions().
   If it returns zero,  print an `abort' message and return to main menu.
 * Add label.c to all ports' Makefile.

MD code tested on pmax and cut-and-pasted to other ports.
1997-12-04 11:27:56 +00:00
jonathan fc3fa7cd7f Implement TODO item to unwind target mounts on completion:
* Add mount_with_unwind() that adds mountpoint to a LIFO queue
    of  mountpoints to undo on error.   Use in target_mount().
  * Add unwind_mounts() which traverses the LIFO queue and unmounts
    filesystems, silently ignoring errors.
  * create toplevel() function which displays banner message and
    calls unwind_mounts().
  * change toplevel menu to call toplevel() instead of inline banner.

Where to do unwinds needs more thought.  Perhaps we should only unwind
if an upgrade or install appears unsuccessful, so after a successful
install, the target is mounted (e.g., for upgrading /etc/rc.conf).
1997-12-04 09:05:35 +00:00
mikel 06c1873d83 add missing ".o"; from Brian Grayson in PR 4487 1997-12-04 09:03:18 +00:00
leo 9d09eab68e Preserve the bootflags in the processor-type test (== make the loader
work again for the TT030).
1997-12-04 07:39:05 +00:00
mikel 180f0a28eb add devices supported by cy, guspnp, and joy drivers to list; note
that APM is not included in INSTALL kernels
1997-12-04 07:19:27 +00:00
mikel 8e4d4f760b edit a bit, and bewail inability to handle compressed manpages 1997-12-04 06:41:42 +00:00
mycroft a88cef6970 Ignore SIGPIPE, which may be caused by non-forking internal TCP services if
the remote side closes the connection before we answer.
1997-12-04 06:39:02 +00:00
mikel c75f102623 s/void/int/, from Ty Sarna in PR lib/4627
use .Xr when referring to login and getty instead of .Nm
1997-12-04 06:00:19 +00:00
mjacob 40ef7dd007 handle case of no keyboard configured 1997-12-03 22:32:05 +00:00
thorpej 27899a4858 Don't conditionalize STACKGAPLEN on COMPAT_*. Darn near everything uses
it now (including compat system calls for previous NetBSD releases),
and it doesn't hurt anything to always initialize it to non-zero.
1997-12-03 20:02:29 +00:00
gwr 5aae2d7bb7 clarifications 1997-12-03 19:47:56 +00:00
chuck 40fa2961dc fix formatting 1997-12-03 16:41:53 +00:00
jonathan 5438df9f2f Correct offset and size of register-copying code in fetch_inferior_registers()
and set_inferior_regsiters() to match the split scalar/FP register  structs.
Based on fetch_core_registers.

Fixes some but not all of PR 4589.
1997-12-03 16:00:14 +00:00
hubertf 67a5e86031 do not depend on gmake being called gmake (pointed out by Matt Green) 1997-12-03 08:32:01 +00:00
ross 58371eeff6 Correct spelling and xrefs. 1997-12-03 06:44:23 +00:00
briggs 16b71d1871 Thanks to Paul Goyette <paul@whooppee.com> for a patch to clear the
interrupt properly on a SuperMac Spectrum/8 Series III, and thanks
to Dan McMahill for loaning the card to Paul.
I modified Paul's patch somewhat to change grfmv_intr_generic_{1,4}
to grfmv_intr_generic_write{1,4} and added grfmv_intr_generic_or4 to
handle this card.
1997-12-03 03:05:02 +00:00
augustss a908b2b30e Fix three problems spotted by mycroft:
- Closing the audio device should stop recording.
- Manipulating the pause function could accidentally start playing or recording.
- AUDIO_FLUSH could accidentally start playing or recording.
1997-12-03 01:01:19 +00:00
mjacob d90bb02e10 oops on a comment- it is 1.07 FW, not 1.05 1997-12-03 00:45:05 +00:00
ross c053efbb37 File has diverged from vendor branch, give it an rcsid comment. 1997-12-02 23:46:04 +00:00
gwr d4ff9e0143 Remove the broken trap recursion check (#if DEBUG) 1997-12-02 23:41:30 +00:00
cgd e4d749962a add a typedef which describes elements in the push-back buffer. Make
that typedef 'short'.  'char' (which was previously used) because char
may be unsigned and ((char)EOF) != EOF if that is the case.  That was
causing the (char)EOF (0xff) pushed back in main to be interepreted as
a character, and, in some cases, to be written to the output.  'short'
was used rather than 'signed char' because if the latter is used,
0xff characters in the input would confuse m4.  (No point in introducing
(more?) 8-bit lossage.)
1997-12-02 22:34:00 +00:00
ross 11751c2757 Once upon a time, someone must have done a global s/ALL/BASE/ while
ignoring case and tokens, inventing the "hw_rei_stBASE" instruction. Undo.
1997-12-02 20:53:09 +00:00
gwr b3701f21ea Kill some noise from -DDEBUG 1997-12-02 20:42:13 +00:00
gwr 7c95ede823 Kill some noise from -DDEBUG 1997-12-02 19:48:45 +00:00
pk 1743d97bd7 Pull over fixes from vm_swap.c:
- guard against synchronous I/O completion
	- avoid race conditions
	- use bgetvp/brelvp to properly maintain the vnode holdcount
	  and clean/dirty buffer lists.
1997-12-02 13:54:48 +00:00
pk 5d1352c448 Guard against synchronous I/O completetion per swap-device. 1997-12-02 13:47:37 +00:00
mycroft 187df9b86e Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and
speakers.
1997-12-02 13:17:39 +00:00
jonathan 6266fb93be Quote disktab(5) entry name so that label names with spaces
(e.g., "bsd disk") work CVS:
1997-12-02 11:00:59 +00:00
hubertf ca66e22a4a add etc/mtree/BSD.x11.dist 1997-12-02 09:44:33 +00:00
bouyer 2f8f801256 The iy driver now uses if_media (it was the last one, at last for i386, to use
the historical link? flags for media select)
XXX No pullup request for this. But if sysinst supports explicit media
XXX selection in 1.3, this should be in 1.3 as well.
1997-12-02 09:34:03 +00:00
mikel a206ea679a add missing 'man' so unformatted manpage installation will work when
target exists; solution provided by christos
1997-12-02 08:42:28 +00:00
mikel 57c740296d eliminate invalid options from SYNOPSIS; from Johan Danielsson in PR 4570 1997-12-02 08:21:45 +00:00
mikel c393edcd6d exclude ed(1) and init(8) manpages 1997-12-02 07:58:44 +00:00
mrg 9e18102e4e add /usr/pkg/man 1997-12-02 07:04:56 +00:00
mrg c854ff0798 create etc/mtree/Makefile and let it deal with what files are installed. 1997-12-02 06:52:14 +00:00
mikel 60d209bff0 add ID for "Best Data Products Smart One 336F"; Dave Huang <khym@bga.com> 1997-12-02 06:10:45 +00:00
mikel ebdfbf958e fix typo; from Dave Sainty in PR kern/4602 1997-12-02 03:57:54 +00:00
jonathan 4b1dd00797 Fix target_already_root() check: is_active_rootpart() takes a
string like "sd0a", and compares it against mounted_rootpart(),
which returns a string like "/dev/sd0a". For now, prepend "/dev".
1997-12-02 03:02:29 +00:00
ender b26a46669b o Noted how to setup for X
o Brought legal up to date finally
o General cleanup
1997-12-02 02:05:09 +00:00
sakamoto 52596506c7 Add NetBSD RCS Ids. Remove #if 0-#endif. 1997-12-02 01:20:30 +00:00
pk b1f869ef45 Use `busdma' macros. 1997-12-01 23:25:37 +00:00