[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-video
Subject:    Re: Checking if a v4l device is busy
From:       Pete Jewell <pete () phraxos ! nildram ! co ! uk>
Date:       2005-05-22 22:26:06
Message-ID: 200505222326.09212.pete () phraxos ! nildram ! co ! uk
[Download RAW message or body]

On Sunday 22 May 2005 23:08, David Liontooth wrote:
> What's the best way to check if a /dev/videoX device is busy?
>
> I need to put a check into a bash script.

Try lsof /dev/videoX - there are quite a few options so you're probably 
better off checking the man page for it before using it.

-- 
Pete

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic