Subject: Re: cd(4) and xmcd
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 02/15/2000 20:29:32
In message <Pine.NEB.4.10.10002151605290.5679-100000@starwolf.com>, Greywolf wr
ites:
>...excuse me.  Hello?  CD-ROM?  ...ROM?  as in READ-ONLY MEMORY?
>WHAT corruption?

Maybe of data structures?

>This is broken.  Why doesn't the access return EBADF instead of being
>"discarded" (i.e. CLOSE the damn descriptors)?  And if it's bound to the
>device, why does it not just flush the data cache associated therewith, if
>applicable (which I don't think it is, but hey...)?

Agreed.

>If this is the case, maybe we should work out a patch to force a reopen
>of the fd when the ioctl/read returns EBADF (if it does)?

I would love to see that, because then xmcd would be more useful.

-s