Re: Everything gone!

From: Sean Neakums (sneakums@zork.net)
Date: Thu Mar 20 2003 - 03:57:08 EST


commence Richard B. Johnson quotation:

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

Linux allows files that are being executing to be unlinked. You will
get ETXTBUSY if you open the file and try to modify it, though.

-- 
Sean Neakums - <sneakums@zork.net>
-
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:30 EST