Re: Swap Files

Andrew E. Mileski (aem@ott.hookup.net)
Sat, 18 Jan 1997 15:52:38 -0500 (EST)


> > Well wouldn't it make sense to have "swapoff -a" affect ALL swap areas?
>
> Definitely, but so far fstab is the only place where swapoff can get
> information about the swap areas. Perhaps a /proc/swapareas file would
> make sense, too...

Yea! You are finally on the same wavelength as me, hence my reason
for starting this thread on linux-kernel :-)

How about changing sys_swapoff() too? Perhaps adding a flags parameter
like sys_swapon() already has?

Note: I am prepared to make these changes myself.

--
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