dd vs. truncate for creating vkernel root images

Justin C. Sherrill justin at shiningsilence.com
Wed Apr 11 16:38:53 PDT 2007


On Wed, April 11, 2007 6:00 pm, Nuno Antunes wrote:
> 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?

Have you tried it?  What happened?






More information about the Users mailing list