From owner-freebsd-questions Sun Mar 15 21:32:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA10642 for freebsd-questions-outgoing; Sun, 15 Mar 1998 21:32:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from proxy3.ba.best.com (root@proxy3.ba.best.com [206.184.139.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA10637 for ; Sun, 15 Mar 1998 21:32:25 -0800 (PST) (envelope-from spadger@best.com) Received: from best.com (dynamic1.pm03.sf3d.best.com [209.24.234.129]) by proxy3.ba.best.com (8.8.8/8.8.BEST) with ESMTP id VAA25466; Sun, 15 Mar 1998 21:31:18 -0800 (PST) Message-ID: <350CB924.2B8882A@best.com> Date: Sun, 15 Mar 1998 21:31:16 -0800 From: Andy Sparrow Organization: What, me organised? I don't think so... X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Minor number(s) for SCSI User (su) device? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I wish to use the su device, which is configured into my kernel via the 'pseudo-device' line. MAKEDEV doesn't handle creating entries for this. I can't find any documentation anywhere as to the correct value for the minor device number. The man page states: The su driver provides support for a process to address arbitrary locations on the scsi bus. Minor numbers are mapped 1:1 to bus:target:lun. The lowest three bits being LUN and the next three bits being TARGET. Re- maining bits are the bus number. So, this leads me to think that the following should work (for bus 0, target 2, lun 0): mknod /dev/su0-2-0 c 18 16 But any attempt to get a response via scsi(8) returns the "Device not configured" message (the same command works fine if I link the su0-2-0 file to the rdevN.ctl file and run the command again). Any suggestions/comments? TIA, AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message