[Samba] A question about Samba logging

DavidA dandbnews2 at talktalk.net
Tue Feb 2 23:00:46 UTC 2016


Hi

I run the system partition for my Raspberry Pi Samba server off a USB hard disk. I want the disk to sleep when not accessed for user data so I want log files to live in tmpfs.  Currently, if I put the drive in standby (using hdparm) it immediately wakes again.  I search for files changed very recently and see:

$ sudo /usr/local/sbin/ff_changed 1
Search whole filesystem for changed files in the last 1 minutes
/dev/xconsole
/var/lib/samba
/var/lib/samba/wins.dat
/var/lib/sudo/ts/david
/var/log/auth.log

Is there something I should do to ensure that Samba logs are directed to tmpfs?

Best regards

David


More information about the samba mailing list