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] sfdisk -g support in DomU

On Wed, 16 Nov 2005, Ian Pratt wrote:

> > Back in January there was a mail thread on this subject (
> > http://lists.xensource.com/archives/html/xen-devel/2005-01/msg
> > 00659.html
> > ), however I see that blkfront still does not include ioctl
> > support for disk geometry. So, any application that uses
> > "sfdisk -g" to get the geometry of a partition, or disk, will
> > fail when run in DomU.
> >
> > Is this a deliberate omission?
>
> Most people tend to import block devices as partitions rather than whole
> disks, so often there isn't a 'whole disk' device to interogate (though
> I guess a partition table for it could be faked out if anyone really
> cared). Importing partitions rather than whole disks makes resizing of
> indidual partitions easier.

We import whole disks; nfsroot for /(not really an import, but listed for
completeness here), hdb for swap, hdc for /tmp.

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