Re: Swap Files

Herbert Xu (herbert@greathan.apana.org.au)
Sun, 19 Jan 1997 08:42:24 +1100 (EST)


Andrew E. Mileski wrote:
>
> I bet you don't use swap files! If so, then please explain what is wrong.
> Try this yourself:
> dd if=/dev/zero of=swap bs=1024 count=1028
> mkswap swap
> free ; swapon -v swap
> free ; swapoff -a ; free
> You'll then see what I mean - the swap file stays active.

I do use swap files but I do see what you mean. I guess that the reason I
don't see this problem is that my swapfiles are on my root fs, so it gets
remounted ro at reboot/shutdown.

-- 
Debian GNU/Linux 1.2 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites