summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
Commit message (Collapse)AuthorAgeFilesLines
* Revise markup.ru2006-09-301-10/+16
|
* Remove the keymap stuff too, it is not needed in sade.netchild2006-08-094-152/+2
|
* Get rid of the rtermcap stuff (embedding termcaps into the program). Thisnetchild2006-08-095-119/+5
| | | | | | | is needed in sysinstall on boot, but not in sade on a fully working system. After this change I noticed no change in behavior on a vty when TERM is not set.
* Bump WARNS level to 3.delphij2006-08-091-0/+1
| | | | Tested with: make universe
* Unbreak sparc64 build.delphij2006-08-091-3/+3
| | | | Reported by: tinderbox
* Fix PC98 build.delphij2006-08-091-1/+1
| | | | Spotted by: make universe
* Partitions are only meaningful for i386 and amd64 architectures, so disabledelphij2006-08-085-45/+8
| | | | these code on other architectures.
* Make sade(8) WARNS=3 clean.delphij2006-08-0814-221/+55
|
* Typo (favour -> favor).delphij2006-08-081-1/+1
|
* Shutdown curses when exit. While I am there, remove a staledelphij2006-08-081-1/+4
| | | | comment which does not apply to sade(8).
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵netchild2006-08-0723-6355/+131
| | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu
* Forced commit to note repo copy from sysinstall.netchild2006-08-071-0/+1
| | | | Repo copy by: markm
* Alpha doesn't support linux ABI compat now.jhb2006-05-101-1/+1
|
* Document sysinstall's limitation on operating on mounted disks.scottl2006-04-301-0/+11
|
* Fix minimal installation check. 'X' was not displayed when it was selected.jkim2006-04-141-1/+1
| | | | | Reported by: Ian J. Hart <ianjhart at ntlworld dot com> Pieter de Goeje <pieter at degoeje dot nl>
* Teach sysinstall about mfi(4).scottl2006-03-291-0/+1
|
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-241-0/+1
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
* - Use jp.pc98 as default keymap for pc98.nyan2006-03-161-1/+5
| | | | - Remove an extra argument.
* If a keymap file is not found for the selected country then default to the morethompsa2006-03-151-2/+5
| | | | | | | common USA ISO rather than index 0 (Belgian). Reviewed by: jhb MFC after: 1 day
* use the same test as release/Makefile to select WITH_SMPsam2006-03-111-2/+3
| | | | Reviewed by: ru
* Disable an SMP detection on pc98.nyan2006-03-102-2/+2
|
* missed a case that needs WITH_SMPsam2006-03-091-0/+2
| | | | Noticed by: kensmith
* Revamp base system packaging of kernels to enable up/smp selectionsam2006-03-084-2/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb.
* Add new NTP servers for Taiwan.ceri2006-03-011-0/+15
| | | | | | | PR: bin/92160 Submitted by: Jose Liang <jose at jose dot idv pinkt tw> Approved by: jhb MFC After: 2 days
* Wrap keymap menu helper functions in #ifdef WITH_SYSCONS to unbreak thejhb2006-03-011-0/+2
| | | | | | build on archs that don't include syscons support in sysinstall. Reported by: sparc64 tinderbox
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-287-19/+10
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* Use some helper macros for the device table so it can fit in 80 columns andjhb2006-02-281-77/+89
| | | | | to allow us to use default values in some entries to quiet warnings. This table is actually readable again now.
* Drop unused major, minor, and delta values from device table.jhb2006-02-281-23/+20
|
* G/C some cruft.jhb2006-02-282-37/+2
|
* - Autogenerate a menu containing a list of countries and keymaps supportedjhb2006-02-287-4/+196
| | | | | | | | | | | | | | | by syscons. - If we are running as init, popup the country menu before the main menu. If a non-default country is chosen, then a second menu is brought up to let the user choose a keymap. By default the default keymap for the country that was selected is highlighted. If the user chooses the default country, then the default keymap is just assumed and the user is not presented with the keymap menu. Currently the default country is set to "United States" except for PC98 which assumes "Japan". PR: bin/93853 Submitted by: Seth Kingsley sethk at magnesium dot net MFC after: 3 days
* - Back out 1.155. I mismerged my ancient local patch. Luckily it wasjkim2006-02-231-18/+23
| | | | | | | | completely noop. - Geometry sanitization for non-interactive mode is moved to correct place. Reported by: Anton Yuzhaninov <citrin at citrin dot ru> Pointyhat: me
* s/lp/plip/ for PLIP interfaces.ceri2006-02-131-1/+1
| | | | | Approved by: jhb MFC after: 1 week
* Remove attempts to use mknod.ceri2006-02-071-44/+3
| | | | Approved by: jhb
* Another update for reality: "dangerously dedicated" mode is nowceri2006-02-061-25/+23
| | | | | | | achieved by hitting 'F', which is no longer undocumented. PR: bin/92533 Submitted by: Rudolf Cejka <cejkar at fit.vutbr dot cz>
* Correct a user-visible typo.ceri2006-02-051-1/+1
|
* Gratuitous "typo in comment" fix.ceri2006-02-051-1/+1
|
* Bring these files somewhat into the present.ceri2006-02-052-9/+3
| | | | | | | Perform some rewording while here. Remove register.hlp, since the code that deals with it was removed nearly 7 years ago.
* - Hide 'incorrect geometry warning' in non-interactive mode. A user shouldjkim2006-01-271-11/+18
| | | | | | know what they are doing in non-interactive mode. Less scarier warning goes to debugging info instead. - Print sanitized geometry to debugging info.
* Add `mediaOpen' function. This function mounts selected media device.jkim2006-01-273-0/+14
| | | | | | | | | | | | | | | For example, you can dynamically generate and load configuration file depending on the hardware configuration with the following template: mediaSetCDROM mediaOpen command='/dist/rescue/sh /dist/scripts/install.sh' system mediaClose configFile=/tmp/generated.cfg loadConfig Now we have full access to files on the media before installation begins.
* Add ntp.cgi.cz.ceri2006-01-151-0/+3
| | | | | | | PR: bin/90095 Submitted by: Jakub Chromy <hicks at cgi dott cz> Approved by: jhb (proxy mentor) MFC after: 3 days
* On i386, 7.0 requires 106MB on /usr. 6.0 requires 101MB.ceri2005-12-301-1/+1
| | | | | | | Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail due to /usr being too small. MFC After: 8 days
* An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout toceri2005-12-291-2/+2
| | | | | | | succeed, whilst an i386 with 256MB of RAM requires more. Up the amount of disk hinted at as a minimum requisite for auto-layout. MFC after: 1 week
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-154-14/+1
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* -mdoc sweep.ru2005-11-181-1/+1
|
* Sync whitespace change that is found uniquely in RELENG_6, to reduce diffdelphij2005-10-091-1/+1
| | | | against it.
* Switch from OLDCARD to NEWCARD on pc98.nyan2005-09-272-8/+0
|
* - Remove NTP servers which do not resolve in DNS.rodrigc2005-08-241-87/+69
| | | | | | | | | | - Use pool.ntp.org servers where possible, thanks to Chuck Swiger <cswiger at mac dot com> . - Update list of Swedish NTP servers, thanks to Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> . PR: bin/75479 MFC after: 1 day
* Change the default partition sizing code in order tocperciva2005-08-161-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Provide larger /, /var, and /tmp partitions (the last increase was in 2001, and we now have both larger hard drives and more space-hungry software.) 2. If there is enough space available, allocate extra space to /var sufficient to store a crash dump. On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes will now be as follows: swap RAMsize * 2 / 512 MB /tmp 512 MB /var 1024 MB + RAMsize /usr the rest (8GB or more) On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes will be in the following ranges, with space allocated proportionally: swap RAMsize / 8 -- RAMsize * 2 / 256 MB -- 512 MB /tmp 128 MB -- 512 MB /var 128 MB -- 1024 MB /usr 1536 MB -- 8192 MB On systems with even less disk space, the existing behaviour is not changed. Approved by: re (kensmith) MFC after: 1 day (or once people stop arguing about colours of paint)
* The /stand directory now disappears out from under sysinstall whilekensmith2005-08-051-1/+2
| | | | | | | | | it is running during installations. The vsystem() function does get used after this happens (e.g. if you manually configure the network interface and ask it to enable the interface) so it needs to be a little smarter about whether it uses /stand/sh or /bin/sh. MFC after: 3 days
* Recognise GEM ethernet adapter (sparc64/ppc).grehan2005-07-211-0/+1
| | | | | reviewed by: scottl MFC after: 3 days
OpenPOWER on IntegriCloud