If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: johnd@sco.COM (John DuBois)
Subject: Re: Wanting to probe SCSI bus to discover devices
Date: 21 Jun 2001 17:57:13 GMT
References: <20010621111710.C13735@jpradley.jpr.com>
In article <20010621111710.C13735@jpradley.jpr.com>,
Jean-Pierre Radley <jpr@jpr.com> wrote:
+Ronald J Marchand propounded (on Thu, Jun 21, 2001 at 05:47:02AM +0000):
+| Jean-Pierre Radley <jpr@jpr.com> wrote in message
+| news:20010620161909.J1135@jpradley.jpr.com...
+| > Ronald J Marchand propounded (on Wed, Jun 20, 2001 at 07:06:12PM +0000):
+| > | John DuBois <johnd@sco.COM> wrote in message
+| > | news:9gqo3t$i6t$1@hobbes.caldera.com...
+| > |
+| > | > In article <20010620131948.H1135@jpradley.jpr.com>, Jean-Pierre
+| > | > Radley <jpr@jpr.com> wrote: +My impression is that 'sconf -v'
+| > | > simply reports what the kernel expects to find at various SCSI
+| > | > ID numbers on each bus and does not actually probe any devices
+| > | > at those locations to see if they're present and what their
+| > | > ROM chip reports by way of further identication; whereas the
+| > | > 'cdrecord -scanbus' command that I suggested yesterday does in
+| > | > fact get bytes from the hardware.
+| > | >
+| > | > Nope - it looks that way, but only because 'sconf -v' prints
+| > | > its output in mscsi format. 'sconf -v' really does generate its
+| > | > output from a scan.
+| > |
+| > | I have a machine configured with an external removable fixed
+| > | disk @ Sdsk 0 0 4 0. I turn the unit's power off and 'sconf -v'
+| > | continues to report the device.
+| >
+| > Same behavior if you detach the SCSI cable?
+|
+| To my surprise .. Yes. I would have expected the bus to freak out,
+| but it didn't. I left alad out of the above information. This is
+| 5.0.6 also.
+|
+| I also booted the machine with the unit off and it was not reported.
+| I turned it on and it still was not reported. So I guess that it does
+| not poll the bus.
+
+Roland: Your message was practially unreadable -- please use 'par' to
+reformat before sending out stuff with so many nested quotes.
+
+John: what say you?
sconf -v returns information from a kernel table that is indeed produced by a
bus scan.
John
--
John DuBois johnd@caldera.com KC6QKZ/AE
I wish to God these calculations had been executed by steam. - Charles Babbage
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 10 | 39 | 664 | 2,628 |
/Bofcusm/1183.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.