From owner-freebsd-hackers Fri Feb 17 10:42:53 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA17140 for hackers-outgoing; Fri, 17 Feb 1995 10:42:53 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA17134 for ; Fri, 17 Feb 1995 10:42:50 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id NAA06479; Fri, 17 Feb 1995 13:31:55 -0500 From: Wankle Rotary Engine Message-Id: <199502171831.NAA06479@skynet.ctr.columbia.edu> Subject: Re: config(8) and conflicts To: dufault@hda.com (Peter Dufault) Date: Fri, 17 Feb 1995 13:31:52 -0500 (EST) Cc: freebsd-hackers@FreeBSD.org In-Reply-To: <199502171431.JAA22356@hda.com> from "Peter Dufault" at Feb 17, 95 09:31:28 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1952 Sender: hackers-owner@FreeBSD.org Precedence: bulk They say this Peter Dufault person was kidding when he wrote: > > Config doesn't check for conflicts, even when it can. Should it? > I've started putting in checks so that you can't config something > like: > > > disk sd2 at scbus0 target 3 > > disk sd2 at scbus1 target 3 > > but is this the right thing? > > -- > Peter Dufault Real Time Machine Control and Simulation > HD Associates, Inc. Voice: 508 433 6936 > dufault@hda.com Fax: 508 433 5267 > Well, Sun Micro apparently decided this was the 'right thing': [excerpt from /sys/sun4c/conf/GENERIC for SunOS 4.1.3] # # The following section describes SCSI device unit assignments. # scsibus0 at esp # declare first scsi bus disk sd0 at scsibus0 target 3 lun 0 # first hard SCSI disk disk sd1 at scsibus0 target 1 lun 0 # second hard SCSI disk disk sd2 at scsibus0 target 2 lun 0 # third hard SCSI disk disk sd3 at scsibus0 target 0 lun 0 # fourth hard SCSI disk tape st0 at scsibus0 target 4 lun 0 # first SCSI tape tape st1 at scsibus0 target 5 lun 0 # second SCSI tape disk sr0 at scsibus0 target 6 lun 0 # CD-ROM device Whether or not one agrees with Sun on this issue is another matter entirely. :) If it was up to me, I'd allow the target assignments but document the heck out of things so people could make intelligent decisions when configuring their own systems. -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~ FreeBSD 2.1.0-Development #0: Tue Feb 7 01:49:07 EST 1995 ~~~~~~~~~