News for hackers. Stuff that matters.
Re:OpenBSD is so fast, I had to modify the program slightly ... by denotational on Saturday August 16, 2025 @07:15AM (#44922236)
Sadly GPFS still doesn’t support flock(2), so I still avoid it.
Re:OpenBSD is so fast, I had to modify the program slightly ... by quotemstr on Saturday August 16, 2025 @09:13AM (#44923117)
Doesn't it? https://sambaxp.org/archive-data-samba/sxp09/SambaXP2009-DAT...

It would be weird, even for AIX, to support POSIX byte range locks and not the much simpler flock.

Re:OpenBSD is so fast, I had to modify the program slightly ... by denotational on Sunday August 17, 2025 @02:08PM (#44933579)
It doesn't, at least on the version I have access to, as it is configured on that cluster.

I’m using Linux rather than AIX.

fcntl(2) locks are supported (as long as they aren't OFD), but flock(2) locks don't work across nodes.