LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack 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: Hanover, Germany
Distribution: Slackware
Posts: 14,849
Blog Entries: 2

Rep: Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794
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: Hanover, Germany
Distribution: Slackware
Posts: 14,849
Blog Entries: 2

Rep: Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794Reputation: 3794
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration