summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
Commit message (Collapse)AuthorAgeFilesLines
* Oops, missed removing an 's' in previous rev.kensmith2008-12-301-1/+1
| | | | Submitted by: Jens Schweikhardt (schweikh <at> schweikhardt <dot> net)
* Clean up this message a little bit.kensmith2008-12-301-4/+3
|
* Sound less scary about errorousous disk geometry due to wanting to limitobrien2008-12-301-33/+60
| | | | | | to 65535 cylinders. Submitted by: Carlos A. M. dos Santos <unixmania@gmail.com>
* Move sysinstall/sade away from TIOCGSIZE.ed2008-05-231-4/+4
| | | | | | | | | Both sysinstall and sade still seem to use the TIOCGSIZE ioctl to obtain the terminal dimensions. We'd better use TIOCGWINSZ to do this. The TIOCGWINSZ interface is preferred, because it also allows sizes in pixels to be passed to the application (though this is not used here). Approved by: philip (mentor)
* Better to just statically set the name vs. determine at run time.obrien2008-05-116-6/+8
|
* Clean up several instances of SADE calling itself sysinstall.obrien2008-05-115-10/+12
| | | | (do so generically so the same set of changes can be applied to sysinstall)
* o Change the warning dialog for the 'W' command in both the labelmtm2008-05-052-14/+8
| | | | | | | | | and partition editors to reflect the fact that this is a stand-alone application, not sysinstall(8). o Change an instance of sade(8) refering to itself as sysinstall(8) in a confirmation dialog. MFC after: 1 week
* sade(8) does not need FTP I/O.delphij2008-05-031-2/+2
|
* Adjust HISTORY.obrien2007-10-121-1/+1
|
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-042-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
* Back out all POSIXified *env() changes.ache2007-05-012-2/+2
| | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
* Preparing for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow const as putenv() arg, dup it
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't allow putenv() arg be on the stack, use strdup()
* Use sizeof() for calculating the buffer size instead of hard-coded values.kevlo2007-03-061-1/+1
|
* 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
|
OpenPOWER on IntegriCloud