Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: nick65go on March 13, 2026, 06:58:29 PM
-
in TC17 32 bits, from rootfs.gz, in /etc/init.d/tc-functions:
the functions merge(), replace(), purge() use the commands index() and getline. but I think they are not functional because they are not internal into ash, neither applets from busybox. Also /bin/which did not find them.
I tested by: I booted in GUI from qemu, and opened aterm then sourced /etc/init.d/tc-functions.
-
Hi nick65go
The functions merge(), replace(), and purge() are all using awk.
index and getline are both awk functions.
-
@Rich: thank you, my mistake, I was superficial and tired.
FYi: I was "working" to make TC17-32 to boot in less than 45 MB RAM, so I scanned for functions and binary to load on demand. I succeed to run it in qemu with 41MB RAM .. and still try lowering the demands WITHOUT eliminating ANY original program, but just load some of them with delay (on-demand), from the same storage as vmlinuz+core.gz
If you are interested the link is here (with info updated)
https://forum.tinycorelinux.net/index.php/topic,28067.msg181745.html#msg181745 (https://forum.tinycorelinux.net/index.php/topic,28067.msg181745.html#msg181745)
-
I'd also suggest trying the same steps on a fresh boot with only the required extensions loaded. That can help rule out conflicts and makes it much easier to see whether the issue is with the configuration or an extension that's being pulled in later.