summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/label.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where request_part_size() was hard-coded to check the rootSizejhb2002-06-071-1/+1
| | | | | | variable rather than the one passed in as the first argument. Sponsored by: The Weather Channel
* Add a 'diskInteractive' variable that can be set to interactively partitionjhb2002-05-311-2/+4
| | | | and label a disk from a sysinstall script.
* Fix a signal 11 error that occurs if you try to use the 'T' option onmurray2002-01-291-1/+2
| | | | | | an existing FreeBSD partition. Reported by: Brent Cook <busterb@mail.utexas.edu>
* Add 'R'ecover option that deletes a partition and attemptsdillon2002-01-071-3/+14
| | | | | | | | | | to recover its space into the previous partition. Revert 'D'elete to not attempt to recover any space. Do not auto-create /home as per release engineers decision (though I think this is a mistake). However, all of this code will be replaced later on anyway either with Jordan's stuff or with some other sort of templater, so it isn't a big deal.
* Enable soft updates by default for everything but the root filesystem.jkh2001-12-201-1/+1
| | | | | | | | The user can still toggle it back off in the label editor (or post-install for that matter) if they explicitly do not want soft updates to be used for some reason. Agreed to be a good thing by: kirk
* cleanupdillon2001-12-101-7/+7
|
* Add auto-fill-on-delete. When deleting an 'A'uto created partitiondillon2001-12-091-21/+35
| | | | | | | | | | | | | | | | sysinstall will automatically expand the previous partition to take up the freed up space. So you can 'D'elete /home and /usr will get the combined space, or you can 'D'elete /tmp and /var will get the combined space. This gives the user, developer, or lay person a huge amount of flexibility in constructing partitions from an 'A'uto base. It takes only 3 or 4 keystrokes to achieve virtually any combination of having or not having a /tmp and/or /home after doing an 'A'uto create. Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should be less controversial. MFC after: 6 days
* Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonabledillon2001-12-091-112/+243
| | | | | | | | | | | | | | defaults both in regards to the size of the partitions that are created and in regards to safety and functional separation. Still TODO: extend the previous partition to cover a deleted partition if the previous partiton was auto-created, and supply some sort of solution for /tmp. Reviewed by: Just about everyone Approved by: Nobody except maybe my pet mouse fred Obtained from: God, so complain to HIM MFC after: 1 week
* Tweak the Alpha partition warning wording and comment a little.obrien2001-07-131-5/+5
|
* Rudamentary attempt to reconize when `a' is not the first partition on theobrien2001-07-131-1/+23
| | | | | | | Alpha. (the Alpha will not boot except from the first partition) PR: 23064 Submitted by: Kees Jan Koster <kjkoster@kjkoster.org>
* Make soft updates option print more nicely and stop overflow ofjkh2001-05-061-5/+8
| | | | | right-hand margin when set in 2nd column. Also do a small amount of code cleanup.
* Remove now obsolete check for root filesystems > cyl 1024. The bootjkh2001-05-031-14/+4
| | | | | | loader can handle such cases. Noted by: olgeni
* Bump the default / size up another 10MB to 120MB.obrien2001-04-051-1/+1
| | | | Requested by: jhb
* Fix a bug with setting the soft updates option from a script.jkh2001-03-231-4/+3
| | | | | | Eliminate an old warning brought about by insufficient foresight when creating the Menu structure. Have I ever mentioned that sysinstall really needs to be rewritten?
* Really finish softupdate setting from the label editor and fixjkh2001-03-121-16/+20
| | | | | | | | | | 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.
* Support setting soft updates from the label editor.jkh2001-03-101-12/+27
|
* Bump the i386 default root by another 30MB to 100MB total. The Alphaobrien2001-02-071-2/+2
| | | | | | default root bumps 20MB to 110MB. Requested by: kris
* Add 20MB to the default / size for this in-development branch.obrien2001-02-071-2/+2
|
* 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 :).
* - Support MBR boot loaders that are larger than one sector size.jhb2000-07-121-9/+0
| | | | - Axe the 1024 cylinder checks as they are no longer relevant.
* o Add support for loading the rsaref or rsaintl packages, dependingjkh2000-02-291-2/+5
| | | | | | | | | | 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
* Better screen handling in X desktop setup.jkh1999-12-181-11/+0
| | | | Don't get cute with nested dialogs now.
* Bump default root size to 50MB on i386 (70MB on Alpha).jkh1999-12-171-3/+3
| | | | Requested incessantly by: billf
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-8/+9
| | | | | | | | | | | | 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/+1
| | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up.
* Allow 2 more characters for Mike's long device names.jkh1999-12-021-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make the newfs parameters a global option.phk1999-08-051-2/+3
| | | | | | 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.
* Allow room for editing labels on disks that are >= 10000Mbbrian1999-07-291-5/+5
| | | | Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* 1. Silence warning.jkh1999-05-071-1/+2
| | | | 2. Deal with potential whitespace evil early (PR#7455).
* Bump default root fs sizes, for both i386 and alpha architectures.jkh1999-03-301-6/+6
|
* o Use larger minimum root size on alpha.jkh1999-03-091-2/+13
| | | | | | o Use proper architecture subdir when fetching bits from snapshot servers. Submitted by: Doug Rabson <dfr@nlsystems.com>
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-11/+11
| | | | | | | | 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.
* More support for Alpha installs.jkh1999-01-291-3/+27
| | | | Submitted by: dfr
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,jkh1999-01-081-1/+12
| | | | | | don't present label editor, etc). Submitted by: dfr
* MF22: Paul Traina's changes.jkh1998-07-181-3/+11
|
* Fix bogusly shadowed variable.jkh1998-03-131-5/+3
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* MF22: reset root flags properly.jkh1998-02-061-1/+3
|
* MFS.obrien1997-11-051-3/+3
|
* Fix bogon I introduced while adding disks menu to label editor.jkh1997-10-141-3/+5
|
* Only need to call label editor for all drives.jkh1997-10-131-11/+5
|
* Separate the siamese twins that were the partition and label editor.jkh1997-10-121-40/+99
| | | | | | 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.
* More label editor enhancements.jkh1997-09-201-50/+46
| | | | Submitted by: Ed Gold <vegold01@starbase.spd.louisville.edu>
* Fix conditional bogon in Label Editor [from Ed Gold]jkh1997-09-201-4/+4
| | | | Print info boxes without titles.
* MF22: pst's changes.jkh1997-09-161-18/+20
| | | | Submitted by: pst
* Scrolling partition and label lists now make it possible to partitionjkh1997-09-091-10/+144
| | | | | | | | 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>
* Make some changes to the way the label editor reads script variablesjkh1997-08-111-38/+49
| | | | | | | | | | | | | | | 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).
* Resurrect / implement some of the more esoteric scripting features,jkh1997-06-051-2/+115
| | | | such as partitioning a disk or overriding an interactive prompt.
* Fix a long-standing bug with the label editor I just found (you couldjkh1997-03-111-9/+10
| | | | | | mount two dos partitions with the same name). Neaten up a dialog box that was encroaching on the right edge.
* YAMF22jkh1997-03-081-1/+3
|
OpenPOWER on IntegriCloud