summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/floppy.c
Commit message (Collapse)AuthorAgeFilesLines
* 1. Update TAPE to point to new CAM-style device name.jkh1999-03-271-2/+2
| | | | | | 2. Don't prompt for removal twice on fixit floppy. Submitted by: jack <jack@germanium.xtalwind.net>
* Unbreak the fixit floppy.jkh1999-02-151-10/+15
| | | | Clean up some of the media handling to use common routines.
* Collapse the "get" code substantially by combining common functions.jkh1998-12-221-15/+11
| | | | | Also make mountpoint for each media type easier to change. Also reshuffled some menus for easier usage.
* Make floppy media code more generic so that fixit floppy can use it.jkh1998-10-121-5/+6
|
* MF22: Paul Traina's changes.jkh1998-07-181-6/+12
|
* Totally change the way that devices are made in the MFS and subsequentlyjkh1998-02-101-14/+1
| | | | | | | | probed in sysinstall. Rather than make template devices and use up lots of inodes, also restricting the number of devices that can be dealt with, mknod all necessary devices as necessary using built-in information. This removes a number of constraints on the number and type of devices that sysinstall can see.
* Remove some ancient cruft discovered during a recent code review.jkh1998-02-081-45/+1
|
* Adapt to new mount(2) argument syntax.jkh1998-01-161-3/+3
| | | | Submitted by: bde
* Make all this work under -current again.jkh1997-04-031-1/+3
| | | | Submitted-By: Chuck Robey <chuckr@glue.umd.edu>
* Some of my pending merge changes, Paul Traina's more flexible configjkh1997-03-191-3/+3
| | | | | file loading code. Submitted by: pst
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* OK, I've got two ideas to file in the "really seemed like a good ideajkh1997-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | at the time, but on further reflection..." bucket with these changes. 1. Checking the media before frobbing the disks was a fine idea, and I wish it could have worked, but that leads to a rather difficult situation when you need to mount the media someplace and you're about to: a) Chroot away from your present root. b) Newfs the root to be. You're basically screwed since there's no place to stick the mount point where it will be found following the newfs/chroot (and eliminating the chroot in favor of just using the "root bias" feature would work great for the distributions but not the pkg_add calls done by the package installer). 2. Automatic timeout handling. I don't know why, but alarm() frequently returns no residual even when the alarm didn't go off, which defies the man page but hey, since when was that so unusual? Take out timeouts but retain the code which temporarily replaces the SIGINT handler in favor of a more media-specific handler. This way, at least, if it's hanging you can at least whap it. I think the timeout code would have been losing over *really slow* links anyway, so it's probably best that it go. This should fix NFS, tape & CDROM installs again (serves me right for getting complacent and using just the FTP installs in my testing).
* Argh! Moving the media initialization to before the disk scribblingjkh1997-01-221-9/+13
| | | | | | | | section was a good thing, since it made it possible to detect media problems *before* the installation started, but it also caused various things to be mounted BEFORE the chroot() call, which definitely messes things up. Fix this by detecting the pre-chroot() case and mounting into a subdir.
* Implement compiled-in config file handling a little better - nowjkh1997-01-181-1/+1
| | | | | that there's no filesystem on the boot.flp image we need to prompt for the configuration floppy.
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-1/+2
| | | | | there's no menu display bug to work around now), be far more selective in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
* 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.
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-10/+10
| | | | | | | | | | | | | | | | 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>
* DTRT if ESC is hit in a Yes/No dialog.jkh1996-10-091-2/+2
| | | | Noticed-by: jfieber
* Remove some bogosities I introduced with the init file hack (not serious,jkh1996-09-151-6/+7
| | | | just bogus). Also turn off by default - whoops!
* 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 it plainer how to exit.jkh1996-07-021-2/+2
|
* Some cosmetic changes:jkh1996-05-091-9/+16
| | | | | | | | | | | Make "selection bar" inverse video white-on-blue on color screens to avoid it getting muddled up with popup dialogs. Do disk selection in a more friendly fashion (for one thing, allow a drive to be de-selected again if you change your mind). Add a few strategic screen-saves to prevent corruption of screen contents (thanks, Michael Elbel!).
* Bring this into sync.jkh1996-04-231-13/+3
| | | | | | | | | | 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-17/+5
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-4/+4
| | | | libdialog features).
* Update the -current sources from the 2.1 branch.peter1995-12-071-57/+40
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-18/+87
|
* Remove trailing whitespace.rgrimes1995-05-301-6/+6
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-2/+1
| | | | | | 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.
* Shrink the boot floppy by removing all extraneous stuff. Also increasejkh1995-05-291-2/+2
| | | | | | number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
* Humanize Poul-Henning's code. Status values should be properlyjkh1995-05-281-9/+7
| | | | respected now.
* Major cleanup. Mediaroutines now get asked about a file. All thephk1995-05-271-19/+4
| | | | | | | 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/+177
the code and split things into more logical groupings.
OpenPOWER on IntegriCloud