Tiny Core Base > Corepure64

Questions to FAQ about TCL

<< < (12/29) > >>

TinyCoreLinux:
@aus9
I knew... But Thank you for your advice! :)

TinyCoreLinux:

--- Quote from: NOOB on August 01, 2020, 06:51:16 AM ---Q6: Why are files or folders recorded in the /opt/.filetool.lst configuration file still deleted?
But opt and home directories can always be kept.
pre-work:

--- Code: ---mkdir /usr/share/fonts
cp *.ttf /usr/share/fonts

--- End code ---
The following is the content of my file ".filetool.lst":

--- Code: ---opt
home
...
/usr/share/fonts #or /usr/share/fonts/xxx.ttf

--- End code ---
The result: Fonts folder was still deleted. :o

--- End quote ---
Is there any way to persist the entire disk's data? Once and for all.

Juanito:
For large static files you should make your own local extension and then either load it "onboot" or when needed.

If you insist on storing large files in your backup, which will slow down shutdown and booting, you should either use the gui cpanel/Backup/Restore to add the files or manually add them to /opt/.filetool.lst and remove the leading slash, for example:

usr/local/share/fonts/xxx.ttf

and not

/usr/local/share/fonts/xxx.ttf

TinyCoreLinux:
@Juanito
Thank you for your advice and reminder. But first I'd like to know what you mean by "you should make your own local extension"?Does fireflysung.tcz do it that way?How do you do that?

Juanito:
Making your own extension using squashfs-tools is explained at the end here: http://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions

I would guess that, once loaded, fireflysung needs the following commands to work with firefox:
--- Code: ---$ sudo fc-cache /usr/share/fonts
[and maybe]
$ sudo ln -s /usr/local/etc/fonts /etc
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version