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

RE: [Xen-devel] sfdisk -g support in DomU



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

When a whole disk is being imported, I guess it would make sense to
fabricate a geometry based on the size. Patches welcome...

Best,
Ian 

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


 


Rackspace

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