summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/cdrom.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 more protection when running as init and don't do stupid things.jkh1997-01-121-3/+1
| | | | | Fix looping in fixit cdrom selection by adding a missing break. Move unmount of cdrom down to proper place.
* Do a better job of CDROM detection.jkh1997-01-061-13/+19
| | | | | | Use consistent spelling throughout. Remove unmount in fixit_common() since that's bogus in the CDROM case and properly "shut down" the media device instead.
* 1. Correct bogon in cdromInit when running multi-user which took cdrom offlinejkh1997-01-011-3/+5
| | | | | | | | | | if wrong version. 2. Make sure network device is initialized in ftpInit 3. Eliminate bogus size values in the menus. For now, we'll have to admit that nobody's added it up yet. In the future, these menus should be build dynamically anyway, not declared static. 4. Add more debugging to networking code to chase the mystery ppp device problem.
* smart-alec error checking.jkh1996-12-121-2/+8
|
* Undo one of my memory optimization hacks - it actually made things morejkh1996-12-121-3/+2
| | | | complicated.
* Be more efficient in how we use memory (stumbled across while looking forjkh1996-12-111-2/+3
| | | | | | something else) for attributes and variables. Remove stack-stomper in sstrncpy().
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-6/+6
| | | | | | | | | | | | | | | | 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>
* Remove the now-unusable ports configuration code. Swapping CDs is bogus.jkh1996-10-141-5/+3
|
* Ahem. It might be nice if I included /usr/src/contrib in with the otherjkh1996-10-101-3/+4
| | | | | src dists. This alone is a good reason to re-roll the SNAP before putting it on CD.
* DTRT if ESC is hit in a Yes/No dialog.jkh1996-10-091-2/+2
| | | | Noticed-by: jfieber
* Installation cleanup, round II.jkh1996-10-011-4/+6
|
* Conditionalize some annoying debug statements, update the docs.jkh1996-08-231-2/+3
|
* 1. Fix the CD installation bogon for Novice install I mentioned.jkh1996-07-161-5/+1
| | | | 2. Add some code for dealing with a ports collection on the second CD now.
* Make CD version clash non-fatal.jkh1996-07-131-5/+3
|
* Fix EBUSY checking in devices.c - DTRT when it's detected on a CD.jkh1996-07-131-5/+3
|
* Fix something I broke with CDROM installation (well, I knew my firstjkh1996-07-121-7/+8
| | | | test CD would turn at least one bug up :-).
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-2/+2
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Make the CDROM auto-detection code a little more flexible about acceptingjkh1996-06-141-10/+9
| | | | old CDs.
* Come up with a scheme for stamping the FreeBSD version number on CDs,jkh1996-06-111-4/+36
| | | | | | | allowing sysinstall to automagically detect, mount and select an appropriate FreeBSD CDROM as the installation media. Defining "appropriate" also requires that you check the version numbers since an older FreeBSD CD could be in the drive, which is the purpose of this patch.
* Make CDROMs automagically select as the default media type.jkh1996-06-081-31/+23
| | | | | If you're running multi-user, check off items in the packages menu based on whether or not they're actually installed.
* Bring this into sync.jkh1996-04-231-7/+2
| | | | | | | | | | 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-8/+1
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Lots of fixes:jkh1996-03-181-8/+16
| | | | | | | | | | | | | | | | 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).
* Update the -current sources from the 2.1 branch.peter1995-12-071-15/+33
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-09-181-4/+4
| | | | | | | 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-4/+4
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-1/+2
| | | | | | 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.
* cdrom.c: try "cdrom/%s" then "cdrom/dists/%s"phk1995-05-281-1/+4
| | | | dist.c: fix an error message to make more sense.
* Humanize Poul-Henning's code. Status values should be properlyjkh1995-05-281-11/+8
| | | | respected now.
* Major cleanup. Mediaroutines now get asked about a file. All thephk1995-05-271-30/+5
| | | | | | | 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.
* Things were getting seriously hard to find. Do a quick reorg pass overjkh1995-05-271-0/+150
the code and split things into more logical groupings.
OpenPOWER on IntegriCloud