[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] DVD support



> To be able to work with a DVD I think we must be able to send commands
> (something like ioctls) whereas currently we can only send read and
> write.

Thanks for your quick reply. I did a bit odf research. There's no
'generic' way to remote the ioctl calls as the ioctl 'arg' buffer
appears to be of indeterminate length. I'm tempted to just use a
buffer of say 512 bytes (or whatever the largest struct in cdrom.h
looks to be). ioctls aren't called that often anyway, so that should
do for the proof of concept.

Also, nbd-client dies if there's no 'medium' inserted in the remote
end. ideally nbd-client would only initiate connection to the remote
when the nbd block device is opened.

OK, now I just gotta start... :)



Reply to: