From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 10:31:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46A6637B401 for ; Tue, 24 Jun 2003 10:31:34 -0700 (PDT) Received: from barryg.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1EEB43FA3 for ; Tue, 24 Jun 2003 10:31:33 -0700 (PDT) (envelope-from bill@celestial.com) Received: by barryg.mi.celestial.com (Postfix, from userid 203) id 42608639A6; Tue, 24 Jun 2003 10:31:32 -0700 (PDT) Date: Tue, 24 Jun 2003 10:31:32 -0700 From: Bill Campbell To: freebsd-questions@FreeBSD.ORG Message-ID: <20030624103132.A27540@barryg.mi.celestial.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG, Matthew Seaman References: <20030623164024.A2684@barryg.mi.celestial.com> <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk>; from m.seaman@infracaninophile.co.uk on Tue, Jun 24, 2003 at 08:15:41AM +0100 Subject: Re: Boot order with firewire 4.8-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 17:31:34 -0000 On Tue, Jun 24, 2003 at 08:15:41AM +0100, Matthew Seaman wrote: >On Mon, Jun 23, 2003 at 04:40:24PM -0700, Bill Campbell wrote: > ... >> My basic question is how does one control the order devices are scanned >> during the boot process? I would like to be sure that the system will come >> up after a power failure with no operator intervention if possible. > >It's not really the order that the disks are discovered which matters >as such, but that the device numbers for your system disks depend on >the presence or absence of the external drive. > >You can get round that by 'wiring down' the SCSI buses and devices in >your kernel config. Eg. assume that your boot drive is at LUN 0 on an >Adaptec SCSI interface. Then you could do: > > device scbus0 at ahc0 > device da0 at scbus0 target 0 unit 0 > >to ensure your boot disk always appears as da0. See the section 'SCSI >DEVICE CONFIGURATION' in /usr/src/sys/i386/conf/LINT for more details. Thanks! I'm climbing the learning curve on freebsd (largely ``learn by destroying'' :-). Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.