#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
178946 |
|
11-May-2008 |
obrien |
Better to just statically set the name vs. determine at run time.
|
#
171195 |
|
03-Jul-2007 |
scf |
Significantly reduce the memory leak as noted in BUGS section for 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)
|
#
169177 |
|
01-May-2007 |
ache |
Back out all POSIXified *env() changes.
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.
|
#
169134 |
|
30-Apr-2007 |
ache |
Preparing for upcoming POSIXed putenv() rewrite: don't allow const as putenv() arg, dup it
|
#
161099 |
|
08-Aug-2006 |
delphij |
Make sade(8) WARNS=3 clean.
|
#
161073 |
|
08-Aug-2006 |
delphij |
Shutdown curses when exit. While I am there, remove a stale comment which does not apply to sade(8).
|
#
161060 |
|
07-Aug-2006 |
netchild |
Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and 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
|
#
161059 |
|
07-Aug-2006 |
netchild |
Forced commit to note repo copy from sysinstall.
Repo copy by: markm
|
#
156118 |
|
28-Feb-2006 |
jhb |
- Autogenerate a menu containing a list of countries and keymaps supported 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
|
#
153430 |
|
14-Dec-2005 |
iedowse |
Remove usbd(8) and all references to it. It is no longer necessary since devd(8) now provides the same functionality.
Submitted by: Anish Mistry
|
#
119168 |
|
20-Aug-2003 |
imp |
The PCMCIA Standard dictates that those funny cards you insert into laptops are "PC Cards" and uses said term consistantly. Allow my foolish hobgoblins to get the better of me and become consistant.
|
#
119167 |
|
20-Aug-2003 |
imp |
Add a new variable 'skipPCCARD'. This variable will cause sysinstall to ignore all PC Card devices.
Submitted by: Anders Nordby PR: bin/37650
MFC After: 2 weeks
|
#
109333 |
|
15-Jan-2003 |
jhb |
Add a function driverFloppyCheck() that asks the user if they would like to load drivers from the driver floppy if the "driver_floppy" variable is set in the kernel environment and call this function after probing devices but before displaying the main menu.
X-MFC after: as soon as I finish committing to current Approved by: re@ (blanket)
|
#
104940 |
|
11-Oct-2002 |
obrien |
* Negative #if's are harder to read as they don't tell exactly what arch something applies to. So change #ifndef to an explicit list of defines. * Treate sparc64 and ia64 as 64-bit platforms, which means larger roots. * sparc64 should halt back to the firmware, not reset. * sparc64 doesn't need to play MS-DOS/BIOS partition crap games.
Reviewed by: jake
|
#
93401 |
|
29-Mar-2002 |
murray |
Only build and link the pccard module on architectures that support it (and that have room for pccardd on mfsroot.flp).
|
#
84831 |
|
12-Oct-2001 |
jkh |
DTRT in the restart case
|
#
83880 |
|
24-Sep-2001 |
murray |
Add a couple of functions to create persistent variables that will survive a sysinstall Ctrl-C -> 'Restart'. This fixes another annoying bug where restarting sysinstall will try to reload kernel modules and do other external things that have already been done. For now, use these persistent variables to keep track of module, usbd, and pccardd initialization.
Bug found by: rwatson MFC after: 1 week
|
#
78889 |
|
27-Jun-2001 |
nik |
Various changes to the messages so that they are now appropriate for both CD and DVD releases of FreeBSD.
|
#
74999 |
|
29-Mar-2001 |
jkh |
Correct message to say "shutting down" rather than just "shutting"
Noticed by: Joachim Strömbergson <watchman@ludd.luth.se>
|
#
70005 |
|
14-Dec-2000 |
jkh |
Adapt sysinstall to use the new msgNoYes() function which assumes 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 :).
|
#
68048 |
|
31-Oct-2000 |
hosokawa |
Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp. http://people.freebsd.org/~hosokawa/driver-floppy/ for details.
Reviewed by: current@FreeBSD.org
|
#
67862 |
|
29-Oct-2000 |
eivind |
Teach sysinstall how to restart itself on Ctrl-C (as an addition to its old tricks of rebooting and continuing where it was.)
Reviewed by: jkh, jhb
|
#
61277 |
|
05-Jun-2000 |
nyan |
- Remove obsolete PC-card boot.flp hack. It was for making both PC-card 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
|
#
60417 |
|
12-May-2000 |
jhb |
Add support for USB to sysinstall. This includes running usbd and setting 'usbd_enable' in rc.conf during nwe installs if USB is detected. Also, since usbd already handles USB mice automatically, note that the mouse setup section in sysinstall only applies to non-USB mice.
|
#
57134 |
|
11-Feb-2000 |
jkh |
Include CDs in the list of things to remove before rebooting.
|
#
55942 |
|
14-Jan-2000 |
hosokawa |
Eliminate PC-card installation floppy and add PC-card support for generic installation floppy.
|
#
55390 |
|
04-Jan-2000 |
jkh |
Ignore SIGPIPE by default.
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> PR: 13900
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48625 |
|
06-Jul-1999 |
hosokawa |
Use #include <pccard_conf.h> instead of -DPCCARD. Now we don't have to make clean before make boot.flp's.
|
#
47983 |
|
17-Jun-1999 |
markm |
Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
|
#
43685 |
|
05-Feb-1999 |
jkh |
Totally change the way variables are accounted for in sysinstall. 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.
|
#
42386 |
|
07-Jan-1999 |
jkh |
Adapt sysinstall more fully to the alpha (deal with proper boot signatures, don't present label editor, etc).
Submitted by: dfr
|
#
34466 |
|
10-Mar-1998 |
jkh |
MF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty.
|
#
33738 |
|
22-Feb-1998 |
jkh |
Edit a message so that people stop sending me weird emails. :)
|
#
29517 |
|
16-Sep-1997 |
jkh |
Much better dispatch code and scripting support. Submitted by: pst
|
#
26456 |
|
05-Jun-1997 |
jkh |
Resurrect / implement some of the more esoteric scripting features, such as partitioning a disk or overriding an interactive prompt.
|
#
25052 |
|
20-Apr-1997 |
jkh |
Sync with 2.2 and clean up some tortured english that was added.
|
#
24038 |
|
19-Mar-1997 |
jkh |
Some of my pending merge changes, Paul Traina's more flexible config file loading code. Submitted by: pst
|
#
22988 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
22950 |
|
20-Feb-1997 |
jkh |
Change handling of bad signals; there are reasons why this is actually not such a great idea.
|
#
22756 |
|
15-Feb-1997 |
jkh |
Read /etc/resolv.conf information as well as /etc/sysconfig info, making this a little more robust.
|
#
22721 |
|
14-Feb-1997 |
jkh |
o Try to be more aggressive about reading in old configuration data so that we're more useful in multi-user mode. This is still not 100%, but it pulls in a lot more than it used to. Some of the "composite" variables in /etc/sysconfig are going to take more work.
o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do so.
o Reset media properly when reselecting. Longstanding bogon.
o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle this differently shortly.
o Fix bug where cancel in TCP setup dialog still checked data fields. I think this closes a PR, but I will have to go look.
|
#
22102 |
|
29-Jan-1997 |
jkh |
Cosmetic tweaks. Also redirect stderr to Debug when running multiuser.
|
#
22069 |
|
28-Jan-1997 |
jkh |
Death to another bad idea: Don't auto-mount CDROM on startup.
|
#
21853 |
|
18-Jan-1997 |
jkh |
Implement compiled-in config file handling a little better - now that there's no filesystem on the boot.flp image we need to prompt for the configuration floppy.
|
#
21795 |
|
17-Jan-1997 |
jkh |
Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's life easier). Only run install.cfg if running as init. It's something of a security hole otherwise. :)
|
#
21764 |
|
16-Jan-1997 |
jkh |
Clean up a long-standing bug in the scripting code. You could set variables, but you couldn't call functions! Now you can do both. Guard against whitespace pollution in variable names.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
#
21243 |
|
03-Jan-1997 |
jkh |
Do something I've wanted to do for quite some time - collapse all the common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
|
#
20355 |
|
12-Dec-1996 |
jkh |
Undo one of my memory optimization hacks - it actually made things more complicated.
|
#
20354 |
|
12-Dec-1996 |
jkh |
Fix some bogons in my close() handling.
|
#
20331 |
|
11-Dec-1996 |
jkh |
Be more efficient in how we use memory (stumbled across while looking for something else) for attributes and variables.
Remove stack-stomper in sstrncpy().
|
#
20315 |
|
11-Dec-1996 |
jkh |
Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data. Use Robert Nordier's stand-alone DOS I/O library for the purpose. It this works as well as Robert says it does, it should drastically reduce (or even eliminate) our "I can't install from my DOS partition!" calls.
2. As a result of the above, go to stdio file descriptors for all media types.
3. Taking advantage of #2, start using libftpio for FTP transfers instead of maintaining our own parallel version of the FTP transfer code. Yay! I ripped something out for a change!
#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
|
#
18501 |
|
26-Sep-1996 |
pst |
If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is defined and the user inserts a floppy), read the config file to pre-define variables for a custom installation.
[Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
|
#
18310 |
|
15-Sep-1996 |
jkh |
Remove some bogosities I introduced with the init file hack (not serious, just bogus). Also turn off by default - whoops!
|
#
18144 |
|
07-Sep-1996 |
jkh |
Various minor improvements.
|
#
17246 |
|
22-Jul-1996 |
jkh |
Fix some bogus argument handling - whups! James was right..
|
#
17126 |
|
12-Jul-1996 |
jkh |
Fix something I broke with CDROM installation (well, I knew my first test CD would turn at least one bug up :-).
|
#
16887 |
|
01-Jul-1996 |
jkh |
Make it plainer how to exit.
|
#
16766 |
|
26-Jun-1996 |
jkh |
Allow argv[0] to be a command also.
|
#
16201 |
|
08-Jun-1996 |
jkh |
Make CDROMs automagically select as the default media type.
If you're running multi-user, check off items in the packages menu based on whether or not they're actually installed.
|
#
15961 |
|
28-May-1996 |
jkh |
Only look at command-line args if we're not running as init - duh! Thanks, David.
|
#
15788 |
|
16-May-1996 |
jkh |
Fix some long-standing malloc bugs in the package handling code (freeing garbage in one place, leaking memory in another).
Add a facility to invoke subsystems directly by naming them on sysinstall's command-line when running post-install. A replacement for pkg_manage might, for example, be `/stand/sysinstall configPackages'
Fix bogon where upgrade shell was entered with tty modes spammed.
Fix bug with release name checking in ftp_strat. Turned a bunch of bogus exit()s into proper calls to systemShutdown().
|
#
15439 |
|
28-Apr-1996 |
jkh |
Add a new -fake argument to make sysinstall not actually change things while I'm testing it.
|
#
15242 |
|
13-Apr-1996 |
jkh |
1. Update all the copyrights to delete useless clauses 3 and 4. 2. Change more of the menu code over to new system. 3. Streamline label editor.
|
#
15091 |
|
07-Apr-1996 |
jkh |
Major surgery.
1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs) so that I can create composite menus with radio/checkbox/... items in them, removing some long-standing UI bogons in various menus. This work isn't finished yet, but will be done in two phases. This is phase one.
2. Remove all the script installation stuff. I never got time to document it, it was arcane and it just complicated much of the code. There are better ways of doing this if I want to do auto-driven installations later.
3. Remove much dead code and otherwise attempt to remove as much historical grot as possible so that this code is easier to hack on. This is also a two-stage process, phase one of which is now complete.
|
#
12661 |
|
07-Dec-1995 |
peter |
Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
|
#
10882 |
|
18-Sep-1995 |
peter |
This mega-commit brings in Jordan's latest sysinstall version.. This looks like it was developed offline, and is being spammed over the top of the existing. "That's fine by me! I dont really care how you do it, just get it in there..." said Jordan in a conversation a short while ago...
|
#
9202 |
|
11-Jun-1995 |
rgrimes |
Merge RELENG_2_0_5 into HEAD
|
#
8881 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
8810 |
|
28-May-1995 |
jkh |
Sync up with Poul.
|
#
8727 |
|
24-May-1995 |
jkh |
Bring everybody up to date on my morning's work.
1. Fix a few bugs in the ftp installation code and implement proper ftp and network shutdown routines.
2. Clean up the menus a fair bit - add a FreeBSD configuration menu.
3. Eliminate the last of the "chaining" - the installation now does the most obvious thing in the most obvious cases and doesn't present you with more menus than you were expecting. This makes it necessary to be a little more explicit in places, but it's still less confusing.
4. Add a few more safety nets for the user. Change a few hard-and-fast limits to warnings (it now runs as non-root, Bruce).
5. Add descriptions for all the supported ethernet cards.
6. Make the cpio floppy extract put up a menu requesting the drive you wish to use if you have more than one; don't just always assume drive A.
|
#
8722 |
|
24-May-1995 |
jkh |
Sync to latest ftp-capable sysinstall. We're getting there!
|
#
8576 |
|
17-May-1995 |
jkh |
Commit my latest so that Gary can sync up - this version should also be the grounds for our first round of testing in the release I'm rolling. It doesn't load the distributions yet, but it should do everything else.
|
#
8556 |
|
16-May-1995 |
jkh |
This will now compile and even scribble helpfully on your disks. It remains to be seen how successfully. The distribution loading code is still not here yet, but the partition/newfs/mount/cpio-extract cycle is as complete as it's ever going to get, modulo possible bug fixes. The TCP/IP setup screen is also sort of here, albeit in a highly-changing state due to the fact that per-interface information isn't being kept right now but is being added (thanks, Gary!).
|
#
8549 |
|
16-May-1995 |
jkh |
This does _not yet compile_; I'm simply bringing in my changes from this weekend in order to more easily sync with my CVS tree at home. Another commit relative to these changes will follow shortly.
|
#
8314 |
|
07-May-1995 |
jkh |
Correct a few ordering errors in how the partitions were being displayed.
|
#
8302 |
|
05-May-1995 |
jkh |
All the editors are finished. Now if I can just get a problem with libdisk fixed, we should be able to fully set up the user's disk. Still to come with next commit: filesystem setup, distribution extraction, final configuration.
|
#
8278 |
|
04-May-1995 |
jkh |
This will now write MBR entries - should be enough for testing.
|
#
8262 |
|
04-May-1995 |
jkh |
My latest round of changes - make the "slices" editor work.
|
#
8098 |
|
27-Apr-1995 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r8097, which included commits to RCS files with non-trunk default branches.
|
#
8097 |
|
27-Apr-1995 |
jkh |
Here is my first "framework" commit of the new sysinstall. There is a LOT more to come in the next 24 hours, this is just the first stable result of 8 hours of hacking so far. The specification format for menus is pretty much hammered out and the beginnings (very humble) of the doc hierarchy are present for an example. It should be quite easy to add a lot more menus quickly to this since I did go somewhat out of my way to make the framework easy to work with. This is NOT the glorious semi-graphical sysinstall (or whatever its name will be) that the install-geeks are working on, this is simply the "son of sysinstall" I've been promising to write in the interim for 2.0.5 and 2.1R (super install doesn't come until 2.2R).
|