#11884 NORM 12.1.0: Save 80MB hardlinking activities

Zarro Boogs per Child bugtracker at laptop.org
Tue May 22 17:29:58 EDT 2012

#11884: Save 80MB hardlinking activities
 Reporter:  martin.langhoff  |                 Owner:  pbrobinson   
     Type:  defect           |                Status:  new          
 Priority:  normal           |             Milestone:  12.1.0       
Component:  distro           |               Version:  not specified
 Keywords:                   |           Next_action:  never set    
 Verified:  0                |   Deployment_affected:               
Blockedby:                   |              Blocking:               
 In a recent discussion with the Sugar team, someone pointed out that
 there's duplication of some large files across activities (TamTam suite
 packs a few duplicate binaries for example).

 Fixing the root cause is a long slog. A simple hardlink gets us the long
 hanging fruit.

 {{{[olpc at xo-73-3f-ee ~]$ du -sh Activities ; df -h | grep rootfs
 653M    Activities
 rootfs                7.3G  2.0G  5.3G  27% /
 [olpc at xo-73-3f-ee ~]$ hardlink -v Activities
 Directories 7719
 Objects 28697
 IFREG 20978
 Comparisons 9843
 Linked 8678
 saved 83247104
 [olpc at xo-73-3f-ee ~]$ du -sh Activities ; df -h | grep rootfs
 573M    Activities
 rootfs                7.3G  1.9G  5.4G  26% /

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

More information about the Bugs mailing list