On Wed, 20 May 1998, Piet Barber wrote:
> I thoroughly read the man page for mount, but there appears to be no
> procedure for mounting a swap drive (is this how you do it?)
Mount doesn't handle swap space, so that's probably the reason. :)
My swap space is on /dev/hdb2. Unless your swap space is also on
/dev/hdb2, you will want to replace occurrences of /dev/hdb2 with
the correct /dev entry for your swap partition.
First, you need a line for the swap space in /etc/fstab. such as:
/dev/hdb2 swap swap defaults 0 0
works for me.
Then, you must initialize the swap partition using mkswap.
mkswap /dev/hdb2
Then, you must add a swapon line to your startup scripts. They should
have a line "swapon -a" in /etc/rc.d/rc.sysinit. Probably more than one.
If there's not, put one in there.
That should do it. You can do swapon -a as root any time, so you don't
have to reboot to gain the benefits of your new swap.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.