Re: Everything gone!

From: Xavier Bestel (xavier.bestel@free.fr)
Date: Wed Mar 19 2003 - 12:12:29 EST


Le mer 19/03/2003 à 17:51, Eli Carter a écrit :
> Xavier Bestel wrote:
> > Le mer 19/03/2003 à 17:04, Matthias Schniedermeyer a écrit :
> >
> >
> >>rm -rf *
> >>Should do the same(*) but with much better speed.
> >>
> >>Normaly the system should lockup at sometime while doing it.
> >>
> >>
> >>
> >>
> >>*: OK. The version above will "break" in the middle after "/bin/rm" (or
> >>"/lib/libc.so.6") got deleted.
> >
> >
> > That would be surprising. Did you actually try it ? :)
>
> The complex version that you snipped would break because it invokes rm
> for each file. The simpler version he gave would not break at that
> point because it is already running. Hence the footnote ton the word
> 'same'.

Aah, yes; I read a bit too fast. *hides*

        Xav

-
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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:27 EST