From owner-freebsd-hackers Thu Oct 31 22:51:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA23636 for hackers-outgoing; Thu, 31 Oct 1996 22:51:25 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA23626 for ; Thu, 31 Oct 1996 22:51:11 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id HAA24012 for ; Fri, 1 Nov 1996 07:51:08 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id HAA16933 for freebsd-hackers@freebsd.org; Fri, 1 Nov 1996 07:51:08 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id HAA20551 for freebsd-hackers@freebsd.org; Fri, 1 Nov 1996 07:33:26 +0100 (MET) From: J Wunsch Message-Id: <199611010633.HAA20551@uriah.heep.sax.de> Subject: Re: probing scsi bus after boot? To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Fri, 1 Nov 1996 07:33:26 +0100 (MET) In-Reply-To: <6089.846795037@time.cdrom.com> from "Jordan K. Hubbard" at "Oct 31, 96 12:50:37 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > > scsi -f -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. ;-)