dd vs. truncate for creating vkernel root images

Nuno Antunes nuno.antunes at gmail.com
Wed Apr 11 15:04:28 PDT 2007


Hi all,

Is there any advantage in using
'dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048'
over the much quicker
'truncate -s 2G /var/vkernel/rootimg.01'
other than getting a root image filled with zeros?
Thanks,
Nuno




More information about the Users mailing list