From owner-freebsd-questions Thu Aug 9 19:57:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f165.pav2.hotmail.com [64.4.37.165]) by hub.freebsd.org (Postfix) with ESMTP id 70B5337B403 for ; Thu, 9 Aug 2001 19:57:30 -0700 (PDT) (envelope-from twchim1@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 9 Aug 2001 19:57:30 -0700 Received: from 147.8.182.48 by pv2fd.pav2.hotmail.msn.com with HTTP; Fri, 10 Aug 2001 02:57:30 GMT X-Originating-IP: [147.8.182.48] From: "Wing Tim" To: alex@big-blue.net Cc: ryan@sasknow.com, bwatts@corp.netcom.ca, freebsd-questions@FreeBSD.ORG Subject: Re: Snoop configuration Date: Fri, 10 Aug 2001 10:57:30 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Aug 2001 02:57:30.0358 (UTC) FILETIME=[32042960:01C12148] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Thank you very much! The snoop has started in my machine. After typing "sh MAKEDEV snp0", it asked me to enter a device name, what should I input? I input "snp0" but the error "watch: fatal: cannot attach to tty" occurs. What does that "device name" mean actually? Is that the device that buffers data? By the way, according to my understanding, snoop protocol is something that buffering data in a certain device. Does snoop in FreeBSD have similar function? Thanks! Regards, Wing >From: Alexander V P >To: Wing Tim >CC: ryan@sasknow.com, bwatts@corp.netcom.ca, freebsd-questions@FreeBSD.ORG >Subject: Re: Snoop configuration >Date: Thu, 9 Aug 2001 03:52:27 -0400 (EDT) > > > >On Thu, 9 Aug 2001, Wing Tim wrote: > > > Hi, Ryan, > > I have added the line "pseudo-device snp 3" into the kernel > > configuration file (/usr/src/sys/i386/conf/GENERIC) and then "make > > buildworld", "make buildkernel", "make installworld" and "make > > installkernel". Does that mean snoop has been enabled in my machine? > > Also, I typed "watch -c snp" in the root but then the error "watch: >fatal: > > cannot open snoop device" occurs. I would like to ask what is meant by >"tty" > > in the watch and tty man pages. Could you give me a concrete example to >show > > what it means? Thanks! > > > > Regards, > > Wing > > >hi, >after reboot, login as root >#cd /dev >#sh MAKEDEV snp0 >that should do for the device >hth >alex > > > > > > > > >From: Ryan Thompson > > >To: Bradley Watts > > >CC: freebsd-questions@FreeBSD.ORG > > >Subject: Re: snoop for BSD?? > > >Date: Fri, 3 Aug 2001 11:47:41 -0600 (CST) > > > > > >Bradley Watts wrote to freebsd-questions@FreeBSD.ORG: > > > > > > > Does anyone know if there is a version of snoop that is compatible > > > > with BSD? > > > > > >How about watch(8)? You'll need to enable some snp devices in the >kernel. > > >Use > > > > > >pseudo-device snp 3 > > > > > >in your kernel config, rebuild, and reboot. Then you can watch any > > >terminal device. > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > >- Ryan > > > > > >-- > > > Ryan Thompson > > > Network Administrator, Accounts > > > > > > SaskNow Technologies - http://www.sasknow.com > > > #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 > > > > > > Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon > > > Toll-Free: 877-727-5669 (877-SASKNOW) North America > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message