xfs
[Top] [All Lists]

Re: swapon error

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: swapon error
From: Utz Lehmann <leh@xxxxxxxxxx>
Date: Wed, 2 May 2001 20:06:20 +0200
Cc: Austin Gonyou <austin@xxxxxxxxxxxxxxx>, David Benigni <benigni@xxxxxxxxxxx>, Rajagopal Ananthanarayanan <ananth@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <3AF03131.319A28C7@sgi.com>; from sandeen@sgi.com on Wed, May 02, 2001 at 11:09:21AM -0500
References: <Pine.LNX.4.33.0105021100580.10052-100000@UberGeek.coremetrics.com> <3AF03131.319A28C7@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Eric Sandeen [sandeen@xxxxxxx] wrote:
> 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.


or for swap on lvm volumes. the first swapon is before lvm is activated (if
i remember correctly).


btw: congratulations for the 1.0 release and thanks for all the support!


utz

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