Tiny Core Base > TCB Tips & Tricks

delete subdir of tcloop TinyCore 4.7

(1/3) > >>

chang5811:
I created a cusmtized tcz.  However, I could NOT remove or midifed it at all.  The process created a subdirectory under the persistent /tmp/tcloop and my tcz under /tmp/builtin/optional.  I tried to remove the tcz by "tce-audit delete". The system said that "can't open the tce.db: no such file".  I removed manually that tcz and the link files and edit the tcz line out of  the /tmp/builtin/onboot.lst.  But when I rebooted, everything is back to original.  How can I modify the tcz?  I tried to modify a file under the customized tcz.  Since it is stored under the persistent tcloop, I could not do anything by user (tc) or by root

gerald_clark:
/tmp/tcloop is NOT persistent. It is the directory where the tcz files are loop mounted.
What EXACTLY are you trying to edit?

chang5811:
I tried to edit one of files in mycusomtized tcz.  I followed the example from one of the tiny core cook book to create the customized.tcz.  I noticed that the process automatically moved all my files to the tcpool subdir and my original files of destination became links point to the new subdir under the tcpool.   Even the file (the real file) still has tc/staff ownership, but I can not edit the file by tc user, neither I could not edit the link file which has root/root.   So I tried to remove all files, including the links and anything related to my original package (tcz).  But every time I removed the tcz package under the tce/optional and removed the tcz file name under the onboot.lst, they both return when I reboot.  If I tried to remove the subdir of tcpool, the system won't allow.

curaga:
Extensions are read-only. You cannot modify files in them.

chang5811:
I realized that later.  So In general how can I modify the files within the extension?  and why could I remove the extension and the onboot.lst that covers the extension and anything related to that while the system was on?  So that I can rebuild the extension.

Navigation

[0] Message Index

[#] Next page

Go to full version