All of lore.kernel.org
 help / color / mirror / Atom feed
* sfdisk -g support in DomU
@ 2005-11-16 10:08 Nick Logan
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Logan @ 2005-11-16 10:08 UTC (permalink / raw)
  To: xen-devel

Back in January there was a mail thread on this subject ( 
http://lists.xensource.com/archives/html/xen-devel/2005-01/msg00659.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?

Nick Logan

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: sfdisk -g support in DomU
@ 2005-11-16 11:21 Ian Pratt
  2005-11-16 12:21 ` Gerd Knorr
  2005-11-16 21:22 ` Adam Heath
  0 siblings, 2 replies; 6+ messages in thread
From: Ian Pratt @ 2005-11-16 11:21 UTC (permalink / raw)
  To: Nick Logan, xen-devel

> 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 

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: sfdisk -g support in DomU
@ 2005-11-16 14:46 Ian Pratt
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Pratt @ 2005-11-16 14:46 UTC (permalink / raw)
  To: Gerd Knorr; +Cc: xen-devel, Nick Logan

> The only issue I trapped into so far is that the yast2 
> installer appearently doesn't like disks which have neither 
> some geometry nor an existing partition table ...

Yep, I've seen this, which probably suggests we should address it.

Ian 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-17 10:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 10:08 sfdisk -g support in DomU Nick Logan
  -- strict thread matches above, loose matches on Subject: below --
2005-11-16 11:21 Ian Pratt
2005-11-16 12:21 ` Gerd Knorr
2005-11-17 10:00   ` Nick Logan
2005-11-16 21:22 ` Adam Heath
2005-11-16 14:46 Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.