Commit Graph

99 Commits

Author SHA1 Message Date
John Baldwin fcb7c05133 - Support MBR boot loaders that are larger than one sector size.
- Axe the 1024 cylinder checks as they are no longer relevant.
2000-07-12 18:08:27 +00:00
Jordan K. Hubbard 7140b4def8 o Add support for loading the rsaref or rsaintl packages, depending
on locale.

o Allow use of "G" in label editor to stand for gigabytes. This
  is actually an unrelated patch which I meant to commit separately
  but what the heck, it's late.

Partially submitted by:	phk
2000-02-29 10:40:59 +00:00
Jordan K. Hubbard 8932007887 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
Jordan K. Hubbard 8668fad364 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
Jordan K. Hubbard 7025aeb16e Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
Jordan K. Hubbard 404f4d4100 I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.
1999-12-12 04:58:02 +00:00
Jordan K. Hubbard 50fbef8c45 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
Peter Wemm 97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Poul-Henning Kamp 8a9b8e429b Make the newfs parameters a global option.
The default is still "-b 8192 -f 1024" but my experiments show that
"-b 16384 -f 4096 -c 100" is a more sensible value for modern
disksizes.
1999-08-05 19:50:26 +00:00
Brian Somers 7078355be0 Allow room for editing labels on disks that are >= 10000Mb
Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-29 06:28:52 +00:00
Jordan K. Hubbard db510551e9 1. Silence warning.
2. Deal with potential whitespace evil early (PR#7455).
1999-05-07 04:36:21 +00:00
Jordan K. Hubbard 696ff94de7 Bump default root fs sizes, for both i386 and alpha architectures. 1999-03-30 04:09:21 +00:00
Jordan K. Hubbard fca8402bb3 o Use larger minimum root size on alpha.
o Use proper architecture subdir when fetching bits from snapshot servers.

Submitted by:	Doug Rabson <dfr@nlsystems.com>
1999-03-09 12:36:28 +00:00
Jordan K. Hubbard 63cad5499d Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
Jordan K. Hubbard 50895b8915 More support for Alpha installs.
Submitted by:	dfr
1999-01-29 11:39:04 +00:00
Jordan K. Hubbard af61828f44 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
Jordan K. Hubbard 8eac04a792 MF22: Paul Traina's changes. 1998-07-18 09:42:02 +00:00
Jordan K. Hubbard ea31e8b2d6 Fix bogusly shadowed variable.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-13 11:09:03 +00:00
Jordan K. Hubbard fc60b54d95 MF22: reset root flags properly. 1998-02-06 04:35:21 +00:00
David E. O'Brien 48761ea3ad MFS. 1997-11-05 06:11:35 +00:00
Jordan K. Hubbard 5b937d60ee Fix bogon I introduced while adding disks menu to label editor. 1997-10-14 14:41:17 +00:00
Jordan K. Hubbard 7e1ff66d01 Only need to call label editor for all drives. 1997-10-13 11:33:27 +00:00
Jordan K. Hubbard b09dc169b7 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00
Jordan K. Hubbard 87b462a276 More label editor enhancements.
Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
Jordan K. Hubbard c3a6bc8315 Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
Jordan K. Hubbard 365a44db75 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
Jordan K. Hubbard d0ef76de67 Scrolling partition and label lists now make it possible to partition
lots of disks from sysinstall.  Yay!  Please test this as much as
possible with any 3.0 SNAP later than 970910 (I.E. tomorrow's snap),
especially those of you with larger disk farms.

Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-09 16:32:01 +00:00
Jordan K. Hubbard 86ff624834 Make some changes to the way the label editor reads script variables
so you don't need to re-enter it for each and every filesystem. Heads up!
This change is incompatible with the previous scripting format,
so those folks (all 2 of you) using config files should take a look
at the changes to the sample install.cfg file for the diskLabelEditor's
new calling syntax.

Finally write a man page for this thing, documenting all of the above
and more.  I can't drive a stake through this thing's heart without
properly documenting it first, so please consider this step #1 in that
process (to be honest, sysinstall will also live on for some time in
the 2.2. branch since it's unlikely that the new install tools will ever
make it over there - they're strictly 3.0 material).
1997-08-11 13:08:29 +00:00
Jordan K. Hubbard 8e45ec2c8c Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
Jordan K. Hubbard 7d98f8beea Fix a long-standing bug with the label editor I just found (you could
mount two dos partitions with the same name).

Neaten up a dialog box that was encroaching on the right edge.
1997-03-11 17:51:01 +00:00
Jordan K. Hubbard 15d8c5b5a3 YAMF22 1997-03-08 16:17:49 +00:00
Peter Wemm b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard 76d01c999a This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
Jordan K. Hubbard 91188fac62 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard 00b69db338 As Paul has just pointed out, much of my strncpy() usage was either
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>
1996-12-09 08:22:19 +00:00
Jordan K. Hubbard b9403756ad Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
Jordan K. Hubbard 48a13090be Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
Jordan K. Hubbard 4dcc16b986 Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
Jordan K. Hubbard 7972a1c191 Round 2.5 1996-10-01 14:08:28 +00:00
Jordan K. Hubbard 23c0fda959 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
Jordan K. Hubbard 96a9d7fb41 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
Jordan K. Hubbard f48bd9cf9e Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
Jordan K. Hubbard 137a1bde43 Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
Jordan K. Hubbard e8ebf53742 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
Jordan K. Hubbard e5034f83b0 Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
Jordan K. Hubbard e35a083cf9 Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)
1996-07-14 01:54:39 +00:00
Jordan K. Hubbard dab0e70808 Remove some suspect sector size calculations which are also the source
of some confusing messages from newfs (just judging by the number of people
who point them out, anyway).
1996-07-12 15:24:49 +00:00
Jordan K. Hubbard bbb2e49792 Eradicate more lurking bogons. 1996-07-09 03:07:51 +00:00
Jordan K. Hubbard dabbacad12 Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.
1996-06-08 09:08:51 +00:00