[openbeosstorage] Re: iso9660/cdrom checkins

> Tyler Dauwalder <tyler@xxxxxxxxxxxxx> wrote:
> > I've checked in a working iso9660 fs module and a mostly complete
> > (and working :), but messy cdrom session module.  I'm afraid I
> > haven't been able to work on things much the past couple of days, and
> > won't be able to do any more for at least a couple more.
> >
> > The cdrom module should be working for most cds; I need to clean
> > things up quite a bit and handle a few special cases, though, before
> > it will be complete.  Ingo and Axel, I'll reply to your recent
> > postings as soon as I get a chance; sorry for the delay. :(
>
> Oh, great! What you probably should have known about is the file
> "scsi.h" in be/drivers/ and its B=5FSCSI=5FGET=5FTOC ioctl. I guess that
> would have made it a bit simpler ;-)

Actually, I tried that, but either it's smarter than I am or stupider than
it pretends to be :-P :-). The ioctl() would always succeed (even with no CD
in the drive), and always returned the same 804 bytes. Furthermore, the
first 400 or so bytes of said data were all 0, followed by what might have
been useful information or might have been junk. Maybe it just doesn't work
with ATAPI drives...

-Tyler




Other related posts: