summaryrefslogtreecommitdiff
path: root/release/sysinstall/disks.c
Commit message (Collapse)AuthorAgeFilesLines
* Sysinstall has been repocopied to src/usr.sbin/sysinstall and everythingJohn Baldwin2001-01-171-974/+0
| | | | | | | now uses the sources found there. Notes: svn path=/head/; revision=71150
* Backtrack a bit.. Put the dangerously dedicated option under aPeter Wemm2001-01-151-1/+11
| | | | | | | | | non-advertised option (F = "FreeBSD only"), and leave the A key with standard partitioning. It seems people still want a runtime backdoo to get to dangerously dedicated mode. Notes: svn path=/head/; revision=71054
* Don't invite trouble by waving the 'Dangerously Dedicated' (DD) optionPeter Wemm2001-01-151-9/+2
| | | | | | | | | | | | | at people. This has been sitting in my tree for a few months now. I have spoken with quite a few folks about this and the support for doing this was pretty strong. I dont remember names though, so I cannot share the blame :-(. Note that this does not *remove* DD mode, it just stops waving it at new users. You can still set it via config files etc, and the bootblocks and kernel still support it. You can still use disklabel to make true DD disks. Notes: svn path=/head/; revision=71051
* Adapt sysinstall to use the new msgNoYes() function which assumesJordan K. Hubbard2000-12-141-3/+3
| | | | | | | | | no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :). Notes: svn path=/head/; revision=70005
* - Added support for installing boot0 and boot0.5 for PC-98.Yoshihiro Takahashi2000-08-121-20/+112
| | | | | | | - Cosmetic changes. Notes: svn path=/head/; revision=64555
* - Support MBR boot loaders that are larger than one sector size.John Baldwin2000-07-121-18/+31
| | | | | | | - Axe the 1024 cylinder checks as they are no longer relevant. Notes: svn path=/head/; revision=63031
* - Remove obsolete PC-card boot.flp hack. It was for making both PC-cardYoshihiro Takahashi2000-06-051-11/+78
| | | | | | | | | | | | | | | | | boot.flp and plain boot.flp. - Clean up crunchgen related routine. - Add PC-98 support. TODO: o Documentation o Fix some messages for PC-98 o Decrease the size of fixit.flp to 1.2MB o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html) No response from jkh Notes: svn path=/head/; revision=61277
* Add the 'Z' key to the slice editor. Hitting it toggles the units theDavid E. O'Brien2000-05-261-9/+34
| | | | | | | | | sizes are displayed in. Ok'ed by: murray Notes: svn path=/head/; revision=60937
* o Add support for loading the rsaref or rsaintl packages, dependingJordan K. Hubbard2000-02-291-0/+4
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=57617
* In retrospect, msgNotify() should leave its contents on the screenJordan K. Hubbard1999-12-171-1/+1
| | | | | | | | longer to give the user something to look at while things are happening. Change it to do so and insert the appropriate screen saves elsewhere. Notes: svn path=/head/; revision=54722
* Completely rip-out and redesign sysinstall's refresh model as wellJordan K. Hubbard1999-12-141-9/+2
| | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=54587
* I shouldn't have incremented PART_OFF; it was wrong and broke labelJordan K. Hubbard1999-12-121-1/+0
| | | | | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up. Notes: svn path=/head/; revision=54473
* Remove BAD144 support.Poul-Henning Kamp1999-11-271-33/+1
| | | | Notes: svn path=/head/; revision=53748
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,Jordan K. Hubbard1999-09-021-10/+6
| | | | | | | | | | | | | I backed-out the changes in -current and didn't touch stable at all (I thought I had my patch order reversed, not what actually happened). AIEEE! I can't even blame the crack for this one since I broke my crack pipe a few weeks ago. I think sleep deprivation gets the blame for this one. Medal for noticing this one goes to: Jim Bloom <bloom@acm.org> Notes: svn path=/head/; revision=50780
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,Jordan K. Hubbard1999-09-011-6/+10
| | | | | | | | | | bringing in DHCP support. The only thing I left out were Poul-Henning's newfs changes since I'm not sure if he's brought the rest of that support into -stable yet. If it turns out that this is the case, I'll MFC those changes too. Notes: svn path=/head/; revision=50725
* Always set the MBR value. When you leave it uninitialized, it seemsJordan K. Hubbard1999-08-281-10/+6
| | | | | | | like libdisk does bad things. :) Notes: svn path=/head/; revision=50508
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Totally change the way variables are accounted for in sysinstall.Jordan K. Hubbard1999-02-051-10/+10
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=43685
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,Jordan K. Hubbard1999-01-081-1/+8
| | | | | | | | | don't present label editor, etc). Submitted by: dfr Notes: svn path=/head/; revision=42386
* Read in /boot contents at runtime. Assumes /boot/boot1 on alpha (whichJordan K. Hubbard1999-01-021-5/+39
| | | | | | | may not yet be caught up). Notes: svn path=/head/; revision=42247
* properly conditionalize for alpha.Jordan K. Hubbard1998-10-131-2/+2
| | | | Notes: svn path=/head/; revision=40297
* switch to proper boot0Jordan K. Hubbard1998-10-131-3/+3
| | | | Notes: svn path=/head/; revision=40295
* Don't use boot2 on alpha.Jordan K. Hubbard1998-10-071-1/+5
| | | | Notes: svn path=/head/; revision=40023
* One last alpha seat belt - never ask for an MBR boot manager.Jordan K. Hubbard1998-09-301-1/+3
| | | | Notes: svn path=/head/; revision=39848
* Add another check to prevent user from hanging themselves on alpha.Jordan K. Hubbard1998-09-301-1/+6
| | | | Notes: svn path=/head/; revision=39847
* Always use dedicated disk case on alpha.Jordan K. Hubbard1998-09-301-1/+5
| | | | Notes: svn path=/head/; revision=39845
* Device name cleanup for CAM.Justin T. Gibbs1998-09-151-1/+2
| | | | Notes: svn path=/head/; revision=39254
* Fix printf warnings and add a few casts.Jordan K. Hubbard1998-09-141-2/+2
| | | | | | | | PR: 7560 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> Notes: svn path=/head/; revision=39183
* MF22: resync.Jordan K. Hubbard1998-03-231-1/+14
| | | | Notes: svn path=/head/; revision=34811
* MF22: catch up with recent changes.Jordan K. Hubbard1998-03-231-2/+13
| | | | Notes: svn path=/head/; revision=34792
* correct checks for "already written" case.Jordan K. Hubbard1998-03-191-7/+9
| | | | Notes: svn path=/head/; revision=34681
* MF22: correct bogus failure return.Jordan K. Hubbard1998-02-131-2/+2
| | | | Notes: svn path=/head/; revision=33315
* Typo: PAT -> FAT.Steve Price1998-02-011-2/+2
| | | | | | | PR: 5593 Notes: svn path=/head/; revision=32958
* Fix disk counting bug.Jordan K. Hubbard1997-10-181-5/+5
| | | | | | | Submitted by: Arjan de Vet <Arjan.deVet@adv.IAEhv.nl> Notes: svn path=/head/; revision=30561
* Separate the siamese twins that were the partition and label editor.Jordan K. Hubbard1997-10-121-40/+66
| | | | | | | | | 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. Notes: svn path=/head/; revision=30345
* Fix offset bug in partition display that made partitions of typeJordan K. Hubbard1997-09-111-9/+42
| | | | | | | | | `linux_swap' hose the output. Also add a (T)ype command for changing the type of a partition. Notes: svn path=/head/; revision=29307
* Add a hint to the FAQ regarding ``DD'' disks.Joerg Wunsch1997-09-071-2/+4
| | | | Notes: svn path=/head/; revision=29204
* People have complained that this is overly chatty, andJordan K. Hubbard1997-09-031-17/+1
| | | | | | | | "dangerously dedicated" mode doesn't appear to have killed anyone in recent memory, so I agree. Notes: svn path=/head/; revision=29072
* 1. Add a noWarn flag so that scripts can turn warnings off.Jordan K. Hubbard1997-06-181-3/+4
| | | | | | | 2. If hostname not set from script, bring up interactive dialog anyway. Notes: svn path=/head/; revision=26717
* YAMF22Jordan K. Hubbard1997-06-121-3/+8
| | | | Notes: svn path=/head/; revision=26574
* Resurrect / implement some of the more esoteric scripting features,Jordan K. Hubbard1997-06-051-2/+93
| | | | | | | such as partitioning a disk or overriding an interactive prompt. Notes: svn path=/head/; revision=26456
* Fix null dereference if config variable not set.Paul Traina1997-05-101-3/+3
| | | | Notes: svn path=/head/; revision=25665
* Add in some more config file support -- add variables to shut upPaul Traina1997-05-051-21/+26
| | | | | | | | | | | | sysinstall about the dangerously dedicated message, and other variables to allow pre-configuring the distribution sets. Still todo: add a variable to define an initial set of packages that should be loaded. Reviewed by: jkh Notes: svn path=/head/; revision=25473
* Sync with 2.2 and clean up some tortured english that was added.Jordan K. Hubbard1997-04-201-3/+3
| | | | Notes: svn path=/head/; revision=25052
* YAMF22 (rev 1.70.2.10, added blurb to explanations)Joerg Wunsch1997-03-111-1/+7
| | | | Notes: svn path=/head/; revision=23721
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* This is a patch that makes some of the "partitions" --> "slice" to beJordan K. Hubbard1997-01-241-11/+11
| | | | | | | | | | 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) Notes: svn path=/head/; revision=21971
* Change from using chunk_n to slice_type_name().David E. O'Brien1997-01-241-1/+2
| | | | | | | Reviewed by: jkh Notes: svn path=/head/; revision=21969
* Now that I know which parts of the installation really need it (sinceJordan K. Hubbard1997-01-171-1/+1
| | | | | | | | there's no menu display bug to work around now), be far more selective in my use of DITEM_RECREATE (which is slow and involves much screen I/O). Notes: svn path=/head/; revision=21792
* Cope with Open_Disk() failure much more gracefully.Jordan K. Hubbard1997-01-161-8/+10
| | | | Notes: svn path=/head/; revision=21772