From owner-freebsd-current Mon May 24 13:19:38 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.scl.ameslab.gov (mailhub.scl.ameslab.gov [147.155.137.127]) by hub.freebsd.org (Postfix) with ESMTP id 8FD461517C for ; Mon, 24 May 1999 13:19:25 -0700 (PDT) (envelope-from ghelmer@scl.ameslab.gov) Received: from demios.ether.scl.ameslab.gov ([147.155.137.54]) by mailhub.scl.ameslab.gov with esmtp (Exim 1.90 #1) for current@freebsd.org id 10m1Cq-0004a8-00; Mon, 24 May 1999 15:20:16 -0500 Date: Mon, 24 May 1999 15:19:24 -0500 From: Guy Helmer To: current@freebsd.org Subject: Mounting CD-ROM as root Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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