Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 1996 07:33:26 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: probing scsi bus after boot?
Message-ID:  <199611010633.HAA20551@uriah.heep.sax.de>
In-Reply-To: <6089.846795037@time.cdrom.com> from "Jordan K. Hubbard" at "Oct 31, 96 12:50:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Jordan K. Hubbard wrote:

> > > scsi -f <scsidev> -p
> > 
> > Wrong.  Peter D's ``super SCSI device'' never found its way into the
> > official tree.  (Too bad.)

> Huh?  I just do this on /dev/sd0 or some other - it works great!
> I use it to detect my scanner after power-up all the time.

Are you sure you aren't confusing this with the `-r' flag?

(Btw., using /dev/sd0.ctl together with the scsi(8) command is better.)

uriah # scsi -f /dev/rsd0 -p
0: SCIOCADDR: Inappropriate ioctl for device
1: SCIOCADDR: Inappropriate ioctl for device
2: SCIOCADDR: Inappropriate ioctl for device
3: SCIOCADDR: Inappropriate ioctl for device
4: SCIOCADDR: Inappropriate ioctl for device
5: SCIOCADDR: Inappropriate ioctl for device
6: SCIOCADDR: Inappropriate ioctl for device
7: SCIOCADDR: Inappropriate ioctl for device

But:

uriah # scsi -f /dev/rsd0 -r
uriah #


-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611010633.HAA20551>