#1926 HIGH Trial-3: Mounting USB stick fails sometimes

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 24 15:43:42 EDT 2007


#1926: Mounting USB stick fails sometimes
----------------------+-----------------------------------------------------
  Reporter:  jfuhrer  |       Owner:  J5      
      Type:  defect   |      Status:  assigned
  Priority:  high     |   Milestone:  Trial-3 
 Component:  distro   |     Version:          
Resolution:           |    Keywords:  usb     
  Verified:  0        |  
----------------------+-----------------------------------------------------
Changes (by J5):

  * status:  new => assigned

Comment:

 Ah, figured this out while transferring files for testing.  What is
 happening is the USB key always gets mounted but mtab can only be created
 once.  This is because the way mounting works is it mounts the file system
 and then writes an mtab entry to a temporary file and then moves that file
 over the original to avoid corrupting the file.  mtab is mounted on tmpfs
 and is it is own mount point and mount points can not be overwritten.
 Since mtab is not modified the UI never sees the mount.  The quick fix is
 to pull mtab out of tmpfs.

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



More information about the Bugs mailing list