James Bottomley wrote:
On Mon, 2006-06-26 at 15:58 -0500, Linas Vepstas wrote:
I guess there's no way of figuring out where the root disk is, and
waiting only for that?
Well, sure, but you'd do that at user level: you know what the root
disk is, so you just wait on the udev event announcing its arrival.
Exactly. And it works well.
The only point left addressing is that you never know how long you
should be waiting. It would be nice if the transport class / SCSI ML
could give some hint somewhere to the effect 'scanning in progress'.
Otherwise you'll end up using arbitrary timeouts and you'll always find
machines where this timeout doesn't work :-(
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@xxxxxxx
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html