What about just using flock() instead of writing locks to the
lockdirectory of the year? About the only reason I can think
of for using the lockdirectory of the year is for applications
that wish to root through the process table to identify who's
got the device open, and that's a good use for /proc/locks.
Major/minor locks are a solution in search of a problem; is it
reasonable for the kernel to accomodate them?
____
david parsons \bi/ flock(), at least in libc4.8.0, works very nicely
\/ for me.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu