Re: chmod of active swap file blocks

From: Paul Jakma
Date: Mon Dec 29 2003 - 00:25:43 EST


On Mon, 29 Dec 2003, Paul Jakma wrote:

> Hi,
>
> Trying to chmod a file being used for swap causes chmod() to block,
> with permissions change /not/ having taken effect, until the swap
> file is swapoff'd, at which point chmod() carries on and chmod (the
> command) finishes.

err.. forgot kernel version: this occurs with Arjan's
2.6.0-0.test11.1.100 and .102 RPM packages of the 2.6.0 kernel. I
have not tried on a generic 2.6.0 kernel, though I am about to try
Arjan's 2.6.0-1.104 package.

regards,
--
Paul Jakma paul@xxxxxxxx paul@xxxxxxxxx Key ID: 64A2FF6A
warning: do not ever send email to spam@xxxxxxxxxx
Fortune:
Bell Labs Unix -- Reach out and grep someone.
-
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/