Re: [RFC/PATCH] usb-storage: wait for device scanning before mounting root

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Stern
Date: Thursday, June 19, 2008 - 2:39 pm

On Thu, 19 Jun 2008, Matthew Wilcox wrote:


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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC/PATCH] usb-storage: wait for device scanning befo ..., Alan Stern, (Thu Jun 19, 2:39 pm)