Date: Sun, 29 Dec 1996 19:13:12 -0500 (EST) From: Peter Dufault <dufault@hda.com> To: henrich@crh.cl.msu.edu (Charles Henrich) Cc: freebsd-questions@freebsd.org Subject: Re: minor for sdXY naming convention ? (mknod,scsi) Message-ID: <199612300013.TAA16547@hda.hda.com> In-Reply-To: <199612282220.RAA01348@crh.cl.msu.edu> from Charles Henrich at "Dec 28, 96 05:20:54 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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: > > /dev/sd00s0 > /dev/sd01s0a > /dev/sd02s0a > . > . > /dev/sd20s0a > /dev/sd21s0a > . > . > > 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? :) > Look at the SDSETUNIT macro in sd.c. The decoding of the SCSI device numbers can be in the driver. -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612300013.TAA16547>