File version numbers à la OpenVMS?
File version numbers à la OpenVMS?
Posted Sep 16, 2024 17:38 UTC (Mon) by jch (guest, #51929)In reply to: File version numbers à la OpenVMS? by Wol
Parent article: The shrinking role of ETXTBSY
Aren't those just mandatory file locks taken at open time?
Posted Sep 16, 2024 19:12 UTC (Mon)
by Wol (subscriber, #4433)
[Link]
So my accounts system had "NR&1W" set on all files, and only ever opened a file to write when it was doing a commit. There was also always an explicit open hierarchy (as in I only ever opened individual clients after opening the client summary, so I couldn't get a deadlock, same for other ledgers).
So it relied on programming discipline, but could be proven to work if the rules were followed.
Cheers,
File version numbers à la OpenVMS?
Wol
