summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
Commit message (Collapse)AuthorAgeFilesLines
* Make it plainer how to exit.jkh1996-07-021-7/+7
|
* Handle tabs in INDEX files.jkh1996-06-251-1/+2
| | | | Display full, un-truncated version of description in status line.
* ack - left in a typo. Time for bed!jkh1996-06-171-2/+2
|
* Init network at proper time.jkh1996-06-171-2/+12
|
* Check network status earlier in FTP/NFS installs in order to reducejkh1996-06-161-4/+46
| | | | user frustration.
* Make CDROMs automagically select as the default media type.jkh1996-06-081-6/+7
| | | | | If you're running multi-user, check off items in the packages menu based on whether or not they're actually installed.
* Fix an ancient index list bug.jkh1996-04-281-14/+24
| | | | | Make FTP re-initializion work. Fix fix fix.
* Move some of functions around in order to make this stuff easierjkh1996-04-281-4/+9
| | | | to work on.
* Bump snapshot release date - looks like I was off by a couplejkh1996-04-281-5/+5
| | | | | | of days! More display fixes to sysinstall and assorted tweaking.
* Fix display refresh bug in displayHelp()jkh1996-04-261-5/+6
| | | | | | | Go back to Normal menus for Media and FTP menus rather than radio menus - the difference in behavior is confusing and sort of detracts from the added (small) advantage of seeing what you last picked.
* Quite a few changes:jkh1996-04-251-17/+17
| | | | | | | | | | 1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic points. 2. Clean up the distributions menus so that everybody (that's reasonable) has All and Clear options for setting/clearing things en-masse. 3. Various attempts at display optimization. 4. Change the wording of the `Don't use Write!' dialogs to make them more explicitly define when and when not to use the option.
* Bring this into sync.jkh1996-04-231-30/+11
| | | | | | | | | | 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-59/+47
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-04-071-28/+25
| | | | | | | | | | | | | | | 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.
* Whoops! Total brain-fade on that last "optimization" for mountingjkh1996-03-211-10/+1
| | | | the CD (thanks to Mike O'Dell for finding it). Fixed.
* Fix cpioVerbosity() botch when verbosity set very low.jkh1996-03-191-2/+5
|
* Lots of fixes:jkh1996-03-181-2/+2
| | | | | | | | | | | | | | | | 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.
* Update the -current sources from the 2.1 branch.peter1995-12-071-55/+174
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-09-181-1/+15
| | | | | | | 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...
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-37/+57
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* NFS installation was broken - try to fix it.jkh1995-05-301-6/+6
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-51/+58
| | | | | | 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.
* Humanize Poul-Henning's code. Status values should be properlyjkh1995-05-281-142/+1
| | | | respected now.
* Major cleanup. Mediaroutines now get asked about a file. All thephk1995-05-271-2/+76
| | | | | | | multi part stuff centralized. The final check is backwards or something so it always said it failed, even it it didn't. Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
* Commit parts of reorg that were diffs. Substantially re-engineer thejkh1995-05-271-3/+148
| | | | extraction and mediaGetFTP() handshaking to solve some unexpected complexities.
* Ask name of "other" ftp site in correct place.jkh1995-05-261-1/+9
| | | | | Make TIOCCONS redirection for console messages work properly; we no longer open /dev/console for all I/O - we use the VTYs directly.
* Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.jkh1995-05-261-6/+3
| | | | | | | | 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.
* Sync to latest ftp-capable sysinstall. We're getting there!jkh1995-05-241-5/+3
|
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-31/+8
| | | | | | | | | | 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.
* Implement most of the CD extract code.jkh1995-05-221-49/+47
| | | | | | Clean up a few last display bugs. Add sanity checking that makes sure user creates root and swap partitions. Add swap partitions with swapon().
* Check status of the device init routine properly.jkh1995-05-211-2/+3
|
* 1. Start syncing up the network strategy code so that folks like Poul andjkh1995-05-211-39/+168
| | | | | | | | 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.
* Don't call mediaVerify() in quite so many places.jkh1995-05-201-4/+1
|
* Fix the DOS discovery code to now re-allocate another virtual device ifjkh1995-05-201-6/+15
| | | | | it's called multiple times in a row. Add a new device type "DEVICE_TYPE_DOS" so that we can look up an previous results.
* 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrongjkh1995-05-201-16/+83
| | | | | | | | | | | | | | | | | | 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.
* Make Jordan's ``half baked'' code compile so that make release's aren'tgpalmer1995-05-201-11/+13
| | | | | stopped dead in their tracks. Also add the beginnings of my distribution extraction code in media_strategy.c
* This doesn't work - the extract code is half-baked. I commit it onlyjkh1995-05-201-15/+20
| | | | so that Gary can sync to it before I go to bed.. :)
* Commit my latest so that Gary can sync up - this version should alsojkh1995-05-171-76/+5
| | | | | 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-27/+69
| | | | | | | | | 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-5/+111
| | | | | this weekend in order to more easily sync with my CVS tree at home. Another commit relative to these changes will follow shortly.
* Commit my latest changes before having a nap. Still not close to done,jkh1995-05-011-7/+7
| | | | | | 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.
* o Add extra menu types (radio implemented, multiple choice shortly).jkh1995-04-291-1/+51
| | | | | | | | | | o Make the framework generally more robust. o Figured out how to nest the menu descriptions - no more grotty initialization of menus. o Fix bug with helpline and helpfile not being reset. o Add stubs for the media selection code. Coming next: Fdisk and disklabel screens using Phk's new libdisk stuff.
* This will be the module that handles all media detection.jkh1995-04-271-0/+52
OpenPOWER on IntegriCloud