Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: ixbrian on April 10, 2012, 08:22:35 PM

Title: New/Updated Tiny Core file architecture diagrams
Post by: ixbrian on April 10, 2012, 08:22:35 PM
We have some new/updated Tiny Core file architecture diagrams posted on the website:

Full System TCZ/SCM architecture:
http://distro.ibiblio.org/tinycorelinux/arch_core.html (http://distro.ibiblio.org/tinycorelinux/arch_core.html)

SCM architecture:
http://distro.ibiblio.org/tinycorelinux/arch_scm.html (http://distro.ibiblio.org/tinycorelinux/arch_scm.html)

TCZ Mount mode architecture:
http://distro.ibiblio.org/tinycorelinux/architecture.html (http://distro.ibiblio.org/tinycorelinux/architecture.html)

TCZ Copy mode architecture:
http://distro.ibiblio.org/tinycorelinux/arch_copymode.html (http://distro.ibiblio.org/tinycorelinux/arch_copymode.html)
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: maro on April 10, 2012, 10:09:23 PM
I took a fresh look at these diagrams, and stumbled over "core.gz is a initrd that is mounted as the root file system at boot". I'm not sure that it is correct to describe it as "mounting". AFAIK all files (incl. pre-defined devices etc.) from the initrd are being extracted into the root file system. In my view there is no difference (after the boot process has finished) between those files that came from the initrd (e.g. BuxyBox) vs. those that came from one of the "default" tcz files (e.g. Xvesa). Both are "proper" files in the rootFS, only the format of the archive from which they were extracted and the process which performed that extraction differs.

Furthermore I wonder whether the words "... at boot)" in the small green box of the 'arch_copymode' diagram could be removed, as file extraction and copying is not limited to extensions loaded at boot time. I mean I get the same outcome if I'd use 'tce-load -wic ...'.
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: ixbrian on April 11, 2012, 08:13:36 PM
I took a fresh look at these diagrams, and stumbled over "core.gz is a initrd that is mounted as the root file system at boot". I'm not sure that it is correct to describe it as "mounting". AFAIK all files (incl. pre-defined devices etc.) from the initrd are being extracted into the root file system. In my view there is no difference (after the boot process has finished) between those files that came from the initrd (e.g. BuxyBox) vs. those that came from one of the "default" tcz files (e.g. Xvesa). Both are "proper" files in the rootFS, only the format of the archive from which they were extracted and the process which performed that extraction differs.

Furthermore I wonder whether the words "... at boot)" in the small green box of the 'arch_copymode' diagram could be removed, as file extraction and copying is not limited to extensions loaded at boot time. I mean I get the same outcome if I'd use 'tce-load -wic ...'.

Thanks for the feedback. 

I will update them to say "core.gz is a initrd that is extracted as the base root file system at boot"  (Let me know if you can think of a better way to phrase that which is still easy to understand)

And I will also update the Copy Mode architecture to say that extension files are copied into the root filesystem when the extension is loaded.

Thanks again for the feedback. 

Brian
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: maro on April 12, 2012, 02:26:55 AM
Sounds good to me (but I'm probably not the best judge as English isn't my first language).
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: Rich on April 12, 2012, 06:41:51 AM
Hi maro
You could have fooled me. Your spelling and syntax is better than that of many native born Americans.
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: ixbrian on April 12, 2012, 07:16:22 PM
Diagrams have been updated with suggested changes.   Thanks again. 
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: bmarkus on April 12, 2012, 11:17:03 PM
Diagrams are great. However what I'm missing is the dynamics, when in which order files created, added to file system and when scriprs, like bootlocal, installation files are executed.

It would be a great addition to the diagrams.
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: xyz-worx on April 13, 2012, 01:59:36 AM
I fully agree to bmarkus. The diagram are great to understand how the different TCL modes work.
I would suggest to rework the 'left side' of the diagrams. I'll explain it as an example of 'TCZ Copy Mode':
It would also  be possible, to split the 'Files on CDROM....' block, because it is interrupted by the sequences of
the other two blocks.
In this way one can see the chronological progression of the TCL boot sequence.

regards
xyz-worx
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: Rich on May 08, 2012, 12:21:24 PM
Hi ixbrian
Minor typo in the "Full System TCZ/SCM architecture" and "SCM architecture" diagrams. At the bottom of the
box labeled "Running Core System" the firefox.desktop entry is listed as /usr/loca/... instead of /usr/local/...
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: maro on May 08, 2012, 03:28:45 PM
Could it be that a certain keyboard has a problem with the L key? I've noticed that in the "mydata.tgz file" boxes /opt/.xfiletool.st is used instead of /opt/.xfiletool.lst. IIRC this observation applies across all four diagrams.
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: ixbrian on May 08, 2012, 10:21:42 PM
Rich and maro - thanks for the feedback.   I'll get the diagrams updated tomorrow.   
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: ixbrian on May 09, 2012, 09:02:37 PM
Updated diagrams are now posted with typo's corrected.  Thanks again for reporting. 
Title: Re: New/Updated Tiny Core file architecture diagrams
Post by: philip on May 14, 2012, 10:09:23 PM
I really appreciate the diagram at
http://distro.ibiblio.org/tinycorelinux/arch_core.html
(the only one I studied).

If the text-boxes are easy to tweak, that graphic offers four opportunities to upgrade "additonal" to "additional"; there is one place near the bottom right where "extionsion" appears instead of "extension".

It's really nice to have a visual overview of how the pieces of TC fit together ... especially the newer (scm) ones. Thank you!