Skip to Main Content
Status Under Review
Categories Natural (NAT)
Created by Thierry Bolle
Created on Aug 31, 2022

Add the ability to open printer file with flag O_APPEND

Add the ability to open printer file with flag O_APPEND so it can be rotated with logrotate (copytruncate). Last offset is retained by Natural and everything before that offset is marked as NULL and so the file size is maintained.

Use Case Logrotate