lkml.org 
[lkml]   [2005]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Wait and retry mounting root device (revised)
On Mon, Jan 17, 2005 at 04:02:15PM -0800, Randy.Dunlap wrote:
> Al Viro wrote:
> >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.
>
> Is there a solution other than initrd/initramfs ?

On the one hand, I entirely agree with Al - this guessing business
is a bad kludge, and building complications on top of it makes
things worse.

On the other hand, we do already have the rootfstype= option,
so one can avoid trying things in the "wrong" order.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.122 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site