[pvrusb2] Problem with wintv-hvr-1950

jim steele jsteele1997 at gmail.com
Tue Mar 10 21:57:04 CDT 2009


On Tue, Mar 10, 2009 at 4:58 PM, Roger <rogerx at sdf.lonestar.org> wrote:
> On Tue, 2009-03-10 at 08:37 -0500, Mike Isely wrote:
>
>> > root at beagleboard:/# cp /dev/video0 /home/root/test.mpeg
>>
>> I usually use 'cat' here out of habit, but the 'cp' command should work
>> (and I doubt that using 'cp' could result in the problems below).
>
> The old behavior of cp would try coping the device file to the new
> location, which would obviously fail.
>
> Interesting that cp can now be used to "cat" a device file.
>
> -rwxr-xr-x 1 root root 31K Aug  5  2008 /bin/cat
> -rwxr-xr-x 1 root root 76K Aug  5  2008 /bin/cp
>
> Using cp instead of cat is going to cost you more then twice the memory.
> And, again although negligible, it might cost a few extra CPU cycles
> each time it loops.

This is good to know especially on the beagleboard platform. I'll use
cat from now on. Do you know of a way that may be even faster and
leaner than cat?


More information about the pvrusb2 mailing list