[parted-devel] [PATCH] parted: Display details of partition alignment failure (#726856)

Phillip Susi psusi at ubuntu.com
Thu Nov 12 01:54:08 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/09/2015 06:14 PM, Brian C. Lane wrote:
> Because it seems less messy. There's a pile of exception handling 
> happening in do_mkpart already. Pushing it down would make it less 
> obvious.

I'm not sure what you mean.  The general rule for exceptions is that
they are thrown at the site where they are detected.  If a caller
wishes to catch it, they can, but in this case, I don't see the need
for that, so it would be simpler to throw it at the lower level and
the caller need not be concerned with it.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJWQ/FAAAoJEBB5UWFcu6UW+rEH/0Z/tFEJH/gW22X1Qfj8bv9F
dOXwn8ESDfP4Xt1/6XjdhCoamT4/aNtX902coJI3tZF6UcPwT4vF5F3PRMz7X2Ps
lK2txEcaCq3bZgleaFb9No4ZIToyi7318mcA8D1s/6e+n3jFQmwTBby7GTPIgWjU
2J63rsAu+prdremRB7Bh1M4wc9baJdsnCzMjxQ/OdAS81b3vaTfqd93FfSfyF2Tw
LHsE6Q0hIl66ICurbQx+DWgmp3pE13WAwoYttsqP6uBHWOIEoi2iG9VXlOGbLHd7
cX85WpLTN3XdAfoBW1SMoXMdBTEgGgGklC1W6WvQagUyUcsNVmAvqCyhhnh2INg=
=W0u5
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list