DragonFly users List (threaded) for 2007-04
DragonFly BSD
DragonFly users List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

dd vs. truncate for creating vkernel root images


From: "Nuno Antunes" <nuno.antunes@xxxxxxxxx>
Date: Wed, 11 Apr 2007 23:00:45 +0100

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



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