(04/30/14 17:19), Robert Elz wrote:
| vnconfig vnd4 xen/vnd/rack2.vnd | dd if=/dev/zero of=/dev/rvnd4d bs=512 count=1 | vnconfig -u vnd4 That has to be one of the weirdest ways of copying 512 bytes into the start of a file I've yet to see, why not just ... dd if=/dev/zero of=xen/vnd/rack2.vnd bs=512 count=1 ?
rack2.vnd would be truncated. dd if=/dev/zero of=xen/vnd/rack2.vnd bs=512 count=1 conv=notrunc This should work correctly. -- t-hash