On Fri, Nov 4, 2022 at 4:25 PM Solène Rapenne <[email protected]> wrote: > > Le Fri, 4 Nov 2022 16:20:22 -0400, > Morgan Aldridge <[email protected]> a écrit : > > > Attached is a port for profile-sync-daemon[0], which is a bash script > > to synchronize web browser profiles to/from a ramdisk with the goal of > > reducing HDD/SDD wear and providing backup functionality. Tested on > > amd64. Additional details can be found on the ArchWiki page[1]. > > > > Naturally, one needs to have enough extra RAM available and move /tmp > > to a ramdisk (as solene@ has documented[2] on her blog). For this > > reason, while I tried to not be too verbose and direct users to > > appropriate manual pages for specifics, there are a number of > > considerations & configuration steps described in the pkg-readme. I'm > > happy to make it more concise. > > > > I have a couple of upstream issues[3][4] open where I hope to get > > portions of the changes merged in to reduce OpenBSD-specific patches. > > > > [0] - <https://github.com/graysky2/profile-sync-daemon/> > > [1] - <https://wiki.archlinux.org/title/profile-sync-daemon> > > [2] - <https://dataswamp.org/~solene/2018-05-08-mfs-tmp.html> > > [3] - <https://github.com/graysky2/profile-sync-daemon/issues/343> > > [4] - <https://github.com/graysky2/profile-sync-daemon/issues/344> > > hi, you may want to look at this, basically restoring/saving a MFS > using 20 lines of shell in a rc file. > I'm not really sure we need a port for this. > > https://dataswamp.org/~solene/2021-12-15-openbsd-mfs-persistency.html
Thanks, Solene, that is a simpler solution, for sure! In the case of profile-sync-daemon, there are a few advantages that I should have noted: - Simple selection of all/one/some supported browser(s) without needing to know where each profile is stored - Periodic background syncing to/from the ramdisk - Support for desyncing & resyncing on suspend & resume, respectively, if using dbus - Automatic backup preservation & crash recovery Naturally, it's entirely possible that we don't need a port for this. I'm dog-fooding it and found it easier to test & develop patches via a port, in this particular case, so I'm happy to maintain it if anyone decides it is worth an import. Morgan
