WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: In PPI, on shutdown, tc should unmount tcz that are mounted  (Read 2507 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
In case of PPI operation mode, during the shutdown process, the system should umount the installed tcz
Infact if a user uses tcz on PPI is because the extension is not PPI compatible.
But not all the tcz I want them to be loaded at boot time, so some of the I put in the optional dir.
But If I forget to uninstall them before shutdown, on next reboot the system think they are installed (jnfact they appear unde /usr/local/tce.installed, but this is not true.
« Last Edit: July 28, 2009, 02:35:33 AM by jls_legalize »
dCore user

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
You are mixing modes of operation. PPI impiles persistency. PPR does not.
tce-uninstall is an extension. As such, it cannot be assumed to be available.
You state that you are doing this because not all applicatons are PPI compliant.
10+ Years Contributing to Linux Open Source Projects.

Offline junan

  • Jr. Member
  • **
  • Posts: 88
Mix PPI and PPR sometime confusing and sometime frustating ...
i installed inkscape.tce , and it didn't work. then i unistall it and install
inkscape.tcz ... the result is same. maybe it because of my ram.

when i try to uninstall it , tce-uninstall and tcz-uninstall work like normal.
but when i restart again , the inkscape icon appear at wbar, and in aterm
i still can call inkscape. maybe because of use the PPI mode. when i call
tce-uninstall and tcz-uninstall again , inkscape already removed.

then tinycore linux 2.0rc2 came out ... remove my tclocal directory.
and start new fresh installation  ;D

Code: [Select]
tc@anarkia:~$ inkscape
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

Emergency save activated!
*** glibc detected *** inkscape: malloc(): memory corruption: 0x0a614218 ***
Aborted
tc@anarkia:~$

tinycorelinux still my first choice when booting my laptop.
that's why i keep my ppi repository in different place with ppi uncompatible.
fun and fearless ...

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
......
tce-uninstall is an extension.
.....
no tce-uninstall: tcz-uninstall
I use PPI cause my pc is a p2.
dCore user

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: In PPI, on shutdown, tc should unmount tcz that are mounted
« Reply #4 on: July 28, 2009, 06:12:29 AM »
See change log for  v2.2rc
* Forced unmount of all mounted loop files in rc.shutdown for cleaner shutdown.
10+ Years Contributing to Linux Open Source Projects.