WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Christian Horn" <chorn@xxxxxxxxxxxx>
Subject: Re: [Xen-users] RHEL5 as PVM on RHEL5 xen
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qWFVzUSYUQdlpdRkhxxu5OtvCksiRpmrD9gv53mFZBzbs5b7ookIew8c0fZk8vUAAGvt5F41/eSfIm1YQLFHnrTmy75/AaCEj36WisaA30XJD1U+iGF8zo7HMWaCOqeXcDSuaIhHDYtv7TpDix/HowsJs07g8rWx7vs6m49948c=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070411073851.GA7107@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f58fc26d0703300244r760b02b1vf4784d41e5eb738c@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1B58@xxxxxxxxxxxxxxxxx> <f58fc26d0703300252v6eeb6b8k2f52a8982e6b73d1@xxxxxxxxxxxxxx> <460CEDC7.6040108@xxxxxxxxx> <f58fc26d0704110030o482eb3a1n57f3fd45c7329159@xxxxxxxxxxxxxx> <20070411073851.GA7107@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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