Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Feb 2001 11:27:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Feb 2001 11:26:53 -0500 Received: from filesrv1.baby-dragons.com ([199.33.245.55]:28942 "EHLO filesrv1.baby-dragons.com") by vger.kernel.org with ESMTP id ; Wed, 28 Feb 2001 11:26:39 -0500 Date: Wed, 28 Feb 2001 08:26:25 -0800 (PST) From: "Mr. James W. Laferriere" To: Per Erik Stendahl cc: "'James A. Sutherland'" , "'Linux Kernel'" Subject: RE: Unmounting and ejecting the root fs on shutdown. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello Per , Yah I can understand high volume lists ;-) But combined with the dropping of a copy of the iso-image you create , A Howto ??? Please . Tia , JimL On Wed, 28 Feb 2001, Per Erik Stendahl wrote: > Oops, I almost missed this one. High-volume mailinglists... :-) > > > Hello Per , Has anyone gotten back to you on this subject ? > > > I as well am very interested in any information about releiving > > > this difficulty . Tia , JimL > > Such a CD would be very nice; one or two people do have this already, > > though. Have you tried using a ramdisk for root, and mounting > > the CD as > > /usr? > Well, doing this on your own certainly will teach you a lot about > Linux I tell you. :-) > I still dont know how to make the kernel unlock and eject the CD on > shutdown. I haven't been able to pinpoint the shutdown sequence in > the kernel sources yet. :-) > What I do know now is how to make the kernel not lock the CD in the > first place. Simply ioctl(/dev/cdrom, CDROM_CLEAR_OPTIONS, CDO_LOCK) > from /linuxrc in the initrd. This way I can remove the CD anytime > I please which is enough for me. And I dont have to patch the kernel. > Mounting a ramdisk for / is doable (I think) but kludgy since you have > to symlink or mount so many subdirectories. Right now I only have /var > in a ramdisk (and why _WHY_ is /etc/mtab located in /etc and not > in /var??). > Anyways the CD works - and yes, being able to boot Linux w/o touching > the harddrives or the network is nice! :-) I might even put it on the > web once I get it cleaned up. Though the ISO is ~200 Mb. > Cheers > /Per Erik Stendahl +----------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network Engineer | 25416 22nd So | Give me Linux | | babydr@baby-dragons.com | DesMoines WA 98198 | only on AXP | +----------------------------------------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/