El Tuesday 02 September 2008 22:03:45 Sven Joachim escribió:
> tags 497575 - patch
> thanks
> 
> On 2008-09-02 21:47 +0200, Noel David Torres Taño wrote:
> 
> > It can happen that a system which needs to mount external USB disks detects 
> > them some seconds after /etc/rcS.d/S30checkfs.sh starts.
> >
> > In my laptom system, I see the USB udev lines just below the "Press 
> > Control-D" line. The following patch works for me:
> >
> > PATCH:
> > --- checkfs.sh.original 2008-09-02 21:45:40.000000000 +0200
> > +++ checkfs.sh  2008-09-02 20:47:01.000000000 +0200
> > @@ -110,6 +110,7 @@
> >
> >  case "$1" in
> >    start|"")
> > +       /bin/sleep 5
> 
> While it's nice that this works around the problem for you, I hope you
> understand that delaying the boot of every Debian system on the planet
> for five seconds is not an acceptable solution.  Thus I've removed the
> patch tag.
> 
> Regards,
>         Sven
> 

Well, it's only a workaround in the "it works for me" series :)

I think the best solution is to check if there are devices being connected, 
maybe asking udev or udevd, but I do not know how to do it, and delay until 
then.

Maybe checking specifically if any system to be checked is being connected.

Thanks

Noel Torres
er Envite

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to