freebsd-skq/usr.sbin/sade
jhb 7040795aae - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails
with EBUSY and a cdrom is not mounted at /cdrom, sysinstall fails to
  treat it as an error and thinks that the disk mounted ok.  However, it
  doesn't find a cdrom.inf file so it complains.  Later when it tries to
  unmount the disk due to a mediaClose() umount(2) returns an error, and it
  never clears its internal mounted flag.  The fix here is to properly
  handle EBUSY as an error if there isn't a CD already mounted at /cdrom.
- Add a new CDROMInitQuiet variable that can be used to shut up the dialog
  box about the mount(2) system call failing when trying to mount a CD-ROM.
  This is used by the feature described below.
- When using a fixit CD, first try to see if we can mount the disc in the
  drive now and use it as a fixit CD.  If not, then prompt the user to
  insert the disc and try again.  If we do succeed on the first "silent"
  probe then we don't ask the user to eject the disk after leaving fixit
  mode.
- Add a simple file existence test to make sure that the disc that we mount
  really is a livefs disc.
- Explicitly switch back to ttyv0 when using the standard console after
  the fixit shell dies.  Previously this behavior worked accidentally
  because all the fixit modes popped up a dialog box which contained a
  hidden switch to ttyv0.

MFC after:	1 day
2005-03-02 22:27:22 +00:00
..
help Don't use UFS2 by default during the install process on PC98, as the 2003-04-21 20:57:20 +00:00
command.c
config.c Only write the rc.conf header when a new rc.conf is written. This was 2004-11-16 21:59:00 +00:00
devices.c Remove old wdc driver completely. 2005-01-04 11:04:03 +00:00
disks.c Clear all "active partition" bits before we set a new one. 2004-09-15 08:19:03 +00:00
dispatch.c Remove support for configuring the X server from sysinstall. General 2004-08-30 21:03:09 +00:00
dmenu.c Fix 3 'cast to pointer from integer of different size' warnings. 2003-09-17 03:45:30 +00:00
globals.c o Save pointers to the chunks for root, home, swap, usr, var and tmp in 2004-08-07 01:19:54 +00:00
install.c - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails 2005-03-02 22:27:22 +00:00
keymap.c
label.c Create an EFI partition when the user wants auto defaults. There's 2004-08-07 04:03:18 +00:00
list.h
main.c The PCMCIA Standard dictates that those funny cards you insert into 2003-08-20 06:27:21 +00:00
Makefile Use the source of the termcap database when available. 2004-12-21 15:16:36 +00:00
menus.c Add "NTP pool servers" to the list, including Worldwide, Asia, Europe, 2005-01-25 02:56:17 +00:00
misc.c
msg.c
rtermcap.c
sade.8 Expand contractions. 2005-02-13 23:45:54 +00:00
sade.h - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails 2005-03-02 22:27:22 +00:00
system.c Make logic more readable. 2004-11-19 03:52:41 +00:00
termcap.c
usb.c
variable.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
wizard.c Move the inclusion of libdisk.h from sysinstall.h to the source files 2004-08-02 23:18:48 +00:00