Fdisk GPT disk/partition size display

Justin Maggard jmaggard10 at gmail.com
Tue Mar 29 02:02:33 UTC 2011


The latest busybox fdisk utility with GPT enabled displays the wrong
size for the disk and partitions.  This appears to be because
smart_ulltoa5() is expecting bytes, where gpt_list_table() is sending
sectors.  The attached patch fixes it for me.

-Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-fix-gpt-size-disp.diff
Type: text/x-patch
Size: 917 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110328/2f3360c5/attachment.bin>


More information about the busybox mailing list