summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/devices.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Add device entries and documentation for Intel EtherExpress Pro/10 driver.jkh1997-01-171-0/+1
|
* Keep our serial ports distinct so that first device is not found forjkh1997-01-151-0/+17
| | | | | | all (closes PR#2296). Print better FTP failure diagnostics Do better media failure checking in install.
* Register SLIP/PPP devices properly again.jkh1997-01-151-19/+11
| | | | | Make the /etc resurrection more sensible for upgrade. No longer quite so annoying.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Add extra tweak for -current compilation and some debugging.jkh1997-01-061-2/+3
|
* Clean up device handling WRT slip and ppp devices. An incomplete transitionjkh1997-01-041-15/+31
| | | | from one convention to another had things pretty fouled up in here.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-4/+1
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Clean up some calls to close().jkh1996-12-261-6/+4
|
* Now that I've got my source tree sorted out, bring all the thingsjkh1996-12-141-1/+4
| | | | I've been committing into 2.2 directly all this time.
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-22/+13
| | | | | | | | | | | | | | | | 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>
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-2/+2
| | | | | | | 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>
* Several areas of improvement:jkh1996-12-081-14/+17
| | | | | | | | o Incorporate some of Tatsumi's bug fixes. o Remove the xperimnt and commerce distribution items; they haven't been actual distributions for awhile. o Try to sanitize the device checking code a little more. o Cosmetic work on the network code.
* Open devices read-only to test whether they are available. Thisjoerg1996-11-271-3/+3
| | | | allows to use write-protected tapes...
* Add vx to list of devices.jkh1996-11-151-1/+2
|
* 1. Change device probing so that high speed network devices are found beforejkh1996-10-051-52/+51
| | | | | | | | | | | SLIP/PPP devices, putting them before the others in the network device selection menu. 2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator for the "OK" button in FTP site selection menu. 3. Detect the NULL last symbol in the name list and initialize the other members correctly.
* Fix EBUSY checking in devices.c - DTRT when it's detected on a CD.jkh1996-07-131-3/+4
|
* Uh, this is what I was really thinking when I made the device registrationjkh1996-06-131-29/+42
| | | | changes - honest! :-)
* Dispense with the special case handling of cuaa* devices by synthesizingjkh1996-06-121-17/+30
| | | | separate entries for sl0 and ppp0 on each device.
* Bring this into sync.jkh1996-04-231-4/+1
| | | | | | | | | | I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-10/+3
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-04-071-10/+7
| | | | | | | | | | | | | | | 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.
* Remove some rather useless debugging messages.jkh1996-03-241-5/+1
|
* Lots of fixes:jkh1996-03-181-10/+5
| | | | | | | | | | | | | | | | 1. Revamp package installer to use new dependency lists and also pkg_add's new `read from stdin' mode to prevent a copy of the package from hitting the disk unnecessarily. 2. More fixes for running "not as init" - don't get upset if CDROM already mounted, do the right thing instead. 3. If running as init, assume first-time install and _don't show the (W)rite option in the fdisk screen. 4. Many other little tweaks, some of which will have to wait for fuller testing until I can create a boot floppy (testing certain system-destroying features of sysinstall can be a royal pain). Expect some more commits.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-2/+2
| | | | libdialog features).
* Remove netns and netiso, whatever it did here in the first place...phk1996-02-101-11/+1
|
* Bring my changes forward from 2.1jkh1995-12-111-5/+8
|
* Update the -current sources from the 2.1 branch.peter1995-12-071-5/+16
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-20/+43
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-3/+16
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Sync up with Poul.jkh1995-05-281-3/+3
|
* 1. Make this compile again after Poul's changes to the get() strategyjkh1995-05-271-2/+2
| | | | | | routine. 2. Improve the tcpip menu slightly.
* Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.jkh1995-05-261-2/+2
| | | | | | | | Root floppy (which actually may be able to go completely away at some point soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course) floppy. Fix more problems on Poul's Gripe List.
* Bring everybody up to date on my morning's work.jkh1995-05-241-15/+15
| | | | | | | | | | | | | | | | | | | | 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.
* Sync to latest ftp-capable sysinstall. We're getting there!jkh1995-05-241-40/+45
|
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-2/+2
| | | | | | | | | | use them yet, but it's close (we're working on the last wrinkles in the CD install for now). 2. Complete the CDROM installation strategy code. 3. Simplify the distribtuion loading code. 4. General error message cleanup. 5. Write the /etc/fstab file now and split those routines into config.c 6. Clean up the menus a little more.
* Try AGAIN to get the disklabel editor to do the right thing.jkh1995-05-211-1/+2
| | | | | | | | | | This is getting ridiculous. I may have to put the clear() back and take the performance penalty, Poul. Tweak the TCP/IP setup menu to look a little nicer. Add lp0 to the list of available network devices (it was found before but simply not described properly).
* 1. Start syncing up the network strategy code so that folks like Poul andjkh1995-05-211-3/+3
| | | | | | | | Justin can see it. 2. Attempt to fix the redisplay problems in label.c some more. Not clearing the screen each time is certainly faster, but it's causing all sorts of problems.
* Misc cpio evil. I think I'm going to start working locally and just dealjkh1995-05-201-3/+3
| | | | | | with the diff/CVS hassles - this represents far too many CVS commit messages for you folks, and trying to document each and every iteration of the code is a hassle (and not very useful at that).
* Hmmm. Try the raw floppy device! This failure mode is a bit strange.jkh1995-05-201-3/+3
|
* Whoops - copy_self() was going to the wrong place!jkh1995-05-201-3/+3
| | | | Use proper floppy device names.
* Use ppp0 for all serial devices. It's somewhat kludge, but atjkh1995-05-201-2/+3
| | | | least accurate (we only have one ppp device on the floppy).
* 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrongjkh1995-05-201-75/+48
| | | | | | | | | | | | | | | | | | implementation. 2. Totally rework device registration. It's about half the size and more powerful now. 3. Add DOS discovery. 4. Start filling in some of the strategy routines. 5. Another clean-up pass over the menus. 6. Make wizard code use Disk typedef. If I can get the first strategy routine finished tonite, we should have a working install (from ftp, at least) this weekend.
* This doesn't work - the extract code is half-baked. I commit it onlyjkh1995-05-201-14/+31
| | | | so that Gary can sync to it before I go to bed.. :)
* Include serial ports as possible network candidates.jkh1995-05-191-8/+21
|
* 1. Add serial devices to list of possible network device candidates.jkh1995-05-181-2/+5
| | | | | 2. Rework tcpip.c a bit so that devices which have been configured also have the enabled flag set.
* Commit my latest so that Gary can sync up - this version should alsojkh1995-05-171-10/+29
| | | | | 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.
* This will now compile and even scribble helpfully on your disks.jkh1995-05-161-75/+79
| | | | | | | | | 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!).
* This does _not yet compile_; I'm simply bringing in my changes fromjkh1995-05-161-276/+229
| | | | | this weekend in order to more easily sync with my CVS tree at home. Another commit relative to these changes will follow shortly.
OpenPOWER on IntegriCloud