On Mon, Jun 14, 2010 at 01:06:09PM +0100, Colin Watson wrote:
> parted-devel, can anyone comment on this?  It seems to me that either
> (a) _get_lax_constraint should be using ped_alignment_any for its start
> alignment, rather than aligning to sectors * heads boundaries, or (b)
> Sun labels really and truly require cylinder alignment, in which case
> requests to use optimal alignment shouldn't be honoured.

The begin of the partition has to be defined in cylinders:

        struct __attribute__ ((packed)) _SunRawPartition {
                u_int32_t       start_cylinder; /* where the part starts... */
                u_int32_t       num_sectors;    /* ...and it's length */
        };

IMHO it does not make sense to use non-cylinder alignment here.

    Karel

-- 
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to