OpenBSD Journal
Home : : Add Story : : Archives : : About : : Create Account : : Login :
tmpfs on its last legs
Contributed by Anonymous Coward on Fri Aug 12 03:12:51 2016 (GMT)
from the big axe dept.

As a result of apparent lack of maintenance, Theo de Raadt has disabled tmpfs.

Module name:	src
Changes by:	2016/07/25 13:52:56

Modified files:
	sys/conf       : GENERIC 

Log message:
disable tmpfs because it receives zero maintainance.


<< n2k16 hackathon report: Ken Westerback on dhclient, bridges, routing and more | Reply | Flattened | Expanded | n2k16 hackathon report: guenther@ on RELRO support in binutils and arch specific cleanup >>

Threshold: Help

Related Links
more by Anonymous Coward

  Re: tmpfs on its last legs (mod 1/133)
by Anonymous Coward ( on Fri Aug 12 07:31:04 2016 (GMT)
No more building stuff in memory?
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: tmpfs on its last legs (mod 3/131)
by Anonymous Coward ( on Fri Aug 12 14:40:43 2016 (GMT)
  Does anyone know what maintenance it actually needs?

This is a shame, since it was nice getting RAM back after deleting files from tmpfs mounts.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: tmpfs on its last legs (mod 4/120)
by Anonymous Coward ( on Fri Sep 2 02:58:04 2016 (GMT)

To those who wish to re-enable TMPFS, reverse this diff.

To those who question as to why this is necessary, on all flash media, there is a limited number of write (and read, for MLC/TLC) cycles that can be made before the flash chip becomes a tiny brick. This varies depending on the quality of the technology (SLC, MLC or TLC, best to worst). Most cheap (micro)SD cards and USB flash drives fall under the TLC category, whereas most SSDs are fortunate enough to have MLC. SLC is reserved for the far more expensive 'industrial quality' flash media.

MLC and TLC flash suffers from something called 'read disturb,' which causes data corruption after many reads to a cell. This is usually mitigated by the FTL (Flash Translation Layer), by moving data cells after a certain number of reads.

I've had quite a few SD cards die on me after compiling some software projects on a Raspberry Pi before coming to this realization.

  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: tmpfs on its last legs (mod 5/45)
by mxffiles ( on Tue Feb 7 07:46:54 2017 (GMT)
  This is a very good post which I really enjoy reading. It is not every day that I have the possibility to see something like this. Software mxf Software mxf converter free download to convert HD camcorder files. ts converter convert ts video files to avi, mp4, wmv, mov mts to avi mp4 mov mkv iMovie, FCP/FCE with mts converter, so to convert mts files for your PC and mobiles. mod converter and convert tod files just free download mod video converter. m2ts
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

[ Home | Add Story | Archives | Polls | About ]

Copyright © 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. Some icons from used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]