Scott James Remnant [2009-04-21  1:41 -0000]:
> But does the attribute you point to only indicate that there is no CD in
> the drive?  The cursory examination I've done, along with the very name
> of the setting, suggests that a CD _in_the_drive_ may be "blank".

*Nod* But then the CD still wouldn't have any tracks/sessions.

> The defined interface is that the ID_CDROM_MEDIA_TRACK_COUNT variable
> will be *empty* for no CD.  This clearly and unambiguously distinguishes
> it from a CD with tracks (contains a non-zero numeric) and also from a
> CD with no tracks (contains the number 0).

I guess with "empty" you mean "absent" (cdrom_id will never print empty
variables, it's either a positive number or not printed at all). But
for an udev rule, empty and absent are pretty much the same, I
suppose. However, it means that with the current cdrom_id code you
cannot distinguish "no cd" from "blank cd" anyway.

> I think you need to prove that your suggested value has the same
> semantics.
> 
> I do not think it does.

Within the currently exposed behaviour it does have the same semantics
(barring the problem of uninitialized track counts, which causes this
bug, of course). If you say that the currently exposed cdrom_id values
are wrong, then let's fix those instead, of course. Your call.

> Plus, simply and frankly, Postel's Law is intended to apply to the
> interaction between a system that you control and a system that you do
> not.

I absolutely disagree. Not the place to discuss this, though.

> If there is a bug in our kernel, we should not work around it, we should
> fix the bug at its source - In The Kernel.

*shrug* fine for me.

> There is no bug tracker, just use the mailing list - which is standard
> practice for everything Kernel-related INCLUDING THE KERNEL ITSELF:

Wrong, http://bugzilla.kernel.org/ tracks kernel bugs. It just doesn't
have a component for udev.

> The appropriate mailing list is linux-hotp...@vger.kernel.org

OK, thanks (ugh!).

-- 
CD-ROM tray closes automatically after eject 
https://bugs.launchpad.net/bugs/356631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to