lkml.org 
[lkml]   [1997]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Swap Files
Date
> > 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

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.065 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site