WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: appsaudit behaviour in case of copy2fs  (Read 2005 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
appsaudit behaviour in case of copy2fs
« on: January 06, 2011, 05:37:13 AM »
in case the extensions are copied to the fs:
  • update apps could immediatly change the tcz instead of using the update dir (the one under optional).
  • mark for deletion could immediatly delete the extensions instead of doing this during the shutdown process
dCore user

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: appsaudit behaviour in case of copy2fs
« Reply #1 on: January 06, 2011, 06:31:18 AM »
A mechanism to check if any of the files concerned are in use would be required (fuser?, lsof[not in base]?)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: appsaudit behaviour in case of copy2fs
« Reply #2 on: January 06, 2011, 07:47:06 AM »
actually all the unmounted extensions could be processed as I wrote on the 1° post
dCore user

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: appsaudit behaviour in case of copy2fs
« Reply #3 on: January 06, 2011, 07:49:54 AM »
Disregard my last post, I had misunderstood.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: appsaudit behaviour in case of copy2fs
« Reply #4 on: January 06, 2011, 08:05:05 AM »
I always find it fascinating that someone posts about what I am working on.

In an effort to promote the use of ondemand I have just completed the support of removing said extensions (unmounted) without the need to reboot. Look for it in 3.5.

Some developers like to blog about their activities, I would rather develop.
« Last Edit: January 06, 2011, 08:29:49 AM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: appsaudit behaviour in case of copy2fs
« Reply #5 on: January 06, 2011, 10:27:44 AM »
heh, I've implemented the same thing here for a test, but forgot about it because I had to develop other stuff;)