summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/devices.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Clean this up a bit - add more documentation to the documentation menu.jkh1995-05-111-2/+3
|
* First round of changes after testing this on actual systems. Clean upjkh1995-05-111-3/+3
| | | | | some of the badly displayed menus, use the proper notification box for messages, make proceed work.
* Sync these up so that they'll get into my CVS tree at home, where I'll continuejkh1995-05-081-3/+27
| | | | working on the distribution extract stuff.
* Perform a much needed tidying-up pass over this code. Sleep for now,jkh1995-05-081-2/+2
| | | | more tomorrow.
* Implement the geometry command. Clean up the help a little.jkh1995-05-081-3/+14
|
* Implement a work-around for Create_Chunk providing no pointer to thejkh1995-05-071-1/+3
| | | | | new chunk. The partition editor now works as well as the underlying libdisk can support it - have at it, Poul!
* Make this compile again. Poul and I need to sync up again.jkh1995-05-071-1/+2
|
* Correct a few ordering errors in how the partitions were being displayed.jkh1995-05-071-7/+4
|
* Some fairly serious cleanup. The proper offset should now be used injkh1995-05-061-6/+9
| | | | | creating partitions. Still need to get the mount points displaying carefully, but I need to get this into my tree on time so that I can work on that.
* All the editors are finished. Now if I can just get a problem with libdiskjkh1995-05-051-7/+10
| | | | | | 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.
* Everything but the partition editor is done. This commit is for MBR testing.jkh1995-05-041-33/+52
|
* This will now write MBR entries - should be enough for testing.jkh1995-05-041-8/+12
|
* My latest round of changes - make the "slices" editor work.jkh1995-05-041-30/+214
|
* Commit my latest changes before having a nap. Still not close to done,jkh1995-05-011-0/+122
nor is it in sync with my working sources, but it leaves me less CVS hassles to bring in the new files at this time. Still no documentation to translate quite yet, but soon. This stuff is actually very close now.
OpenPOWER on IntegriCloud