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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-06-2012, 07:24 AM
|
#1
|
|
Member
Registered: Dec 2011
Posts: 115
Rep: 
|
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
|
|
|
|
05-06-2012, 10:32 AM
|
#2
|
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,270
|
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.
|
|
|
|
05-06-2012, 11:09 AM
|
#3
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.
|
|
|
|
05-06-2012, 02:45 PM
|
#4
|
|
Member
Registered: Dec 2011
Posts: 115
Original Poster
Rep: 
|
Thanks
Elico
|
|
|
|
05-06-2012, 10:19 PM
|
#5
|
|
LQ Newbie
Registered: Mar 2012
Posts: 21
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|