bug-parted
[Top][All Lists]
Advanced

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

Re: Parted CHS patch


From: Andrew Clausen
Subject: Re: Parted CHS patch
Date: Sat, 7 Aug 2004 10:54:08 +1000
User-agent: Mutt/1.5.5.1+cvs20040105i

On Mon, Aug 02, 2004 at 05:25:01PM -0400, Patrick J. LoPresti wrote:
> This clever code is all very nice, but it still does not let me
> override the geometry from the command line.  I need this capability
> to partition blank (or corrupted) disks properly.
> 
> Will you add such a mechanism?  If not, would you accept patches which
> did?

Yes and yes.

What's a good UI?

        # parted /dev/hda 23583/128/32
        (parted) select /dev/hda 23583/128/32

Should Parted override this geometry if it can infer it from the
partition table?  Should it ask?

Eg:

        You told Parted that /dev/hda has geometry 23583/128/32.
        However, the partitions on /dev/hda say that /dev/hda has
        geometry 14556/255/63.  If you select Fix, then Parted will
        tell the partition table that 23583/128/32 is the correct
        geometry.  If you select Ignore, then Parted will assume that
        14556/255/63 is correct.

        Fix/Ignore/Cancel?

If the user selects "fix", should Parted also replace the Bios Parameter
Blocks in FAT and NTFS file systems?

Cheers,
Andrew





reply via email to

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