Page 1 of 1

Merging Adrv & Save File? [Solved]

Posted: Mon Oct 31, 2022 6:55 am
by Jasper

Hi there

I wanted to know if it would be possible to merge these together to create a new Adrv and replace my existing original one?

Would there be a benefit in doing this?

**Edit just re-read rockedge's Read Me First post "When Puppy boots up, the compressed Puppy Linux files are copied into computer memory. Puppy can then run its entire operating system, AND applications, completely from this image in memory. "

My initial thought was to save some memory, but that does not appear so.


Re: Merging Adrv & Save File?

Posted: Mon Oct 31, 2022 7:10 am
by ozsouth

@Jasper - you can merge savefile data into an adrv (or ydrv). I made an sfs editor to assist that - see: https://oldforum.puppylinux.com/viewtop ... e#p1028687.
Generally sfs load order into ram is puppy, zdrv, fdrv, adrv, ydrv, so combining contents will help to a degree (don't mess with zdrv & only add firmware to fdrv). The issue you have is if you make changes, then want to undo them. adrv & ydrv, being loaded later, will overwrite earlier drv contents, and savefile overwrites later, but if you remove an overwrite, the original reappears.


Re: Merging Adrv & Save File?

Posted: Mon Oct 31, 2022 7:25 am
by Jasper

@ozsouth

Thank you again. It's just exactly what I wanted :thumbup2:

I foolishly added a static FFMpeg binary and it used up a lot of my Save file. Forcing me to increase the size again.

I use my OS for browsing and multimedia playback mostly. So, I don't plan on adding additional software.

Your kernel 6x has made a marked difference for me :thumbup:


Re: Merging Adrv & Save File? [Solved]

Posted: Tue Nov 01, 2022 9:45 am
by williams2

My initial thought was to save some memory, but that does not appear so

If you want to save the 500MB or so that the sfs files take in ram,
you can use the pfix=nocopy kernel option.

it's not really a kernel option the kernel passes it to Puppy's init(rd)


Re: Merging Adrv & Save File? [Solved]

Posted: Wed Nov 02, 2022 6:50 pm
by Jasper

@williams2

Thanks for the tip!! :thumbup:
I have added it to my boot file.