LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-25-2013, 10:05 PM   #1
learner71
LQ Newbie
 
Registered: May 2013
Posts: 5

Rep: Reputation: Disabled
RAM and Flash directories in embedded system based on linux


Hi,
There are various directories in linux. Example /root,/var,/etc,/proc,/usr. In embedded system, during boot up, it will copy image from flash to RAM.

Questions:
How can i know, which directory goes to RAM and which resides on FLASH?

Regards
Linux Learner
 
Old 09-25-2013, 11:13 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by learner71 View Post
How can i know, which directory goes to RAM and which resides on FLASH?
You have to study the bootscripts.
 
Old 10-01-2013, 10:27 PM   #3
learner71
LQ Newbie
 
Registered: May 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks,
where is bootscript in linux and how can i change bootscript?
 
Old 10-01-2013, 10:36 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Linux does not have a generic init system, where your bootscripts are (and if they are scripts at all) depends on the distribution in use, it can range from a simple bash script over script based init systems (like SystemV or BSD style scripts) to more sophisticated init systems, like OpenRC or systemd. You will have to determine which system is in use first.
 
  


Reply

Tags
linux boot



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
squashfs for linux embedded system with RAM shortage atulmt Linux - General 1 08-02-2012 05:47 PM
Linux in RAM only to not require shutdown (embedded system)? coffeecoffee Linux - Newbie 3 02-23-2009 07:04 AM
Embedded linux system on 1MB flash ravi_chobey Linux - Embedded & Single-board computer 3 02-12-2009 02:52 PM
RAM based system instead of disk based system ? wini_g Linux - Hardware 7 04-05-2004 06:12 AM

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

All times are GMT -5. The time now is 02:20 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