how do utilities like logrotate work? i'm wondering about the underlying mechanics so that i can be comfortable putting it under a running service
-
-
Oh neat you can lock a file from the file descriptor itself?
-
Yeah! -- Linux, Windows, MacOS all have this capability. I think in Rust this could be especially nice as I think we could apply an "AsRawFd" extension trait that would add a `lock` method to lock + a scope guard to unlock it
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.