WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Overwriting file in extension  (Read 1291 times)

Offline b1ackmai1er

  • Jr. Member
  • **
  • Posts: 95
Overwriting file in extension
« on: September 16, 2011, 08:38:25 AM »
Hi,

I have an extension installed that I want to make a change to in one of the template files. I can edit the file to make the change but cannot save as the file as it is part of the read-only filesystem.

Is there a way I can get my application to use my updated file without having to remaster the whole extension to include the changed file?

Thanks

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Overwriting file in extension
« Reply #1 on: September 16, 2011, 08:56:47 AM »
if I understand, add path of modified file in /opt/.filetool.lst and make a backup.
after reboot your changes should be overwritten on filesystem from your backup file.

http://wiki.tinycorelinux.net/wiki:backup

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11290
Re: Overwriting file in extension
« Reply #2 on: September 16, 2011, 09:12:07 AM »
Hi b1ackmai1er
You should know by now to include details when you ask a question, like which extension you are
referring to.
The basic answer is you have to replace the link in  /usr/where/the/link/is  with the file
  /tmp/tcloop/where/the/file/is   and add   usr/where/the/file/is/now   to   /opt/.filetool.lst
Then edit   /usr/where/the/file/is/now
Hope this makes sense.