Filesystem/ hard shut down

Discussion in 'General Discussion' started by ufechner, Nov 22, 2013.

  1. ufechner

    ufechner New Member

    Joined:
    Nov 4, 2013
    Messages:
    10
    Likes Received:
    0
    Hello,

    I need a flight-control computer, that can be turned off while it is writing log files to the SD card
    without having any problems when turning it on again.

    Can this work with the default FAT file system and Ubuntu?

    Would that work better with ext4?

    Regards:

    Uwe Fechner
     
  2. Lifeboat_Jim

    Lifeboat_Jim New Member

    Joined:
    Sep 16, 2013
    Messages:
    399
    Likes Received:
    1
    The key is whether you mean a graceful controlled shutdown or an abrupt removal of power etc.

    The former and it doesn't matter which file system you have really.

    I suspect you mean the latter, whichever file system you choose you'd need to turn all caching off and do immediate writes with Journaling - several options exist (vanilla FAT isn't one of them).
     
  3. ufechner

    ufechner New Member

    Joined:
    Nov 4, 2013
    Messages:
    10
    Likes Received:
    0
    Hi,

    I found out the default Linux image is using ext3, and not FAT.

    So I assume that a hard shutdown is safe, without causing long delays
    during the next boot.

    This is nice! :D

    Uwe
     

Share This Page