[H-GEN] Fwd: No Luck Yet

Greg Black gjb at gbch.net
Mon Apr 1 07:26:54 EST 2002


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Robert Brockway wrote:

| On Mon, 1 Apr 2002, Greg Black wrote:
| 
| > Robert Brockway wrote:
| > 
| > | As a tip, many unix admins avoid the use of symlinks in /dev as they tend
| > | to mess with file locking.
| > 
| > Many admins, especially those who have lived past lives as
| > programmers, avoid attempting file locking in /dev -- too many
| > Unix systems have outright prohibitions on such locks or bugs in
| > their implementation.
| 
| Except you can't avoid some file locks :)  Locking of serial devices, etc.

On those systems, you have to "lock" serial devices with pseudo
locks held in other places, e.g., /tmp -- all I'm saying is that
locks on device files are an arcane and not wholly satisfactory
proposition.  But I guess everybody knows that.

Greg

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list