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

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


  • To: "Christian Horn" <chorn@xxxxxxxxxxxx>
  • From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
  • Date: Wed, 11 Apr 2007 13:13:19 +0530
  • Cc: Xen list <Xen-users@xxxxxxxxxxxxxxxxxxx>, Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Delivery-date: Wed, 11 Apr 2007 00:42:14 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qvojipzlacfplMeOotVMxEAIY7TqJYIChL3U8/cCdvsl3madcDNMsYd9FZhdu7hP/EROG5DdcNgZ7hMlHdWiS2RUgJwhY986/lvUfyYoqVVWAdPypS2od+x6KoOfRC6C7tXa/0GfE6VPjfh2ofkuDjiPlktrKO5kxbg/68l/iGE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks Horn, That only i wanted.

On 4/11/07, Christian Horn <chorn@xxxxxxxxxxxx> wrote:
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."

Christian

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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