[SlugBug] Re: Partitioning

Mike Cardwell lug at blubbernet.com
Tue Dec 28 09:53:17 GMT 2004


On Tue, 28 Dec 2004, Andy Davidson wrote:

> To create a 2GB swap file calculate block size :
>
>   factory:~ andy$ echo "2048 * 1024" |bc
>   2097152
>
> Create that space on disk :
>
> dd if=/dev/zero of=/swap bs=1024 count=2097152

A slightly simpler method to generate the 2GB file:

dd if=/dev/zero of=/swap bs=1024k count=2000

-- 
Digital photo printing:
http://www.fotoserve.com/?affiliate_id=1093871459


More information about the SlugBug mailing list