WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Install vs Mount - Core Concepts  (Read 4663 times)

Offline oleg

  • Newbie
  • *
  • Posts: 20
Install vs Mount - Core Concepts
« 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 ?


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Install vs Mount - Core Concepts
« Reply #1 on: February 10, 2010, 08:18:41 PM »
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.

Offline oleg

  • Newbie
  • *
  • Posts: 20
Re: Install vs Mount - Core Concepts
« Reply #2 on: February 10, 2010, 08:58:10 PM »
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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11046
Re: Install vs Mount - Core Concepts
« Reply #3 on: February 11, 2010, 05:29:36 AM »
Yes, tce-load honors them. Copy is the same as install.

-i install, -w wget.
The only barriers that can stop you are the ones you create yourself.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Install vs Mount - Core Concepts
« Reply #4 on: February 11, 2010, 05:37:14 AM »
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
Code: [Select]
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
 

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: Install vs Mount - Core Concepts
« Reply #5 on: May 03, 2011, 01:53:59 AM »
? 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?
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Install vs Mount - Core Concepts
« Reply #6 on: May 03, 2011, 02:37:07 AM »
Opening a 2nd desktop is simply a visual effect.
You might want to look into 'chroot'.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)