LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-26-2008, 11:51 PM   #1
subhashini.s
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
optimal file system for cfi flash?


what is the optimal file system for cfi flash(NOR)? In what way, I should decide the file system for flash?
 
Old 11-29-2008, 06:54 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I don't know the optimal filesystem, but the main concern with flash memory is the aging due to writing.

To minimize disc writes you should pick a system that does not use journaling, although you may suffer loss if it isn't properly unmounted. Also make sure the disc is mounted using the 'noatime' and 'nodiratime' options so that it won't update access times for files and directories.
Most if not all filesystems for linux tries to spread files across the storage surface to minimize file fragmentation so that would also help to even out the tear and wear of writing.
 
Old 12-01-2008, 09:01 AM   #3
subhashini.s
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
file system

Thank you for the reply..
 
Old 12-01-2008, 09:31 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,701

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What do you mean by cfi? compact flash? What type of devices are you plugging the memory into?
If the memory uses a controller with some type of wear leveling or error correction then file system probably is unimportant. If not, then look at jffs2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Anatomy of a Linux Flash File System LXer Syndicated Linux News 0 05-23-2008 02:40 AM
Linux with file system on Flash saurabhlakhera Linux - General 2 04-22-2008 09:53 PM
LXer: Selecting a flash file system for wireless devices LXer Syndicated Linux News 0 11-11-2006 12:33 AM
pcmcia compact flash reader file system errors drmcc Linux - Hardware 0 01-29-2006 11:33 PM
optimal file output? zero79 Programming 1 08-30-2005 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration