On Sat, Jul 27, 2002 at 10:05:37PM -0500, Jeff Dike wrote:
> fdisk seems willing to operate on files. What's wrong with that?
It insists on manually feeding it a geometry.
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Command (m for help):
> Another possibility is to assign the file to a loop device and running
> fdisk on /dev/loop?.
I never thought of that. That does seem to give fdisk a geometry. Is
it likely to match the UML kernel's idea of the "disk" geometry? (Or
maybe that doesn't really matter.)
steve@... | Southern Illinois Linux Users Group
(618)398-7360 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/