How to open a device for exclusive access?

John Abreau jabr at blu.org
Mon Jul 16 12:26:16 EDT 2007


On Sun, July 15, 2007 1:12 pm, Ben Scott said:

>   I've often wondered why, after 30+ years of *nix, there's still no
> good way to handle locking/contention in the filesystem.  Linux, KDE,
> GNOME, etc., have shown that the *nix community is willing to jettison
> "Unix tradition" when there's an obvious gain to be had.  But it seems
> like file(ish) locking is one of the holdouts.
>

File locking is pretty basic stuff. Breaking with tradition on it would
mean a program won't work on BSD, Solaris, or other Unices. You'd need
a truly gigantic gain to offset that loss, and you'd still be at risk
if other programs that rely on traditional locking try to access the
resources you've locked in a Linux-only manner.

-- 
John Abreau / Executive Director, Boston Linux & Unix
IM: jabr at jabber.blu.org / abreauj at AIM / abreauj at Yahoo / zusa_it_mgr at Skype
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the gnhlug-discuss mailing list