From owner-freebsd-hackers Fri Feb 17 08:07:14 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA13460 for hackers-outgoing; Fri, 17 Feb 1995 08:07:14 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA13449 for ; Fri, 17 Feb 1995 08:06:50 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA02292; Fri, 17 Feb 1995 16:58:03 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id QAA06103 for freebsd-hackers@freebsd.org; Fri, 17 Feb 1995 16:58:03 +0100 Received: by bonnie.tcd-dresden.de (8.6.8/8.6.6) id QAA03681; Fri, 17 Feb 1995 16:54:11 +0100 From: j@uriah.sax.de (J Wunsch) Message-Id: <199502171554.QAA03681@bonnie.tcd-dresden.de> Subject: Re: SCSI and config(8): Done. To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Fri, 17 Feb 1995 16:54:10 +0100 (MET) In-Reply-To: <199502171257.HAA21778@hda.com> from "Peter Dufault" at Feb 17, 95 07:57:44 am X-Phone: +49-351-8141 137 Reply-To: joerg_wunsch@uriah.sax.de X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1202 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Peter Dufault wrote: | | I've added support to configure the SCSI system using config(8). | I'm going to wait for the "slice" code to settle before committing. | | Here is what I did. | | This config file entry: | | > controller scbus0 at aha0 | > | > disk sd0 at scbus0 target 0 unit 0 | > disk sd1 at scbus0 target 1 | > disk sd2 at scbus0 target 3 | > device cd? at scbus? | > tape st0 at scbus0 target 6 ... | > struct scsi_device_config scsi_dinit[] = { | > /* type unit cunit target LUN flags */ | > { T_DIRECT, 0, 0, 0, 0, 0x0 }, | > { T_DIRECT, 1, 0, 1, -1, 0x0 }, | > { T_DIRECT, 2, 0, 3, -1, 0x0 }, | > { T_READONLY, '?', '?', -1, -1, 0x0 }, | > { T_SEQUENTIAL, 0, 0, 6, -1, 0x0 }, | > { -1, 0, 0, 0, 0, 0 } | > }; Fine! Now we need some brave soul hacking this into userconfig, so one could modify the info from booting with ``-c''. 8^) -- cheers, J"org work: --- no longer --- private: joerg_wunsch@uriah.sax.de Never trust an operating system you don't have sources for. ;-)