PDA

View Full Version : knop5 swap file config - says no useable partitions



cvevans
06-28-2006, 09:38 PM
I tried the menu item SWAP file configuration,
it just gave a dialog:
Sorry, no useable partitions available for swapfile.
When I hit ok, I get an Xdialog Usage window.
I have 800M free on hde1. (vfat)
How do I make it use that?
thanks
cvevans

Zrebel
07-03-2006, 01:36 AM
I was able to get rid of the no useable message by editing the mkdosswapfile found in /usr/sbin (must be root).
change the following line of script:


for i in `awk '/^\/dev\/([hs]d|ub)[a-z].*\/mnt\/([hs]d|ub)[a-z]/{print $1}' /etc/fstab`; do

too


for i in `awk '/^\/dev\/([hs]d|ub)[a-z].*\/media\/([hs]d|ub)[a-z]/{print $1}' /etc/fstab`; do

edit
my bad...

*hick*