Need to move parition

Net Llama! netllama
Mon May 17 11:33:32 PDT 2004


On Tue, 18 Jun 2002, Kevin O'Gorman wrote:
> On Tue, Jun 18, 2002 at 08:30:40PM -0700, Net Llama! wrote:
> > You're correct, you can have a swap file in linux.  But its not worth it
> > if this is just for a few minutes while he shuffles some data about.
>
> Understood.  However, his comment that he has no place to put it made
> me think that his need was going to be a bit longer than minutes.  Perhaps
> at least long enough to acquire another hard drive; perhaps longer.
>
> The main thing is how does he do it?

Something like:
dd if=/dev/zero of=/swapfile bs=1024 count=4096
mkswap /swapfile
swapon /swapfile

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list