From owner-freebsd-questions Sun Dec 29 15:17:54 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA16843 for questions-outgoing; Sun, 29 Dec 1996 15:17:54 -0800 (PST) Received: from gdi.uoregon.edu (cisco-ts15-line8.uoregon.edu [128.223.150.191]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA16838 for ; Sun, 29 Dec 1996 15:17:50 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.2/8.6.12) with SMTP id PAA00397; Sun, 29 Dec 1996 15:17:42 -0800 (PST) Date: Sun, 29 Dec 1996 15:17:42 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Charles Henrich cc: freebsd-questions@freebsd.org Subject: Re: minor for sdXY naming convention ? (mknod,scsi) In-Reply-To: <199612282220.RAA01348@crh.cl.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 28 Dec 1996, Charles Henrich wrote: > Im attempting to do mknod's for a bunch of wired disks, named as such: > > sdCD where C= Controller and D=Disk, so dev names that would look like so: Use ./MAKDEV sd20 > > /dev/sd00s0 > /dev/sd01s0a > /dev/sd02s0a These won't work. It'd drive programs nuts. What's different between sd0 and sd00 to a program that looks at the device numbers as integers? :-/ > However I have as of yet been unable to decipher the esoteric notation for the > minor number for said devices.. Anyone care to assist? Please? :) How hard is it to post a little piece of paper next to the machine with the disk->controller:id mappings? They're on the 'dmesg' and system log too: (ncr0:3:0): "PLEXTOR CD-ROM PX-4XCE 1.00" type 5 removable SCSI 2 cd0(ncr0:3:0): CD-ROM cd0 - device/driver (ncr0 - controller/device :3 - SCSI ID :0) - LUN : FAST SCSI-2 175ns (6 Mb/sec) offset 8. - device description & information. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major