I've been trying to mount a CD-ROM as root on FreeBSD so as to have a
self-contained demo of a project that I could run anywhere.  However, I
found that the "-C" option was apparently being ignored by the new boot
loader.  The following patch fixed the problem:

--- sys/boot/i386/libi386/bootinfo.c.ORIG       Mon Mar 22 10:13:36 1999
+++ sys/boot/i386/libi386/bootinfo.c    Mon May 24 14:32:01 1999
@@ -79,6 +79,9 @@
                case 'c':
                    howto |= RB_CONFIG;
                    break;
+               case 'C':
+                   howto |= RB_CDROM;
+                   break;
                case 'd':
                    howto |= RB_KDB;
                    break;

Is this worthy of a PR?

Guy

Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science 
Research Assistant, Ames Laboratory       ---         ghel...@scl.ameslab.gov
Research Assistant, Dept. of Computer Science   ---   ghel...@cs.iastate.edu
http://www.cs.iastate.edu/~ghelmer



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to