Re: Everything gone!

From: Eli Carter (eli.carter@inet.com)
Date: Wed Mar 19 2003 - 11:51:14 EST


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'.

HTH,

Eli
--------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------

-
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