summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/disks.c
Commit message (Collapse)AuthorAgeFilesLines
* ``An undocumented feature is a bug.''joerg2001-04-181-4/+4
| | | | | | Turn on my asbesto suit, and document the DD and Wizard mode menu keys. It's a nuisance to always have to look them up in the source code when needed.
* Moved '#endif' to correct position. (previous commit broke pc98 support)nyan2001-03-151-1/+1
|
* Really finish softupdate setting from the label editor and fixjkh2001-03-121-34/+15
| | | | | | | | | | a few cosmetic problems: o Allow it to work with scripts (see man page or install.cfg file). o Preserve old softupdates flag across newfs toggles o Clean up partitioned/labelled flag handling o Don't ask for MBR choice again if you've already written it out. o Actually document the new features.
* Backtrack a bit.. Put the dangerously dedicated option under apeter2001-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.
* Don't invite trouble by waving the 'Dangerously Dedicated' (DD) optionpeter2001-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.
* Adapt sysinstall to use the new msgNoYes() function which assumesjkh2000-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 :).
* - Added support for installing boot0 and boot0.5 for PC-98.nyan2000-08-121-20/+112
| | | | - Cosmetic changes.
* - Support MBR boot loaders that are larger than one sector size.jhb2000-07-121-18/+31
| | | | - Axe the 1024 cylinder checks as they are no longer relevant.
* - Remove obsolete PC-card boot.flp hack. It was for making both PC-cardnyan2000-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
* Add the 'Z' key to the slice editor. Hitting it toggles the units theobrien2000-05-261-9/+34
| | | | | | sizes are displayed in. Ok'ed by: murray
* o Add support for loading the rsaref or rsaintl packages, dependingjkh2000-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
* In retrospect, msgNotify() should leave its contents on the screenjkh1999-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.
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-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.
* I shouldn't have incremented PART_OFF; it was wrong and broke labeljkh1999-12-121-1/+0
| | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up.
* Remove BAD144 support.phk1999-11-271-33/+1
|
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-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>
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,jkh1999-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.
* Always set the MBR value. When you leave it uninitialized, it seemsjkh1999-08-281-10/+6
| | | | like libdisk does bad things. :)
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Totally change the way variables are accounted for in sysinstall.jkh1999-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.
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,jkh1999-01-081-1/+8
| | | | | | don't present label editor, etc). Submitted by: dfr
* Read in /boot contents at runtime. Assumes /boot/boot1 on alpha (whichjkh1999-01-021-5/+39
| | | | may not yet be caught up).
* properly conditionalize for alpha.jkh1998-10-131-2/+2
|
* switch to proper boot0jkh1998-10-131-3/+3
|
* Don't use boot2 on alpha.jkh1998-10-071-1/+5
|
* One last alpha seat belt - never ask for an MBR boot manager.jkh1998-09-301-1/+3
|
* Add another check to prevent user from hanging themselves on alpha.jkh1998-09-301-1/+6
|
* Always use dedicated disk case on alpha.jkh1998-09-301-1/+5
|
* Device name cleanup for CAM.gibbs1998-09-151-1/+2
|
* Fix printf warnings and add a few casts.jkh1998-09-141-2/+2
| | | | | PR: 7560 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
* MF22: resync.jkh1998-03-231-1/+14
|
* MF22: catch up with recent changes.jkh1998-03-231-2/+13
|
* correct checks for "already written" case.jkh1998-03-191-7/+9
|
* MF22: correct bogus failure return.jkh1998-02-131-2/+2
|
* Typo: PAT -> FAT.steve1998-02-011-2/+2
| | | | PR: 5593
* Fix disk counting bug.jkh1997-10-181-5/+5
| | | | Submitted by: Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
* Separate the siamese twins that were the partition and label editor.jkh1997-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.
* Fix offset bug in partition display that made partitions of typejkh1997-09-111-9/+42
| | | | | | `linux_swap' hose the output. Also add a (T)ype command for changing the type of a partition.
* Add a hint to the FAQ regarding ``DD'' disks.joerg1997-09-071-2/+4
|
* People have complained that this is overly chatty, andjkh1997-09-031-17/+1
| | | | | "dangerously dedicated" mode doesn't appear to have killed anyone in recent memory, so I agree.
* 1. Add a noWarn flag so that scripts can turn warnings off.jkh1997-06-181-3/+4
| | | | 2. If hostname not set from script, bring up interactive dialog anyway.
* YAMF22jkh1997-06-121-3/+8
|
* Resurrect / implement some of the more esoteric scripting features,jkh1997-06-051-2/+93
| | | | such as partitioning a disk or overriding an interactive prompt.
* Fix null dereference if config variable not set.pst1997-05-101-3/+3
|
* Add in some more config file support -- add variables to shut uppst1997-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
* Sync with 2.2 and clean up some tortured english that was added.jkh1997-04-201-3/+3
|
* YAMF22 (rev 1.70.2.10, added blurb to explanations)joerg1997-03-111-1/+7
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* This is a patch that makes some of the "partitions" --> "slice" to bejkh1997-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)
* Change from using chunk_n to slice_type_name().obrien1997-01-241-1/+2
| | | | Reviewed by: jkh
OpenPOWER on IntegriCloud