lkml.org 
[lkml]   [1997]   [Jan]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 20 Jan 1997 17:22:12 +0200 (EET)
FromJohan_Myréen <>
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?

I don't think so. swapon -a means "swap on all swap areas mentioned in
/etc/fstab", so swapoff -a should mean "stop swapping on the areas
mentioned in /etc/fstab". If you add swap areas manually, why can't you
remove them manually? Why would you even *want* swapoff -a to remove a
swap area swapon -a hasn't added?

Johan Myreen
jem@iki.fi


\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008