-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 [snip] >> > [EMAIL PROTECTED] ~]# cat /proc/meminfo | grep Swap >> > SwapCached: 0 kB >> > SwapTotal: 0 kB >> > SwapFree: 0 kB >> > [EMAIL PROTECTED] ~]# >> Swap doesn't just get activated because you add it to the command line. >> You need to tell your guest kernel to use it, otherwise it is just >> another disk available for use. >> mkswap /dev/ubdb >> swapon /dev/ubdb >> > Many thanks for the tip. It worked. To automate this on each boot, I > put it in /etc/rc.local and it worked. Is there a better way to > automate this ? Heh! The same way you would on any standard system, stick it in your /etc/fstab! You only need to do the mkswap once! The swapon will be done by your init scripts.
Antoine > > Regards, > KM > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGQYWMGK2zHPGK1rsRCgrrAJ0WsVGsxnpmH7wInSpW71BI3EcwTgCggINL krCw6YaTX6KnO764Ozqm4Ec= =TtYS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user