Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

swap on linux



[Bob Keyes: Tue, Mar 26, 2002 at 04:09:41PM -0500]
> You use what's called a swap file. You use dd to create a file of the
> appropriate size, and then turn it on with the swapon command.

you need to mkswap(8) the file in between dd'ing it and running
swapon.

dd if=/dev/zero of=/newswapfile bs=1024k count=256
mkswap /newswapfile
swapon /newswapfile

you probably also want to add the swapon to an rc file.

-P

> 
> On Tue, 26 Mar 2002, Anand A Rao wrote:
> 
> > hi  ,
> > how do I increase swap space on a  linux system without creating another
> > partition .. ?
> >  cheers
> > Andy
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org