Re: PATCH/FIX for drivers/cdrom/cdrom.c

From: Bodo Eggert
Date: Fri Aug 18 2006 - 08:43:06 EST


On Thu, 17 Aug 2006, Helge Hafting wrote:

> None on the file level I hope, for it will surely get abused.
> Windows have exclusive open for example, and there acrobat reader
> locks the pdf file it views, so you can't make a new version without
> killing acrobat first. (And then you have to restart it to
> view the new file.) Stupid in the extreme. Fortunately, acrobat can't
> do that on linux where there is no (easy) opportunity to do so.

The default open mode on network-aware DOS-systems will automatically
aquire an exclusive lock in order to maintain DOS 2.0 compatibility,
and the filename is part of the file's metadata. Windows seems to have
kept this behaviour.
--
"Bravery is being the only one who knows you're afraid."
-David Hackworth
-
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/