Package: qemu
Version: 0.7.0.cvs20050706-0.1
Severity: normal

qemu-make-debian-root tool should create sparse file as qemu-img do.

Just now qemu-make-debian-root creates i.e. one large block filled with zeros.
It should create sparse file which saves the disk space because i.e. 2G empty
file in fact writes just 10M on the disk!

This should be correct call of `dd' utility:

dd bs=$(($SECTORS * 512)) if=/dev/zero of=$IMAGE.ext2 count=1 
seek=$(($CYLINDERS * $HEADS - 2))

Try to generate the big image and check the disk space with `du' file. It shows
the difference!


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages qemu depends on:
ii  bochsbios     2.2.1-1                    BIOS for the Bochs emulator
ii  libc6         2.3.5-3                    GNU C Library: Shared libraries an
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-5.3 Simple DirectMedia Layer
ii  openhackware  0.4.1-1                    OpenFirmware emulator for PowerPC
ii  proll         18-1                       JavaStation PROM 2.x compatible re
ii  vgabios       0.5c-1                     VGA BIOS software for the Bochs an
ii  zlib1g        1:1.2.3-3                  compression library - runtime

Versions of packages qemu recommends:
ii  debootstrap                   0.3.1.4    Bootstrap a basic Debian system
ii  sharutils                     1:4.2.1-15 shar, unshar, uuencode, uudecode

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to