#5174 HIGH Future : Shallow copy is not atomic - shutdown during first boot is fatal

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 14 19:41:56 EST 2007


#5174: Shallow copy is not atomic - shutdown during first boot is fatal
------------------------------+---------------------------------------------
  Reporter:  kimquirk         |       Owner:  cscott        
      Type:  defect           |      Status:  new           
  Priority:  high             |   Milestone:  Future Release
 Component:  upgrade utility  |     Version:                
Resolution:                   |    Keywords:                
  Verified:  0                |  
------------------------------+---------------------------------------------
Changes (by dwmw2):

 * cc: dwmw2 (added)


Comment:

 Replying to [comment:1 wmb at firmworks.com]:
 > Possibility 4) Fix mkfs-jffs2 to support hard links and amend the
 pilgrim build process to do the shallow copy at build time.  This solves
 the problem to the same degree as (3), and can be automated, but requires
 a fair amount of coding and extensive testing of the new tools.  We should
 probably do it eventually.

 The coding in the tools is fairly trivial.

 http://git.infradead.org/?p=mtd-
 utils.git;a=commitdiff;h=042f3cd5bd362ae05c11591810321a6fd9d5c784

 Of course, it wants switching from a linked list to a sensible data
 structure such as a tree -- but that isn't hard either. Left as an
 exercise for the reader.

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



More information about the Bugs mailing list