On Wed, May 16, 2012 at 07:25:24PM BST, Charles Kroeger wrote:
> on looking into dphys-swapfile I see what it wants to create is a
> swap=16010MByte however when 'checking existing' keeps the configured 2048MB
> instead and so does basically nothing.
> 
> How or where does one change this configured amount or remove it so 
> dphys-swapfile
> can create its file. If I remove the /var/swap file it is just recreated. I 
> noticed
> that vim can't edit this file so where is this configuration of 2048 coming 
> from?

Let me guess, you have 8GB of RAM?

The limit you are talking about is hard-coded into /sbin/dphys-swapfile.
In order to change it you need to create your own config.

man 8 dphys-swapfile

/var/swap IS the swap file, not a config one - you can't edit swap.

P.S. Please, read the documentation provided.

dpkg -L $package_name will show you all the files included in the
package (apart from the ones generated by maintainer scripts).
If there's not manual or info pages /usr/share/doc/$package_name
usually contains some documentation and/or examples.

Cheers,
-- 
rjc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120516203420.ga25...@linuxstuff.pl

Reply via email to