Hi group,
since my chromium stucked on some livestreams I moved pi .cache and it's config dir to tmpfs.
Investigating what else Bullseye is writing to sd card all the time with:
watch -n60 'find / -xdev -mmin -1 2>/dev/null'
I found that Samba nmbd is writing /var/lib/samba/wins.dat several times a minute all the time.
While doc tells this is temporary data and should be on /var/cache,
I found no way to move that file with link, mount -B or smb.conf:
cache directory = /run/samba/cache
winsdb:dbnosync = no
Some browse.dat is moved to /run/samba/cache so, but not more frequent wins.dat
I also tried to overlay the file with a link, but looks like wins.dat file is recreated,
overwriting the link or failing on a mount bind on the file and then wins.dat.xxx are created.
May be somebody has some more ideas...
Seems like samba.org has some mailing list with per month archive hard to search trough,
their git site also seems hard to search compared to github and similar.
since my chromium stucked on some livestreams I moved pi .cache and it's config dir to tmpfs.
Investigating what else Bullseye is writing to sd card all the time with:
watch -n60 'find / -xdev -mmin -1 2>/dev/null'
I found that Samba nmbd is writing /var/lib/samba/wins.dat several times a minute all the time.
While doc tells this is temporary data and should be on /var/cache,
I found no way to move that file with link, mount -B or smb.conf:
cache directory = /run/samba/cache
winsdb:dbnosync = no
Some browse.dat is moved to /run/samba/cache so, but not more frequent wins.dat
I also tried to overlay the file with a link, but looks like wins.dat file is recreated,
overwriting the link or failing on a mount bind on the file and then wins.dat.xxx are created.
May be somebody has some more ideas...
Seems like samba.org has some mailing list with per month archive hard to search trough,
their git site also seems hard to search compared to github and similar.
Statistics: Posted by iwl — Sun Feb 11, 2024 8:56 am — Replies 1 — Views 71