Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-06-2012, 07:24 AM   #1
Registered: Dec 2011
Posts: 136

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 ?

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

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
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
Registered: Dec 2011
Posts: 136

Original Poster
Rep: Reputation: Disabled
Old 05-06-2012, 10:19 PM   #5
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.


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

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 05:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration