Re: [PATCH] Wait and retry mounting root device (revised)

From: Al Viro
Date: Mon Jan 17 2005 - 19:35:34 EST


On Tue, Jan 18, 2005 at 02:54:24AM +0000, Daniel Drake wrote:
> Retry up to 20 times if mounting the root device fails. This fixes booting
> from usb-storage devices, which no longer make their partitions immediately
> available.

Sigh... So we can very well get device coming up in the middle of a loop
and get the actual attempts to mount the sucker in wrong order. How nice...

Folks, that's not a solution. And kludges like that really have no
business being there - they only hide the problem and make it harder
to reproduce.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/