swap on linux
    Patrick R. McManus 
    mcmanus at ducksong.com
       
    Tue Mar 26 16:14:52 EST 2002
    
    
  
[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
    
    
More information about the Discuss
mailing list