Re: 2.6.0, cdrom still showing directories after being erased

From: Jens Axboe
Date: Tue Feb 03 2004 - 10:29:08 EST


On Tue, Feb 03 2004, Tomas Zvala wrote:
> Hi,
> I believe he meant to write he umounted it.
> The problem is that there is still some data left in CDRW's cache and it
> needs to be emptied. That happens when CDRW is ejected and reinserted
> (that is why windows burning software ie. Nero wants to eject the CDR/RW
> when it gets written or erased).
> Maybe kernel could flush the buffers/caches or whatever is there when
> CDROM gets mounted. But im afraid about compatibility with broken drives
> such as LG.

There's no command to invalidate read cache, you are probably thinking
of the SYNC_CACHE command to flush dirty data to media (which is what LG
fucked up).

IMO, it's a user problem.

--
Jens Axboe

-
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/