eddy_norton wrote: Mon Nov 15, 2021 5:16 am
Frugal with no save file.
If the sfs is not on usb or home it will always copy. So to solve the problem I've created a home folder /mnt/home
which does not exit in Slacko64-7.0. I just create a symlink for every sfs I want to load at boot in /mnt/home.
I use the adrv_slacko64_64.sfs as my configuration file to make changes (which I do very often) because it is very small.
I added "sfs_load -c -q /mnt/home/*" in /etc/rc.d/rc.local so every symlink in that folder will be loaded
I get the gist of your explanation.
Frugal with no save file = running LIVE (PUPMODE 5).
If we run LIVE, /mnt/home is not created nor part of the system because that directory is used with save files.
If sfs_load is looking for those .sfs while using save files, it won't try to copy them if they are symlinked to the directory it wants to copy them to.
I am not sure with adrv what their name has to be, so I copy the exact format of an zdrv or fdrv. E.g., what is a browser adrv? To me it seems like just another .sfs that is loaded before the rw layer.
My challenge at this point is where any .sfs are going to reside running LIVE. We certainly don't want all the .sfs copied to RAM. And those external partitions will have to be mounted.
Alas, the question you answered is asked here: http://forum.puppylinux.com/viewtopic.p ... oot#p41415
My problem does not involve loading .sfs at boot, but from the command line in manually executed scripts. I could still probably adjust your technique for those .sfs.
Hopefully this solution can be integrated into normal Puppy functionality. Discretionary .sfs placement is better.