Re: 2.6.0, cdrom still showing directories after being erased

From: Pavel Machek
Date: Sun Feb 15 2004 - 10:27:01 EST


hi!

> > The linux kernel atapi layer makes a TEST UNIT READY and if the media
> > has changed the cdrom does return an ERR_STAT with a UNIT_ATTENTION
> > which means that the medium has changed. IF that this the case the
> > kernel flushes it's buffers.
>
> So the drive ought to report media changed if it knowingly over wrote
> the table of contents, for instance.
>

Why? Media did not change.

You would need cdrom to report media change on each write,
but that would break packet writing. We should fix
kernel/cdrecord, not break hw.

--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

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