[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 (
> ), 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...
Xen-devel mailing list