In urxvt,I get swapfile error:Malformed setting :"vm.swappiness=".
What I did was:
1) In WinXP, fsutil file createnew c"\Wary-511\pup,swp 528244000;then reboot
2) in Wary511,urxvt,
a) mkswap /mnt/home/Wary-511/pup.swp,
b) swapon /mnt/home/Wary-511/pup.swp;
3) use Geany,open roo/.etc/rc.d/rc.local and appended "swapon /mnt/home/Wary511/pup.swp" (without quotes) and saved it to make swapon automatic.
Then I came across the swapfile manager.4.2.pet and installed it,run the program and just set the swappiness at 10 without creating another swapfile as I already have one. Now I get this error message every time I open rxvt.
What should I do ? Any help greatly appreciated.
Another question, I intend to use swapfilemanager in Classic Pup214X-TOP9 to add a swapfile in the same partition where Wary-511 subfolder is located but this time in root where the 214X pupsave resides. Any problem if I do this? Kindly advise(still a noob in Linux).
Edited: Latest development - I deleted the created puppy.swp and use swapfilemanager to created a new swapfile. The swappiness problem is resolved but now I get "..,swapon failed: Device or resource busy" . Need help on this, thank you.

swapon -s showed only one i.e initrd/mnt/dev_save/swapfile and priority -1
Will swapon -p auto prioritize it as there is only one swapfile?

Having created it in Wary511, how do I add the same swapfile ,without creating another one, in Lighthouse Puppy 5.0.3 after installing the swapfilemanager.pet? Saw yr instruction above,but my apology,being a noob,still not clear how to do it. Appreciate yr help.

Thanks, I'll create another one for Lighthouse then but can I use a different name as it will be in the same drive and partition sda1(hd0,0) as for Wary511?
The one for Wary still showing the same error message:"swapon failed.Device or resource busy" despite there being only one swapfile.

Thanks, I'll create another one for Lighthouse then but can I use a different name as it will be in the same drive and partition sda1(hd0,0) as for Wary511?
The one for Wary still showing the same error message:"swapon failed.Device or resource busy" despite there being only one swapfile.

You can't delete or alter a swapfile until you turn it off with swapoff. Yours is still on.

If you use a different name, it will be a different swapfile on the same partition.

But once I boot out of Wary,wouldn't it be turned off ? Then I 'll boot into Lighthouse to create another one by a different name, leaving the other one alone as swapfile(which was the default name). Will this do? Sorry,I'm still a noob.

Anyway,I've gone ahead to create a swapfile of the same name for Lighthouse Puppy as for Wary511 since they can both share the same swapfile running at different times as I don't wish to have more than one swapfile to confuse it and hv to set priority(don't know how).

Lastly, although the message "swapon failed.Devce or resource is busy" appeared in both Lighthouse and Wary, typing "free" in terminal showed some swap memory were used. Not sure if this means the swapfile is working alright and the message has something to do with the swappiness setting.

Could you confirm that creating a swapfile of the same name and in the same harddisk partition in Lighthouse and Wary511 is alright? When I reboot or shutdown the system,is the cache in the swapfile cleared, so that when I boot into another Puppy, there is no conflict or anything? I ask because now my Lighthouse boots up and gives me a message (as far as I can remember) like "multi-user hald message: bash /etc/rc.sysctl/ no such file or directory" and stays like this for sometime before finally booting into xserver. Pardon me for nagging you as I'm trying out various puppy linux distros to see which one or two works best for my notebook and leave it at that for longterm use and also before I do the same for my friends similar notebook specs. Thanks in advance.

Could you confirm that creating a swapfile of the same name and in the same harddisk partition in Lighthouse and Wary511 is alright?

When you install it, it creates an entry in /root/.swapfile. It doesn't care if you've got a similar entry in another distro.

If you're seeing swap usage, that would explain the "busy" messages. The system can only use one swapfile or swap partition. The one in use must be turned off to create a new one. Swapfile was intended when there is no swap partition already in use.

That's reassuring,thank you. Any idea about the hald message "multi-user -sh: /.etc/.bashrcsysctl: No such file or directory" that I got when booting up Lighthouse puppy 5.0.3 mariner after I've created the swapfile, not that I think it must have anything to do with it. Anyway,it still boots up after a while.

As an experiment and to test it, I follow Shinobar's instruction to use winfonts.pet to create a swap space that uses windows pagefile.sys as swap space.
First,I turn my existing swap off with your swapfilemanager. Then I installed and run winfonts3.4.pet to set swap space - my pagefile.sys has about 785MB of virtual memory. After rebooting X server, I uninstalled swapfile manger to avoid any conflict just in case. But I noticed,free in console still shows vm.swappiness=60. How is this so? Does it matter or is it useful to leave it? If necessary,how to remove it? On the other hand,if I still wish to set swappiness,how can I do so without swapfilemanager? Any advice appreciated.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum