Date: Fri, 17 Feb 1995 16:54:10 +0100 (MET) From: j@uriah.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Subject: Re: SCSI and config(8): Done. Message-ID: <199502171554.QAA03681@bonnie.tcd-dresden.de> In-Reply-To: <199502171257.HAA21778@hda.com> from "Peter Dufault" at Feb 17, 95 07:57:44 am
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502171554.QAA03681>