A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

August 24, 2016

What's the difference between creating new root fs and simply saving an executable to linux?

Forums: 

Hi,

pretty new to Embedded Linux. Just went through introduction course in Embedded Linux. I'm working on PHYTEC's phyFlex-i.MX6 dev kit.

Have a (probably) ignorrant question... I understand that there is this entity called "ROOT FS", yesterday I went through a nightmare time after I erased it from the NAND memory of the my dev kit but finally and fortunately was able to re-intall it back via an SD card! The reason that I arased it was I wanted to add "nano" text viewer / editor and tutorial told me to fo so... Then I went through several excersizes and compiled TCP Server / Client programs, which I later copied to my dev. kit's memory and ran it by calling the executables from command prompt. SO.....

WHat is the darn difference between root file system and the fact that I can copy and execute individual files to linux without re-building root fs? Could I just simply compile "nano" source code and copied it to Linux like I did it with Server / CLient?

Can someone explain please?

Thank you and I apologize if this is too ridiculously ignorrant :(

 

Click Here!