Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: oleg on February 10, 2010, 07:49:44 PM
-
On the main page "Getting Started with Tiny Core Linux - Core Concepts" there are 2 distinct modes: "The Second Mode of Operation: TCE/Install" and "The Third Mode of Operation: TCE/Mount".
These might be silly questions, but...
How one distinguishes between these two?
AppBrowser has only "Install" and "OnDemand" buttons. When I install is it mounting or installing?
Is the command "tce-load -i" mounting or installing?
How to do either way?
Where to read about tce-load command?
Another problem which I have is monitoring free memory (I use 'top' or 'free' commands).
Say I have 47M consumed. I install opera10. Memory consumed jumps to 53M. If I start opera memory jumps to 114M. But when I exit from opera the memory reduces only to 104M.
Is there a way to uninstall/unload programs ?
-
The appbrowser "Install Options" controls whether some or all programs are ram loaded or mounted.
It does this by managing the copy2fs.flg and copy2fs.lst files.
-
Does tce-load use the same copy2fs flag files?
Does copy mean installed and non-copy mean mounted (default)?
What are options for -i and -w for tce-load?
-
Yes, tce-load honors them. Copy is the same as install.
-i install, -w wget.
-
Another problem which I have is monitoring free memory (I use 'top' or 'free' commands).
Say I have 47M consumed. I install opera10. Memory consumed jumps to 53M. If I start opera memory jumps to 114M. But when I exit from opera the memory reduces only to 104M.
Is there a way to uninstall/unload programs ?
This command may be helpful
sudo /usr/sbin/cache-clear
It does not "uninstall/unload programs" as requested but does clean up cached files created by an application.
On my test system the kernel does not deal with cached files as well as cache-clear. The kernel usually only partly cleans up in the way you observed with Opera. I obtained some helpful information in this post:
http://forum.tinycorelinux.net/index.php?topic=4961.0
-
? would it make sense to add a button to App Browser ?
"UNLOAD/OFF" application or some such feature?
Not remove it from "optional" - rather clear that space in memory and make it unavailable to aps unless "reloaded"?
Also, does opening a 2nd Desktop start a "new instance" of a fresh ram image such that aps run in Desktop #2 are isolated from Desktop 1? If not, perhaps something at "boot" to accomplish this or am I reaching for a royal pain to code?
-
Opening a 2nd desktop is simply a visual effect.
You might want to look into 'chroot'.