Package: xen-tools
Version: 0.9-1-bpo1
Severity: normal
Tags: patch

When creating disk devices xen-tools uses the following command:

my $image_cmd = "/bin/dd if=/dev/zero of=$image bs=$CONFIG{'size'} count=1 
seek=1024";

This seeks for the asked size+1 (for example if I ask for 10Gb disks I
get 11Gb ones!)... This is not a huge issue, as the images are sparse
anyway, but still... ;) Changing this with count=0 instead solves the problem!

Guido


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

Reply via email to