Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #10457

When does a program write to the SD card

From removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter)
Newsgroups comp.sys.raspberry-pi
Subject When does a program write to the SD card
Date 2016-01-28 14:32 +1200
Organization Agency BBS, Dunedin - New Zealand | bbs.geek.nz
Message-ID <1453988352@f31.n310.z2.fidonet.org> (permalink)
References <n8d407$be2$2@dont-email.me>

Show all headers | View raw


Hi Martin!

28 Jan 2016 13:10, from Martin Gregorie -> Jon:

 MG> - pulling the SD card out of an RPi, satnav, PDA, etc. while its still
 MG>   running
 MG> then you'll sooner or later you'll corrupt the card and it will be
 MG> your fault.

That is the trivial fault.
The much bigger one is the number of writes.

Irrelevant for a satnav.
But can be very relevant for a RPi, depending on how you use it.

That is the reason for eg ramlog
http://www.tremende.com/ramlog/

Believe me there IS a good reason to fear for the health of your SD card when 
used as the root FS for a linux system.

 MG> I've been using SD cards for over 10 years in a variety of PDAs,
 MG> satnavs, RPis and flight loggers.
Lucky you!
Reads on low number of serial writes is usually no big problem.

Random writes can be a big problem.
SD cards are not designed to for such workloads.

SD cards are also called probabilistic storage devices.
They store something, hopefully the data you get back has something to do with 
the data that you put there.

Under the hood it is a real mess, and we are quit lucky that they work as good 
as they do, if you take into account the work that is done behind the scenes 
from the controller to present you something that LOOKS reliable.

CU, Ricsi

Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

When does a program write to the SD card Jon - 2016-01-27 15:01 -0500
  Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-01-27 20:24 +0000
    Re: When does a program write to the SD card Jon - 2016-01-28 10:37 -0500
  Re: When does a program write to the SD card Anssi Saari <as@sci.fi> - 2016-01-28 10:23 +0200
  Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-28 13:10 +0000
    When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-28 14:32 +1200
      Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-28 21:01 +0000
        When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-29 01:40 +1200
          Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 09:45 +0000
            When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-29 12:17 +1200
              Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 12:22 +0000
                Re: When does a program write to the SD card Dave Higton <dave@davehigton.me.uk> - 2016-01-29 14:52 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 15:34 +0000
                Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-04 23:52 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-05 00:37 +0000
                When does a program write to the SD card NOSPAM.Richard.Menedetter@f31.n310.z2.binkp.net (Richard Menedetter) - 2016-02-02 18:34 +1200
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-02 18:00 +0000
          Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-29 11:41 +0000
            When does a program write to the SD card NOSPAM.Richard.Menedetter@f31.n310.z2.binkp.net (Richard Menedetter) - 2016-02-02 18:29 +1200
        Re: When does a program write to the SD card "Dave Liquorice" <allsortsnotthisbit@howhill.com> - 2016-01-31 10:42 +0000
          Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-31 11:04 +0000
          Re: When does a program write to the SD card Ronald Pfeiffer <ronald.pfeiffer@gmx.de> - 2016-02-05 02:22 +0100
            Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-07 12:29 +0000
              Re: When does a program write to the SD card Rob Morley <nospam@ntlworld.com> - 2016-02-07 13:59 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-07 14:10 +0000
                Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-07 16:00 +0000

csiph-web