Re: Is swap == 2 * RAM a permanent thing?

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Mar 17 2001 - 12:53:38 EST


On Sat, 17 Mar 2001, Boris Pisarcik wrote:

> On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote:
> i cannot delete executable file when it's just run, but under linux
> i can delete /bin/bash without any problem.

You can't delete it. You can unlink it, but the file itself remains
alive until the last reference goes away. mapping counts as reference.

-
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 : Fri Mar 23 2001 - 21:00:10 EST