Debian on a system with Compact Flash, without Hard Disk

This is a discussion on Debian on a system with Compact Flash, without Hard Disk within the Linux Programming forums, part of the Platform Specific Boards category; Originally Posted by matsp Flash is no more (or less) vulnerable to this [assuming the filesystem is indeed duplicating crucial ...

  1. #16
    Alessio Stella
    Join Date
    May 2008
    Location
    Italy, Bologna
    Posts
    251
    Quote Originally Posted by matsp View Post
    Flash is no more (or less) vulnerable to this [assuming the filesystem is indeed duplicating crucial data - and most Linux/Unix filesystems do in one way or another - even FAT does that]. The flash device itself is not "destroyed" during a power-down during writing - it will just contain incomplete/incorrect data in that area. Don't you think you would have heard about it if this happened easily, considering the number of iPod's that are out there - must be some people who accidentally shut down the power on their iPod [or run out of power or whatever] whilst the device is writing to the flash-device.

    --
    Mats
    I quite agree. i will try to further discuss about it with my colleague who disagrees with you.

  2. #17
    Alessio Stella
    Join Date
    May 2008
    Location
    Italy, Bologna
    Posts
    251
    Quote Originally Posted by mynickmynick View Post
    I have been told that Debian on an industrial PC with a Comapct flash and without hard disk is not a great idea cause the OS writes often on the main disk and this would hit with flash limited write amount
    is that correct?
    I am preparing a prototype for driving cameras and analyzing images. I do not need much stuff to run. Just my threads, a few servers like ssh or ftp and very probably also Eclipse to avoid cross compiling.
    Cannot I just install the minimal needed so that probably the OS will not write much on flash and corrupt it?

    Thank you
    moreover I guess i can disable swapping

  3. #18
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    All filesystems really used by Linux except ext2 have journalling.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #19
    Alessio Stella
    Join Date
    May 2008
    Location
    Italy, Bologna
    Posts
    251
    Quote Originally Posted by CornedBee View Post
    All filesystems really used by Linux except ext2 have journalling.
    great!
    and you think that it protects fine the flash from sudden power off?

  5. #20
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,669

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange hard disk
    By GanglyLamb in forum Tech Board
    Replies: 20
    Last Post: 03-01-2003, 03:05 AM
  2. hard disk space and spyware
    By oldmancan in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 01-23-2003, 12:24 AM
  3. truely Cleaning a hard disk
    By xds4lx in forum A Brief History of Cprogramming.com
    Replies: 29
    Last Post: 01-22-2003, 11:37 PM
  4. how to store a node on hard disk
    By ALLRIGHT in forum C Programming
    Replies: 3
    Last Post: 05-13-2002, 10:11 AM
  5. program to check hard disk transfer rate
    By shadow99er in forum C Programming
    Replies: 3
    Last Post: 03-01-2002, 04:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21