Messages in this thread | | | Date | Thu, 19 Jun 2008 17:39:35 -0400 (EDT) | From | Alan Stern <> | Subject | Re: [RFC/PATCH] usb-storage: wait for device scanning before mounting root |
| |
On Thu, 19 Jun 2008, Matthew Wilcox wrote:
> This discussion seemed to die off ... did anything ever come of it?
As I recall, it died because the whole notion was very poorly defined to begin with. The idea was to stop waiting when all the SCSI buses had been scanned -- but there's no way to know when that occurs because new buses can be added at any time.
Maybe a better approach would be to poll at reasonable intervals (HZ/10, for example) for the existence of the root device. If it hasn't appeared after some reasonable time (30 seconds?) then give up.
Alan Stern
| |