Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 15:19:24 -0500
From:      Guy Helmer <ghelmer@scl.ameslab.gov>
To:        current@freebsd.org
Subject:   Mounting CD-ROM as root
Message-ID:  <Pine.SGI.4.10.9905241511530.1892-100000@demios.scl.ameslab.gov>

next in thread | raw e-mail | index | archive | help

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       ---         ghelmer@scl.ameslab.gov
Research Assistant, Dept. of Computer Science   ---   ghelmer@cs.iastate.edu
http://www.cs.iastate.edu/~ghelmer



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.10.9905241511530.1892-100000>