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-devel

Re: [Xen-devel] xen vbd: better.

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen vbd: better.
From: "Ronald G. Minnich" <rminnich@xxxxxxxx>
Date: Fri, 22 Oct 2004 09:28:50 -0600 (MDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Oct 2004 16:37:52 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1CKuB7-0005D7-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CKuB7-0005D7-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx

On Fri, 22 Oct 2004, Keir Fraser wrote:

> > translated, it is 0x6e4f02 of capacity, 0x301 device (hda1! yay!), flags 
> > e0 (DISK, VIRTUAL, READONLY) (all of which I understand save VIRTUAL -- I 
> > guess that means a partition, not the whole disk).
> > 
> > 0x6e4f02 is in decimal 7229186. That number makes no sense. It's not the 
> > number of blocks, or the number of bytes per unit, or ... 
> > 
> > Can somebody clear me up on this simple algebra problem?
> 
> It is the capacity in 512-byte sectors.

yes, but it's wrong, which is where I'm stuck. 
7229186 512 * p
3701343232

it's a 10G partition, not an 3.7G partition. Any other ideas as to what 
could be happening here. 

ron


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>