Re: Swap Files

Andrew E. Mileski (aem@ott.hookup.net)
Sat, 18 Jan 1997 02:09:50 -0500 (EST)


Andrew E. Mileski wrote:
> I find this annoying: at shutdown, swapfiles are never turned off.
> This keeps the partiton busy, and hence it needs to be fsck'ed at
> next boot.
>
> Should something be put into the kernel shutdown to release all
> swap files and umount all fs?

I should have wrote that I tried the obvious already :-/

I'm using the latest swapoff, and have verified it gets executed
at shutdown. Swap partitions are umount'ed properly, but swapfiles
seem to stay active.

I've not been on the kernel cutting edge for a while (using v2.1.17),
though I've had this problem for quite some time (it finally got
annoying enough to ask for ideas).

--
Andrew E. Mileski   mailto:aem@ott.hookup.net
Linux Plug-and-Play Kernel Project http://www.redhat.com/linux-info/pnp/
XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html