From owner-freebsd-questions Thu May 21 23:38:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20421 for freebsd-questions-outgoing; Thu, 21 May 1998 23:38:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20409 for ; Thu, 21 May 1998 23:37:43 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id QAA28834; Fri, 22 May 1998 16:07:40 +0930 (CST) (envelope-from grog) Message-ID: <19980522160740.M27201@freebie.lemis.com> Date: Fri, 22 May 1998 16:07:40 +0930 From: Greg Lehey To: Stephane Raimbault , freebsd-questions@FreeBSD.ORG Subject: Re: Snooping around with watch References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Stephane Raimbault on Thu, May 21, 1998 at 11:49:47PM +0000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 21 May 1998 at 23:49:47 +0000, Stephane Raimbault wrote: > Good day, > > I am trying to get watch going on my system... > > 1. I have put the following in the kernel: > > pseudo-device snp 5 You did then rebuild your kernel, right? > 2. I run watch in the following manner: > > watch > > example: > watch /dev/ttyp0 > > and I get the following message from watch: > > watch: fatal: cannot open snoop device > > Do I need to make a device in /dev? Yes. # cd /dev # ./MAKEDEV snp4 Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message