Plan 9 from Bell Labs’s /n/sources/patch/applied/syslog-dirfstat/readme

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


syslog valiently attempts to detect changes to the underlying file descriptors,
but keeps saving the dirfstat value taken before the log file or console was (re)opened,
so that if the name space does change (eg, by RFCNAMEG) after the first open, it will
never get back in sync and will never use the log file. it needs the value of dirfstat after
each open.

i've added a function to compare the Dir*, since the five-part condition is checked twice.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.