On Wed, Jan 24, 2001 at 06:21:33PM -0800, An Nony wrote:
>
> i have a 128 mb mem & 130 swap in my RH 4.2 and i want
> to add more mem, can i add another 128 or 256 mb
> without repartitioning my HDD for swap?
You can add more swap space by using swap files. To add an 8MB
swap for example do the following (1024*1024=1048576=1MB):
# dd count=8 bs=1048576 if=/dev/zero of=/somewhere/swapfile
# mkswap /somewhere/swapfile
To enable:
# swapon /somewhere/swapfile
To view swap usage:
# swapon -s
To disable:
# swapoff /somewhere/swapfile
It's still recommended however to add more physical memory rather
than expanding swap space...
--
.--. Michael J. Maravillo office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc. mobile://+63.917.897.0919/
`--\\ A Philippine Open Source Solutions Co. http://www.q-linux.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]