From: K. Rose (rose@gpu.utcs.utoronto.ca)
Date: 10/27/92


From: rose@gpu.utcs.utoronto.ca (K. Rose)
Subject: Advice Request Re.: SLS swap
Date: Wed, 28 Oct 1992 03:03:35 GMT


I just completed installing Linux SLS - version 0.98.pl1-37.

In the process I created a 4 Meg swap space which does not seem
to work. I followed these steps when creating it:
        1 - Used fdisk to create /dev/hda2
            /dev/hda2 196 196 292 4122+ 82 Linux Swap
        2 - Rebooted and used 'mkswap -c /dev/hda2 4122'
        3 - Inserted following in /etc/fstab:
            /dev/hda2 none swap sw
        4 - /etc/rc already contains the line '/bin/swapon -a'

When the system boots up it reports 'Adding Swap: 4116K swap-space'.
However, when I issue a 'free' command it reports the following
(with no mention of swap space):

        total used cache free shared
memory: 4480 1436 2064 48 272

Additionally, when I run gcc on a large .c file and monitor the
system in the background with 'free' it appears to use up the free
memory and die without starting to swap.

I have read the on-line documents supplied with this version and they
don't seem to cover this problem. Does anybody know what I am
missing, or what I have done wrong ... ?

Thanks
Chris Newton
a418newt@cdf.toronto.edu