LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-15-2018, 07:23 AM   #1
OkCalis
LQ Newbie
 
Registered: Dec 2017
Posts: 20

Rep: Reputation: Disabled
Smile Persistence with Read-only File System


Hi,

I've been working on an ARM processor running Linux Ångström, and I currently export the file system to the target via NFS.

Once I'm done with debugging my application, I want to store the file system in the flash memory, but there are two constraints: the file system must be invulnerable to power outages (I don't expect the final product to be powered down properly every time) and I also need some persistence (store some variable parameters in the flash memory, which must not get lost after each boot). How can I achieve this?

So far, I've read about JFFS2, YAFFS, RAMDISK, but as far as I understand, those provide either read-only or read-write file systems? Is it possible to have a read-only file system that will allow my application to change certain configuration files in it?

Thanks in advance,
OkCalis
 
Old 01-15-2018, 07:33 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
So basically you want writable read-only filesystem. O'brother ...
 
Old 01-15-2018, 07:36 AM   #3
OkCalis
LQ Newbie
 
Registered: Dec 2017
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
So basically you want writable read-only filesystem. O'brother ...
I just ask if it is possible. Sorry, I didn't realize it was such a weird question.
 
Old 01-15-2018, 07:57 AM   #4
rocq
Member
 
Registered: Jan 2013
Location: Netherlands
Distribution: XUbuntu
Posts: 45

Rep: Reputation: Disabled
Quote:
I just ask if it is possible. Sorry, I didn't realize it was such a weird question.
No question is weird...

One way to achieve this may be by using overlay file systems, such as unionFS: https://en.wikipedia.org/wiki/UnionFS

Last edited by rocq; 01-15-2018 at 07:59 AM.
 
1 members found this post helpful.
Old 01-15-2018, 10:44 PM   #5
OkCalis
LQ Newbie
 
Registered: Dec 2017
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rocq View Post
No question is weird...

One way to achieve this may be by using overlay file systems, such as unionFS: https://en.wikipedia.org/wiki/UnionFS
I'll look into that. Thank you
 
  


Reply

Tags
embedded, file system, persistence


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
chmod: changing permissions of `/usr../bin': Read-only file File System Issue cdhar Linux - Newbie 3 12-31-2012 06:17 AM
Read Only File System? Can't read superblock! haughjd Linux - Software 4 01-15-2008 08:27 AM
web server (fedora core 5) became read-only file system after i upload a file nggs8411 Linux - Server 1 03-26-2007 09:23 AM
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

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

All times are GMT -5. The time now is 01:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration