Re: no way to swapoff a deleted swap file?
From: David Newall
Date: Fri Oct 17 2008 - 02:28:24 EST
Hugh Dickins wrote:
> On Thu, 16 Oct 2008, Peter Zijlstra wrote:
>> On Wed, 2008-10-15 at 17:21 -0300, Peter Cordes wrote:
>>> I unlinked a swapfile without realizing I was still swapping on it.
>> I see your problem and it makes sense to look for a nice solution.
> although I'll willingly admit it's a
> lacuna, I don't think it's one worth bloating the kernel for.
Me too. The kernel shouldn't protect the administrator against all
possible mistakes; and this mistake is one of them. Besides, who's to
say it's always a mistake? Somebody might want their swap file to have
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/