[Top][All Lists]

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

Parted CHS patch

From: Andrew Clausen
Subject: Parted CHS patch
Date: Sun, 1 Aug 2004 22:56:23 +1000
User-agent: Mutt/

Hi all,

This is an untested patch to change the way Parted deals with CHS stuff.
I haven't added it to CVS yet.

* Parted maintains dev->bios_geom and dev->phys_geom.  The latter
is useful for non-x86 architectures.

* For msdos partition tables, Parted now keeps a copy of how
each partition entry looked before Parted touched it.  Parted uses
this to do "subjective" CHS (i.e. each partition can potentially
have a different BIOS CHS configuration).  Also, if the partition
wasn't resized, Parted recycles the start/end CHS stuff.

* Parted continues to look in partition table entries and file system
BIOS Parameter Blocks to find CHS geometry stuff.

This is a rather intricate change.  I would be surprised if there is
less than 20 problems with it.  I'm looking forward to lots of comments!


Attachment: chs-take-2.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]