#10040 NORM 12.1.0: we don't use all available SD card space

Zarro Boogs per Child bugtracker at laptop.org
Fri Mar 16 13:58:04 EDT 2012

#10040: we don't use all available SD card space
           Reporter:  wad           |       Owner:  dsd                              
               Type:  enhancement   |      Status:  new                              
           Priority:  normal        |   Milestone:  12.1.0                           
          Component:  build-system  |     Version:  Development build as of this date
         Resolution:                |    Keywords:                                   
        Next_action:  design        |    Verified:  0                                
Deployment_affected:                |   Blockedby:  11690                            
           Blocking:                |  
Changes (by dsd):

 * cc: dsd (removed)
  * owner:  cjb => dsd


 Emiliano posted one way of doing this:

 I'll try and adopt this project this development cycle. Some initial
  * Needs rewrite in sh because python is not included in our boot
  * Need to confirm if the firmware will do the partition resize or if the
 initramfs will do it (OFW doing it would great)
  * Check the logic used for deciding whether to resize the partition or
 not - is there a more future-proof way than looking at XO version? Is
 there a trivial way of determining if there is free space beyond the last
 partition on disk?
  * Use the new ext4 online resize which is supposedly much quicker (use
 the opportunity to ask the author how safe this is in terms of unexpected
 interruption/power loss), and do it from olpc-configure rather than
 initramfs, to avoid needing to put resize2fs in the initramfs

Ticket URL: <http://dev.laptop.org/ticket/10040#comment:26>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list