On Wed, Mar 06, 2002 at 11:37:46AM +1100, Peter Hardy wrote:

> 1) In windows, format the partition, tell 'doze you want to create a
> swapfile on that partition, using all of the available space.  It should
> create an empty swapfile.
> 
> 2) Back in Linux, dd that partition to a file, and gzip it.  Because
> it's mostly zeroes, it'll compress down *real* small.

No need to gzip it, Windows will re-create the swapfile
automatically as long as the partition exists (and is in the
appropriate filesystem type; NTFS or FAT).  Put a "format E: /q"
in your autoexec.bat file or something (substitute E: as
appropriate, of course :).

If you're going to this effort to save space, you might as well
also use FAT with 64k clusters for your swap partition.  It'll
speed up operations on the swap file.  The effect is probably
negligable, but hey ...


-- 
#ozone/algorithm <[EMAIL PROTECTED]>          - trust.in.love.to.save
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to