aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sade/label.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add auto-fill-on-delete. When deleting an 'A'uto created partitionMatthew Dillon2001-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 Notes: svn path=/head/; revision=87581
* Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonableMatthew Dillon2001-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 Notes: svn path=/head/; revision=87557
* Tweak the Alpha partition warning wording and comment a little.David E. O'Brien2001-07-131-5/+5
| | | | Notes: svn path=/head/; revision=79680
* Rudamentary attempt to reconize when `a' is not the first partition on theDavid E. O'Brien2001-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> Notes: svn path=/head/; revision=79678
* Make soft updates option print more nicely and stop overflow ofJordan K. Hubbard2001-05-061-5/+8
| | | | | | | | right-hand margin when set in 2nd column. Also do a small amount of code cleanup. Notes: svn path=/head/; revision=76299
* Remove now obsolete check for root filesystems > cyl 1024. The bootJordan K. Hubbard2001-05-031-14/+4
| | | | | | | | | loader can handle such cases. Noted by: olgeni Notes: svn path=/head/; revision=76237
* Bump the default / size up another 10MB to 120MB.David E. O'Brien2001-04-051-1/+1
| | | | | | | Requested by: jhb Notes: svn path=/head/; revision=75250
* Fix a bug with setting the soft updates option from a script.Jordan K. Hubbard2001-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? Notes: svn path=/head/; revision=74674
* Really finish softupdate setting from the label editor and fixJordan K. Hubbard2001-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. Notes: svn path=/head/; revision=74156
* Support setting soft updates from the label editor.Jordan K. Hubbard2001-03-101-12/+27
| | | | Notes: svn path=/head/; revision=74086
* Bump the i386 default root by another 30MB to 100MB total. The AlphaDavid E. O'Brien2001-02-071-2/+2
| | | | | | | | | default root bumps 20MB to 110MB. Requested by: kris Notes: svn path=/head/; revision=72124
* Add 20MB to the default / size for this in-development branch.David E. O'Brien2001-02-071-2/+2
| | | | Notes: svn path=/head/; revision=72122
* 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
* - Support MBR boot loaders that are larger than one sector size.John Baldwin2000-07-121-9/+0
| | | | | | | - Axe the 1024 cylinder checks as they are no longer relevant. Notes: svn path=/head/; revision=63031
* o Add support for loading the rsaref or rsaintl packages, dependingJordan K. Hubbard2000-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 Notes: svn path=/head/; revision=57617
* Better screen handling in X desktop setup.Jordan K. Hubbard1999-12-181-11/+0
| | | | | | | Don't get cute with nested dialogs now. Notes: svn path=/head/; revision=54762
* Bump default root size to 50MB on i386 (70MB on Alpha).Jordan K. Hubbard1999-12-171-3/+3
| | | | | | | Requested incessantly by: billf Notes: svn path=/head/; revision=54716
* Completely rip-out and redesign sysinstall's refresh model as wellJordan K. Hubbard1999-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. Notes: svn path=/head/; revision=54587
* I shouldn't have incremented PART_OFF; it was wrong and broke labelJordan K. Hubbard1999-12-121-1/+1
| | | | | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up. Notes: svn path=/head/; revision=54473
* Allow 2 more characters for Mike's long device names.Jordan K. Hubbard1999-12-021-3/+3
| | | | Notes: svn path=/head/; revision=54014
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Make the newfs parameters a global option.Poul-Henning Kamp1999-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. Notes: svn path=/head/; revision=49441
* Allow room for editing labels on disks that are >= 10000MbBrian Somers1999-07-291-5/+5
| | | | | | | Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org> Notes: svn path=/head/; revision=49202
* 1. Silence warning.Jordan K. Hubbard1999-05-071-1/+2
| | | | | | | 2. Deal with potential whitespace evil early (PR#7455). Notes: svn path=/head/; revision=46615
* Bump default root fs sizes, for both i386 and alpha architectures.Jordan K. Hubbard1999-03-301-6/+6
| | | | Notes: svn path=/head/; revision=45127
* o Use larger minimum root size on alpha.Jordan K. Hubbard1999-03-091-2/+13
| | | | | | | | | o Use proper architecture subdir when fetching bits from snapshot servers. Submitted by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=44601
* Totally change the way variables are accounted for in sysinstall.Jordan K. Hubbard1999-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. Notes: svn path=/head/; revision=43685
* More support for Alpha installs.Jordan K. Hubbard1999-01-291-3/+27
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=43392
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,Jordan K. Hubbard1999-01-081-1/+12
| | | | | | | | | don't present label editor, etc). Submitted by: dfr Notes: svn path=/head/; revision=42386
* MF22: Paul Traina's changes.Jordan K. Hubbard1998-07-181-3/+11
| | | | Notes: svn path=/head/; revision=37735
* Fix bogusly shadowed variable.Jordan K. Hubbard1998-03-131-5/+3
| | | | | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=34543
* MF22: reset root flags properly.Jordan K. Hubbard1998-02-061-1/+3
| | | | Notes: svn path=/head/; revision=33132
* MFS.David E. O'Brien1997-11-051-3/+3
| | | | Notes: svn path=/head/; revision=30956
* Fix bogon I introduced while adding disks menu to label editor.Jordan K. Hubbard1997-10-141-3/+5
| | | | Notes: svn path=/head/; revision=30403
* Only need to call label editor for all drives.Jordan K. Hubbard1997-10-131-11/+5
| | | | Notes: svn path=/head/; revision=30381
* Separate the siamese twins that were the partition and label editor.Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=30345
* More label editor enhancements.Jordan K. Hubbard1997-09-201-50/+46
| | | | | | | Submitted by: Ed Gold <vegold01@starbase.spd.louisville.edu> Notes: svn path=/head/; revision=29633
* Fix conditional bogon in Label Editor [from Ed Gold]Jordan K. Hubbard1997-09-201-4/+4
| | | | | | | Print info boxes without titles. Notes: svn path=/head/; revision=29628
* MF22: pst's changes.Jordan K. Hubbard1997-09-161-18/+20
| | | | | | | Submitted by: pst Notes: svn path=/head/; revision=29501
* Scrolling partition and label lists now make it possible to partitionJordan K. Hubbard1997-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> Notes: svn path=/head/; revision=29249
* Make some changes to the way the label editor reads script variablesJordan K. Hubbard1997-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). Notes: svn path=/head/; revision=28075
* Resurrect / implement some of the more esoteric scripting features,Jordan K. Hubbard1997-06-051-2/+115
| | | | | | | such as partitioning a disk or overriding an interactive prompt. Notes: svn path=/head/; revision=26456
* Fix a long-standing bug with the label editor I just found (you couldJordan K. Hubbard1997-03-111-9/+10
| | | | | | | | | mount two dos partitions with the same name). Neaten up a dialog box that was encroaching on the right edge. Notes: svn path=/head/; revision=23729
* YAMF22Jordan K. Hubbard1997-03-081-1/+3
| | | | Notes: svn path=/head/; revision=23529
* 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-1/+1
| | | | | | | | | | 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
* Accept emacs-style editing keys for traversal and ESC as an abort character.Jordan K. Hubbard1997-01-151-0/+3
| | | | Notes: svn path=/head/; revision=21698
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* As Paul has just pointed out, much of my strncpy() usage was eitherJordan K. Hubbard1996-12-091-3/+3
| | | | | | | | | | 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> Notes: svn path=/head/; revision=20247
* Correctly re-adjust current slice # when slices are deleted.Jordan K. Hubbard1996-10-061-24/+46
| | | | | | | Beautify the code a little. Notes: svn path=/head/; revision=18744