Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 16:07:40 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Stephane Raimbault <segr@segr.ml.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Snooping around with watch
Message-ID:  <19980522160740.M27201@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.980521234703.250A-100000@segr.ml.org>; from Stephane Raimbault on Thu, May 21, 1998 at 11:49:47PM %2B0000
References:  <Pine.BSF.3.96.980521234703.250A-100000@segr.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <any terminal>
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980522160740.M27201>