Re: CD writing in future Linux (stirring up a hornets' nest)

From: Matthias Andree
Date: Sat Feb 04 2006 - 10:42:02 EST


On Sat, 04 Feb 2006, Krzysztof Halasa wrote:

> And, if we are here, what's wrong with hald using O_EXCL to not
> interrupt any other program (does hald need to check the media
> if it's in use)? I assume the problem wouldn't exist with hald
> using O_EXCL and cdrecord not (yet) using it, would it?

Let me throw in a stupid question: Is O_EXCL cooperative, in that other
access is only blocked if both tasks use open(...O_EXCL...)?

--
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/