lkml.org 
[lkml]   [2003]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Everything gone!
On Wed, 19 Mar 2003, 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 ? :)
>
> Xav

I think that, with a single instance of `rm`, not as written above,
this would complete because all the open runtime libraries would
remain mem-mapped until the last close. So, I think you could
remove everything with -rf except the programs that will return
'text file busy' errors because they are open for execution.

An, no. I am not going to try it! Well maybe sometime when I
mount an alternate root that I am going to replace.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

-
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 13:34    [W:0.065 / U:9.908 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site