Date: Mon, 16 Mar 1998 10:47:05 -0800 (PST) From: Andrew Sparrow <spadger@best.com> To: freebsd-scsi@FreeBSD.ORG Subject: Minor number(s) for SCSI User (su) device Message-ID: <199803161847.KAA05955@shell7.ba.best.com>
next in thread | raw e-mail | index | archive | help
Hi. I'm trying to use the su pseudo-device, which I've compiled into my kernel. I can't seem to work out which are the correct value(s) for the minor numbers to access these devices via this driver. The README.xxxBSD file which comes with 'cdrecord' has some values, but these are incorrect (I tried them all) The man page says 3 bits for Lun, 3 for Target, rest (MSB) for bus - but that doesn't seem to work either... I generated some from some macros in 'scsiconf.h'. They also don't work. These devices *are* attached to other SCSI drivers (they're CD-Rs, attached to the 'worm' driver). The man page seems to have some doubts as to whether or not the 'su' devices should/will be usable if there's an attach to a "real" driver, but this isn't clarified, and I can't see any explicit comments in the 'su.c' source file.. I know the devices themselves are usable, and I'm currently accessing them via symlinks to the 'r{cd|worm}N.ctl' device(s), but I'd prefer to tidy this up if possible. Can anyone help, or should I simply settle for what I have (which has the advantage of working, at least)? Thanks, AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803161847.KAA05955>