@@ -727,12 +727,15 @@ def action_resize(self, resizable):
727727 p_info ( f" Free space: { col ()} { ssize (free )} " )
728728 p_info ( f" Available space: { col ()} { ssize (avail )} " )
729729 p_info ( f" Overhead: { col ()} { ssize (overhead )} " )
730- p_info ( f" Minimum total size: { col ()} { ssize (min_size )} ({ min_perc :.2f} %)" )
730+ p_info ( f" Minimum new size: { col ()} { ssize (min_size )} ({ min_perc :.2f} %)" )
731731 print ()
732732 if overhead > 1000000000 :
733- p_warning (" Note: The selected partition has significant disk space overhead." )
733+ p_warning (" Warning: The selected partition has a large amount of overhead space." )
734+ p_warning (" This prevents you from resizing the partition to a smaller size, even" )
735+ p_warning (" though macOS reports that space as free." )
736+ print ()
734737 p_message (" This is usually caused by APFS snapshots used by Time Machine, which" )
735- p_message (" use up free disk space and prevent resizing the partition to a smaller" )
738+ p_message (" use up free disk space and block resizing the partition to a smaller" )
736739 p_message (" size. It can also be caused by having a pending macOS upgrade." )
737740 print ()
738741 p_message (" If you want to resize your partition to a smaller size, please complete" )
@@ -743,12 +746,16 @@ def action_resize(self, resizable):
743746 print ()
744747
745748 if avail < 2 * PART_ALIGN :
746- p_warning ("Not enough available space to resize. Please follow the instructions" )
747- p_warning ("above to continue." )
749+ p_error (" Not enough available space to resize. Please follow the instructions" )
750+ p_error (" above to continue." )
751+ return False
752+
753+ if not self .yesno ("Continue anyway?" ):
748754 return False
755+ print ()
749756
750757 if avail < 2 * PART_ALIGN :
751- p_warning ("Not enough available space to resize." )
758+ p_error ("Not enough available space to resize." )
752759 return False
753760
754761 p_question ("Enter the new size for your existing partition:" )
0 commit comments