WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Questions to FAQ about TCL  (Read 29954 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Questions to FAQ about TCL
« Reply #135 on: August 05, 2020, 05:27:29 AM »
Whenever you open a new aterm window, it loads TCL Default shell - "ash".

Type in :
Code: [Select]
bashto get back to bash shell so that you get those environment variables back.

TinyCoreLinux

  • Guest
Re: Questions to FAQ about TCL
« Reply #136 on: August 05, 2020, 05:39:36 AM »
Do you mean that the system uses .arshrc files or.bashrc depending on the shell being used?
« Last Edit: August 05, 2020, 05:41:42 AM by NOOB »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Questions to FAQ about TCL
« Reply #137 on: August 05, 2020, 07:53:57 AM »
Every shell uses it's own rc file. This is the case for all Linux systems. However they should all use .profile and /etc/profile. You will be better off to use these instead. If you want to use bash instead of busybox ash you will need to modify /etc/passwd to set the default shell.

TinyCoreLinux

  • Guest
Re: Questions to FAQ about TCL
« Reply #138 on: August 05, 2020, 08:44:04 AM »
@andyj
ok.I get it.

TinyCoreLinux

  • Guest
Re: Questions to FAQ about TCL
« Reply #139 on: August 06, 2020, 04:13:16 AM »
I was curious how TCL managed to restore the system to its original state when it was turned off, and how it loaded the entire system into RAM when it was turned on. What is the technical term for these techniques? Is this done by storing all the system files in the Initrd file? Is there any reference or technical literature?
« Last Edit: August 06, 2020, 04:17:23 AM by Trump »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Questions to FAQ about TCL
« Reply #140 on: August 06, 2020, 05:16:54 AM »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Questions to FAQ about TCL
« Reply #141 on: August 06, 2020, 05:21:37 AM »
I confused about 30 min looking at that diagram figuring where to start (I saw it in the TCL page an eternity ago). Start from "Files in CD/HDD/USB".

 I don't know the technical literature terms used but what I know is that the TCL uses the same method of "Live Linux CDs". Live Linux CDs load their Linux OS into RAM and then do our work. In the same way, TCL does the same thing. It has all of its required files in the kernel and initrd. And on what I researched, it is called tmpfs.

Source :
https://www.quora.com/How-does-the-live-CD-of-Ubuntu-Linux-work
https://en.wikipedia.org/wiki/Tmpfs
http://tinycorelinux.net/corebook.pdf - Corebook, Page 3 .

TinyCoreLinux

  • Guest
Re: Questions to FAQ about TCL
« Reply #142 on: August 06, 2020, 06:50:02 AM »
@Sashank999 @Rich
I'm confused...

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Questions to FAQ about TCL
« Reply #143 on: August 06, 2020, 06:57:49 AM »
tmpfs means loading full OS files into RAM. And its full description and info is in Wikipedia link above.

The diagrams Rich said are flowcharts that contain whole info about the TCL loading on boot up into RAM. Start at "Files in CD/HDD/USB" in those diagrams to get info about files you need to run TCL.

TinyCoreLinux

  • Guest
Re: Questions to FAQ about TCL
« Reply #144 on: August 09, 2020, 06:59:24 PM »
Q12: The following error messages appear every time you boot. How can you eliminate them? Or just turn it on and not show all the information?
Code: [Select]
Booting Core 11.1
Running Linux Kernel 5.4.3-tinycore64.
...
Loading extensions...udevd[182]: unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17
udevd[182]: unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17
udevd[182]: unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17
udevd[182]: unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules:17
...
hehe login: [drm:0xffffffffa024c888] *ERROR* CPU pipe A FIFO underrun
...

« Last Edit: August 09, 2020, 07:00:58 PM by Trump »