*BSD News Article 98522


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.cc.swin.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.inetnebr.com!newsrelay.courtave.net!news.advicom.net!news3.crl.com!nntp3.crl.com!howland.erols.net!news.maxwell.syr.edu!eerie.fr!cnusc.fr!univ-lyon1.fr!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: roberto@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: snooping on tty's
Date: 26 Jun 1997 12:23:40 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 25
Message-ID: <5otn0c$f78$1@polaris.eurocontrol.fr>
References: <33B04590.59E2B600@club-web.com> <ECC5L4.5CJ@nonexistent.com>
NNTP-Posting-Host: caerdonn.eurocontrol.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: trn 4.0-test58 (13 May 97)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43562

    [courtesy cc of this posting sent to cited author via email]

In article <ECC5L4.5CJ@nonexistent.com>,
Nathan Dorfman  <nathan@senate.org> wrote:
> Then, MAKEDEV snp0, then use the watch program. What I'd like to know
> is is it possible to have two snoops at a time? I have /dev/snp0 and
> /dev/snp1 but watch still says that it cant open the snoop device if
> the first one is busy.

I am currently running two watch programs on different ttys without any
problem. On which version of FreeBSD do you see this ? Are you sure you
have two snp devices ?

I'm running current but the watch version in 2.2.2 is exactly the same (I
know I'm last one who modified it :-)).

18303  pe  I+     0:00.01 watch p8
18341  pm  I+     0:00.01 watch pn

crw-------  1 root  wheel   53,   0 Mar 12 16:49 /dev/snp0
crw-------  1 root  wheel   53,   1 Jun 26 14:21 /dev/snp1

-- 
Ollivier ROBERT -=- FreeBSD: there are no limits -=- roberto@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>