#2413 HIGH Trial-3: User should not know about "unmounting"

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 31 13:48:47 EDT 2007


#2413: User should not know about "unmounting"
-------------------------------+--------------------------------------------
  Reporter:  Zack              |       Owner:  tomeu  
      Type:  defect            |      Status:  new    
  Priority:  high              |   Milestone:  Trial-3
 Component:  journal-activity  |     Version:         
Resolution:                    |    Keywords:         
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Comment (by J5):

 We went through this when implementing automounting USB sticks in Linux.
 Sync kills flash disks.  A disk that would last years being written to can
 die within a month with using sync with any filesystem using a file
 allocation table.  The issue is that each memory block can only be erased
 a certain amount of times.  Since the FAT is contained on a fixed portion
 of the disk every time you do a write you are erasing and writing to
 blocks in that fixed portion.  jffs2 avoids this by generating its table
 in memory every time you boot.  Forcing people to format their usb sticks
 doesn't work so we are stuck with FAT.  The fix here is both short term
 and long term.  The short term fix is make it prevalent in the UI, not
 just the journal.  The long term fix would be to somehow write a caching
 file system which could resume if the user pulls out the key, i.e. user
 pulls drive, sugar yells at them, user puts drive back in, sugar repairs
 the file system, flushes its cache and unmounts the drive.  For now we can
 just yell at them.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2413#comment:7>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list