Re: [Nbd] Error reading initial password when exporting /dev/video0
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] Error reading initial password when exporting /dev/video0
- From: Hans de Bruin <bruinjm@...64...>
- Date: Tue, 06 Sep 2005 19:50:48 +0200
- Message-id: <431DD6F8.3000101@...64...>
- In-reply-to: <20050906102051.GF4703@...39...>
- References: <431C8DE5.8040206@...64...> <20050905181914.GB21720@...39...> <431C96B2.9080700@...64...> <20050906102051.GF4703@...39...>
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: