Then how does the auditing daemon write the data?
And what will it do about the newline from echo “”?
If it keeps the handle open, at the position
after the last write, the behavior is as I wrote.
If it repeatedly closes and reopens the file for appending,
then one might interfere and truncate the file (to zero length),
but better not by writing a newline at the beginning…
If the daemons seeks back and forth in the file,
while allowing truncation from outside,
things would get quite unforeseeable.
Anyway, the outcome has no practical use
for dealing with Isilon SMB audit logs, as one should
follow their practice by all means for now.
-- Peter