From owner-freebsd-hackers Sat Sep 20 14:24:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA27823 for hackers-outgoing; Sat, 20 Sep 1997 14:24:33 -0700 (PDT) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA27816 for ; Sat, 20 Sep 1997 14:24:28 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id XAA18194; Sat, 20 Sep 1997 23:24:25 +0200 (MET DST) Date: Sat, 20 Sep 1997 23:24:25 +0200 (MET DST) Message-Id: <199709202124.XAA18194@bitbox.follo.net> From: Eivind Eklund To: hackers@FreeBSD.ORG In-reply-to: j@uriah.heep.sax.de's message of Sat, 20 Sep 1997 13:05:51 +0200 Subject: Re: Is there a way to prompt for boot device? References: <199709200219.WAA13122@smoke.marlboro.vt.us> <19970920130551.DB36336@uriah.heep.sax.de> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > at least in 2.2.2, boot -a works only if you have the kernel > > configured with "swap generic", which i think is not generally > > recommended, though i can't remember why. > > For hysterical raisons? > > What the heck would break if we started shipping GENERIC in 3.0 with > `swap generic'? What might break if we allowed -a for other kernels > as well? I assume the answer to both questions is just ``nothing''. It is a minor security breach - it would e.g. allow somebody with physical access to boot from a floppy[1] even if the machine isn't set up to do so from the BIOS. I'm not principally against this, but I want an option to turn it off. There are cases where I'll need it disabled (and quite a few cases where I've been extremely frustrated that it is off by default, due to discrepancies between FreeBSDs and the BIOS idea of what is wd1 when you have two IDE adapters and no slave disks) Eivind. [1] Or perhaps more likely NFS. Or something else. Something evil, at least ;-)