graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

crashrecovery folders keep accumulating #75

Closed twwn closed 10 years ago

twwn commented 10 years ago

psd just keeps creating copy after copy of [browser]-backup-crashrecovery-[date] folders. Currently I have four, previously it was over a dozen.

It would be neat if there was some option (and a sane default) to limit the number of these folders that profile-sync-daemon keeps, preferably (obviously) on a "most recent" basis.

graysky2 commented 10 years ago

I can think about adding that option. For your particular case however, I am more interested to discover why the machine has so many... these only occur when you start psd and when it detects that backup folder is present likely due to an ungraceful shutdown. Does your box go down cleanly?

twwn commented 10 years ago

Oh, nothing related to psd. I'm on 3.14-rc7 and there's still a fatal USB3.0 bug (seemingly random, which is making it hard to debug) that's been causing occasional unclean shutdowns for me (it'll freeze the device and thus anything that's trying to interact with it).

graysky2 commented 10 years ago

That sucks...Linus was hinting that rc7 was the last rc for 3.14, https://lkml.org/lkml/2014/3/16/166

graysky2 commented 10 years ago

Been open for a while. I don't want to have auto deleting since it by definition will be destructive. I will leave it to users to delete the backups as needed.