Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 1999 21:30:08 -0700
From:      Eric Hodel <hodeleri@seattleu.edu>
To:        yang baru belajar <odhienx@arwana.untan.ac.id>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: watch
Message-ID:  <373903D0.10E9E9A4@seattleu.edu>
References:  <Pine.BSF.3.96.990512102823.13192C-100000@arwana.untan.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help
yang baru belajar wrote:
> 
> how to make watch can work...
> 
> i try to run watch... (watch -Wi /dev/ttyp*)
> 
> watch: fatal cannot open snoop device
> 
> please explain me :-)

This is a question best suited for questions, but I'll be nice.

First you need to add the snoop device to your kernel, then recompile
it.  The snoop device is:

pseudo-device	snp	3 #3 snoop devices

The number is not mandatory, it just specifies how many snoop devices
you want. After adding the snp line to your kernel, config, compile,
and install the kernel, then reboot.  After rebooting, as root:

cd /dev
./MAKEDEV snp3 

or however many snp devices you specified.  Then you will be able to:

watch -Wi /dev/ttyp0

successfully.

Kernel recompilation is covered in the handbook.

-- 
Eric Hodel
hodeleri@seattleu.edu

"If you understand what you're doing, you're not learning anything."
	-- A. L.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?373903D0.10E9E9A4>