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

Re: [Xen-users] RHEL5 as PVM on RHEL5 xen

On Wed, Apr 11, 2007 at 01:00:06PM +0530, trilok nuwal wrote:
> On 3/30/07, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
> >
> >    dd bs=1048576 count=1 seek=102339 if=/dev/zero of=targetfile
> Here i did not get, how to select theses values to create a 4GB disks. As in
> your's example it looks like all are random values. Could you please
> elabrate this a bit ?

dd supports human-readable options now:

dd if=/dev/zero of=targetfile bs=1 count=1 seek=4G
does what you want. 
"Write take one byte from /dev/zero and stuff it into targetfile, do that one
time, and after seeking 4G."


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.