[mythtv-users] Permission problem on /dev/video 0-3

MacNean Tyrrell dardack at gmail.com
Sun Aug 1 22:43:29 UTC 2010


On Fri, Jul 30, 2010 at 10:46 PM, Nick Morrott <knowledgejunkie at gmail.com>wrote:

> On 31 July 2010 03:27, MacNean Tyrrell <dardack at gmail.com> wrote:
> >
> > On Fri, Jul 30, 2010 at 12:07 PM, <mythtv.t.wuuza at xoxy.net> wrote:
> >>
> >> #!/bin/sh
> >> while true; do
> >>        find /dev/video1 -group video > /tmp/waitForVideo
> >>        if [ `grep video1 /tmp/waitForVideo` ]; then
> >>                break
> >>        fi
> >>        sleep 1
> >> done
> >>
> >
> > You stick the command for the script in your rc.local?
> > Just real quick (i left my program days 12 years ago for
> accounting/computer
> > forensics, so bare with me) I know the find command, what does the -group
> > video do?
>
> It restricts find's matching to files owned by group "video" - which
> is how the script checks that the udev rule has run successfully.
>
> $ man find
>
> gives the details.
>
> Cheers,
> Nick
>
> --
> Nick Morrott
>
> MythTV Official wiki: http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
>
> "An investment in knowledge always pays the best interest." - Benjamin
> Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



-- 
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100801/36d8f747/attachment.htm>


More information about the mythtv-users mailing list