[lkml]   [1997]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Swap Files
On Sat, 18 Jan 1997, Andrew E. Mileski wrote:

> > swapoff -a turnes off only partitions/files that are listed as swap in
> > fstab.
> >
> > The solution is to either swapoff each file individually in rc.0 or to add
> > them to fstab. The latter solution will give some (harmless) errors if the
> > swapfiles are not on the root filesystem.
> 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...


It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.

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