[Top] [All Lists]

Re: swapon error

To: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Subject: Re: swapon error
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 02 May 2001 11:09:21 -0500
Cc: David Benigni <benigni@xxxxxxxxxxx>, Rajagopal Ananthanarayanan <ananth@xxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <Pine.LNX.4.33.0105021100580.10052-100000@UberGeek.coremetrics.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Austin Gonyou wrote:
> There are 2 sections in rc.sysinit which call swapon -a. The last one,
> line 628 or something like that, maybe it was 648, anyway, just comment
> that out, Swap has already been enabled.

FWIW, apparently the second one is to enable swap _files_ as opposed to
swap _partitions_.

Enabling swap _files_ can't happen until after all the filesystems are
mounted, that's the reason for the "late" second swapon.  If you don't
use swap files, then you're right, just comment it out.


Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.

<Prev in Thread] Current Thread [Next in Thread>