#7300 NORM Never A: /tmp must be a tmpfs

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 18 13:38:04 EDT 2008


#7300: /tmp must be a tmpfs
----------------------------+-----------------------------------------------
 Reporter:  martinlanghoff  |       Owner:  mstone        
     Type:  defect          |      Status:  new           
 Priority:  normal          |   Milestone:  Never Assigned
Component:  distro          |     Version:  Update.1      
 Keywords:                  |    Verified:  0             
 Blocking:                  |   Blockedby:                
----------------------------+-----------------------------------------------
 We need to have /tmp be a tmpfs to save pointless NAND writes.

 Programs that need to store sizable things in a tmpdir should use
 /var/tmp, which will still be in NAND.

 There is a long-standing tradition of having /tmp in volatile and
 constrained storage (ie: ramdisks), so it is a bug for anything to write
 large files there. I mention this because I think it's worthwhile to run a
 quick check for users of /tmp to avoid unexpected breakage -- is olpc-
 update (ab)using /tmp when it should use /var/tmp?

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


More information about the Bugs mailing list