Is Steve Philp awesome or what?
It worked perfectly!
Problem #1: I compiled 2.2.3 and implemented it no problem, but I was
getting permission errors on /dev/hda3 (128 meg swap space - i verified code
83)
Solution was: chmod 600 /dev/hda3
Problem #2: Invalid argument setting swapon /dev/hda3
Solution was: mkswap /dev/hda3 and then swapon /dev/hda3 (even though
mkswap was set at installation, switching to 2.2.3 kernel must have altered
something?)
Many thanks to the Linux Community!
Bruce Newland
[EMAIL PROTECTED]
----- Original Message -----
From: Steve Philp <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 14, 1999 8:00 PM
Subject: Re: [newbie] /etc/fstab
> Bruce Newland wrote:
> >
> > Hi all,
> >
> > I am having a problem with my swap file and I believe it is the
/etc/fstab
> > entry.
> >
> > Here is the line of fstab:
> > /dev/hda3 swap swap defaults 0 0
> >
> > Here is what happens when I try to set swap to /dev/hda3:
> > [root@pepper /]# swapon /dev/hda3
> > swapon: warning: /dev/hda3 has insecure permissions 0660, 0600 suggested
> > swapon: /dev/hda3: Invalid argument
> > [root@pepper /]#
> >
> > I have hunted high and low for more docs on fstab, but to no avail.
> > Any Ideas?
>
>
> Check the permissions on /dev/hda3. They're probably "brw-rw----". Use
> this:
>
> chmod 600 /dev/hda3
>
> to change them.
>
> It's rather odd that you're getting a problem with this. Checking my
> swap partition in /dev shows that the permissions are 660 also, but I
> haven't seen any errors.
>
> If changing the permissions doesn't work, check the partition type
> (fdisk -l /dev/hda) to ensure it's set to Linux swap. Also, did you run
> 'mkswap /dev/hda3' before attempting the 'swapon'?
>
>
> --
> Steve Philp
> [EMAIL PROTECTED]
>