On Fri, Apr 16, 2010 at 09:50:38PM +0200, Jim Meyering wrote:
> Petr Uzel wrote:
> 
> > These two patch series makes parted print disk geometry even if given disk 
> > does
> > not contain valid partition table.
> >
> > Parted shipped with SUSE has similar patch for some time and one part
> > of SUSE's installer (libstorage) depends on it.
> > [...]
> 
> Thanks for the patches.
> Removing the unwarranted restriction is a welcome improvement.
> However, having to document when the change takes effect is unpalatable,
> because it doesn't make sense: why restrict it only to when we're using
> units of archaic CHS or cylinders?
> (sure, you and I know why, but that's an internal implementation detail)
> 
> Please change it so that it works regardless of which units are
> selected.  It's fine to print "?" in place of the partition table
> type name, when that is unknown.
> 
> A minor thing: since the new _print_disk_geometry doesn't write through
> its "dev" parameter, that parameter should have the "const" attribute:
> 
>     static void
>     _print_disk_geometry (PedDevice const *dev)
> 
> Also, please add a mention of this in NEWS, under "Changes in behavior".
> 
> It'd be great if you would add a test script that exercises
> the new behavior, but if you'd rather not, I will do it.

Thanks for the comments - I'll try to address them (including the
test) and resubmit ASAP.

BR,

Petr

--
Petr Uzel, openSUSE Boosters Team
IRC: ptr_uzl @ freenode

Attachment: pgpVGuj4jXskQ.pgp
Description: PGP signature

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

Reply via email to