From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: 63 sectors Date: Thu, 04 Sep 2008 05:18:54 -0700 Message-ID: <48BFD22E.1040603@zytor.com> References: <48BE46DD.1070703@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , KVM list To: Ian Kirk Return-path: Received: from terminus.zytor.com ([198.137.202.10]:51200 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbYIDMTG (ORCPT ); Thu, 4 Sep 2008 08:19:06 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Ian Kirk wrote: > Avi Kivity wrote: > >> - add a partitioning tool (or option to qemu-img) to format the disk, placing >> the first partition on the fourth cylinder, aligning it. tell the users not >> to wipe the disks out but instead install to one of the existing parititions > > I thought that updating qemu-img to have quasi-fdisk functionality was a > good idea myself. Is there a respected libfdisk.so thing that could be > used to abstract most of the work ? libparted, although I wouldn't call it "respectable". Writing a partition table to an otherwise empty disk is actually dirt simple. -hpa