/etc/init.d/sysresccd change the owner and group of the clamav database. This is not needed because the files are owned by clamav in the squashfs.
This command copies the squashfs files to RAM by changing user:group
/etc/init.d/sysresccd: # ---- allow freshclam ----
/etc/init.d/sysresccd: chown clamav:clamav /var/lib/clamav/*
#>d -k /livemnt/memory/var/
37092 /livemnt/memory/var/lib/clamav
I dont know about the group "locate" in the squashfs but freshclam works after removing the /livemnt/memory copy of the database.
Gernot
Save 37 MB RAM [solved]
Re: Save 37 MB RAM
Thanks it has been done in sysresccd-2.4.0-beta001