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

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
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 © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.