Messages in this thread | | | Subject | Re: PATCH/FIX for drivers/cdrom/cdrom.c | From | Arjan van de Ven <> | Date | Wed, 16 Aug 2006 20:44:19 +0200 |
| |
On Wed, 2006-08-16 at 14:37 -0400, Lennart Sorensen wrote: > On Wed, Aug 16, 2006 at 07:26:02PM +0200, Dirk wrote: > > I have changed a message that didn't clearly tell the user what was goin > > on... > > > > Please have a look! > > Perhaps the real problem is that some @#$@#$ user space task is > constantly trying to mount the disc while something else is trying to > write to it. > > gnome and kde both seem very eager to implement such things. perhaps > there should be a way to prevent any access by such processes while > writing to the disc.
there is. O_EXCL works for this. Any sane desktop app and cd burning app use O_EXCL already for this purpose...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |