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

Re: [Nbd] Error reading initial password when exporting /dev/video0



Wouter Verhelst wrote:
> On Mon, Sep 05, 2005 at 09:04:18PM +0200, Hans de Bruin wrote:
> 
>>Wouter Verhelst wrote:
>>
>>>On Mon, Sep 05, 2005 at 08:26:45PM +0200, Hans de Bruin wrote:
>>>
>>>>I am trying to export /dev/video0, which won't work. The server starts,
>>>>but the client complains about reading an initialpassword. I can export
>>>>a normal file. Both client and server where run as root.
>>>
>>>How large is /dev/video0?
>>
>>Beyond verry big. Its an endless mpg stream from an tv encoder card
>  
> Ah, I see.
> 
> NBD does not support that; it assumes a file or block device with fixed
> size. Patches to fix that are welcome.

So /dev/video is probably an character device like the audio devices.

Patching will be difficult. In c I never passed the hello world grade
and after some googleling it looks like the behavior of chardevs is
probably to different to fit in nbd. I will have to find a workaround.

-- 
Hans



Reply to: