Skip to Content.
Sympa Menu

baslinux - Re: [BL] BL3

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: 3aoo-cvfd AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] BL3
  • Date: Fri, 12 Mar 2004 08:27:51 +1300

James Miller wrote:
>
> I decided first of all that I would need to add the swap
> partition to /etc/fstab, so I did. Was that necessary?

No. You can do it that way if you want, but it is simpler
just to give the direct swapon in /etc/rc

> Then, I had a look at /etc/rc. The line for swapon was a
> bit more complex than I expected: it looked some thing like
> [-e somethingorother] && swapon /c:/baslin/swap.img.

It's conditional. It only runs swapon if it finds swap.img
in /DOS/baslin (i.e. if the user has unzipped swap.zip).

> Then, I added a new line as follows:
> --------------------
> swapon /dev/hda3
> --------------------

That's all you need (no entry in fstab required). The
alternative method is to put the swap partition in /etc/fstab
and then put the following in /etc/rc
---------
swapon -a
---------
But I think it is easier to forget about fstab and just give
the direct swapon.

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page