[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fresh and updated qemu image



Jose Luis Alarcon Sanchez, le Tue 20 Apr 2010 10:53:44 +0000, a écrit :
> I think the updated qemu img file is a bit big, 225,3 Mb. But "it is" and
> the system is all "ready to use" as GNU/Hurd can be right now.

Mmm, maybe you can try to peek holes in it. The way I usually do it is:

mount -o loop img /mnt/mnt
dd < /dev/zero > /mnt/mnt/foo bs=1M
sync
rm -f /mnt/mnt/foo
umount /mnt/mnt
cp --sparse=always img img2

(I guess you have already thought about apt-clean & such to already
remove as much data as possible?)

Samuel


Reply to: