Tiny Core Base > TCB Talk
plz delete the home during shutdown in case is in filetool and persistent
Guy:
If I understand you, this is a problem when one is changed and not the other. For example, when you use a USB drive in a different computer.
If I that is the case, a possible solution to consider.
If you boot from Grub, make two different boot options in Grub, one where home is loaded, and the other where home is not loaded. When you use it in another computer, use the option where home is not loaded. You can still access home using the file manager.
Does this help?
alu:
what about multiple directories with your mydata and tce apps? exemple: sometimes, i have to use tc-1.4 in order to chat on skype, nevertheless, i want to keep both tc-1.4 and tc-2.0rc3 on my usb-pendrive with appropriate apps; what i did is the following:
1. create a tc-1.4 directory with tce/z apps and one mydata.gz file;
2. create another tc-2.0 directory with tce/z apps for tc-2 and another mydata.gz file;
3. if i want to run tc-1.4, i just have to point my syslinux.cfg to the right directory; if i want tc-2, i modify syslinux.cfg;
4. at boot, i type cheat codes in order for TC to load the appropriate apps and the appropriate mydata.gz file (f.ex.: tce=sda1/tc-2/tce restore=sda1/tc-2)
you can probably apply this solution with variations depending on your needs.
roberts:
jls,
What you are propsing would not be persistent.
The point of specifying a persistent home was to often times avoid a backup or at most have a much reduced backup (sans /home/tc). Of course this meant to adjust .filetool.sh/.xfiletool.sh
Since TC is all about choices and if you wish to modify to suit your particular needs, you want to add such deletion after a sucessful backup. Check out /usr/bin/exitcheck.sh. I really don't recommend this unless you really know what you are doing. Make your custom exitcheck.sh into a tce.
jls:
so what do u recommend for my particular situation?
I don't think it's particular or maybe we are few people using this distro.
I don't think it's good for my pcs to have a non persistent home which at the moment is 49MB (I know I should reduce it (I actually also have a .local hyerarchy which I could make an extension out of it)).
I also thought to modify exitcheck.sh, maybe I'll do, but I would like to hear also some other opinions from the other users.
jls:
my problem could be solved also deleting the persistent home during the startup process, for recreating a sane one from mydata
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version