Re: Swap Files

Ion Badulescu (ionut@moisil.wal.rhno.columbia.edu)
Sat, 18 Jan 1997 13:55:54 -0500 (EST)


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

Ionut

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