LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-06-2012, 07:24 AM   #1
elico
Member
 
Registered: Dec 2011
Posts: 115

Rep: Reputation: Disabled
Many files or one file


Hi all

One question bugs me for long time .

The LINUX os contains many many files when on disk .

what happens when it is transformed to the target
micro controller flask memory compiled , what then
will it be still composed of many compiled files or just one file that will do the job ?

Thanks
Elico
 
Old 05-06-2012, 10:32 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,388
Blog Entries: 2

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
Whatever host architecture Linux runs on, a filesystem is required, and there will be numerous files populating that filesystem. Flash memory, if used by Linux, must be suitably formatted with a partition table and filesystem(s).
--- rod.
 
Old 05-06-2012, 11:09 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
First, could you clarify what kind of application you are talking about? You said "microcontroller", which implies some kind of special-purpose application.

Second, note that "Linux OS" could mean just the kernel + a few utilities, or it could mean a complete desktop system.

Regardless of the application, any computer SW (including an OS) CAN be put into one file---it almost never, however, makes any sense to do so.
 
Old 05-06-2012, 02:45 PM   #4
elico
Member
 
Registered: Dec 2011
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks
Elico
 
Old 05-06-2012, 10:19 PM   #5
engr04
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Rep: Reputation: Disabled
It is worth noting that if your using nand flash, nor flash, etc, you will typically be writing one or more bootloader images, a kernel image, and a rootfs image (jffs2, yaffs, units, etc). You won't write each file in the file system individually.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete files keeping the files listed in a text file -urgent jeesun Linux - General 4 10-21-2011 11:28 AM
Shell Script for Identifying the file and zip all files, move the files to Target Dir gvenkat Linux - Newbie 3 05-07-2011 10:53 AM
Thunar File Manager shows text files as Adobe bridge workspace files bret381 Linux - Software 6 01-01-2011 09:23 AM
gzip but keep the original file, and bzip2 - multiple files to one file? SirTristan Linux - Newbie 4 10-20-2009 03:37 AM
[SOLVED] dpkg fatal error unable to open files list file Stale NFS file handle cmr26 Linux - Software 5 09-06-2009 04:10 PM


All times are GMT -5. The time now is 04:39 AM.

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