From bd507c7cef0d90ce480caf8fccc35b5868afa229 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 15 Aug 2008 13:07:07 +0000 Subject: Convert the snp(4) driver to use cdevpriv. Now we have a single /dev/snp device node, which can be opened by watch(8) multiple times. Even though snp(4) will be dead as of next week, it's nice having this in SVN, because: - We may want to MFC it to RELENG_7. - By the time we fix snp(4) again, it's already there, existing watch(8) binaries should already work. Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary compatible. --- share/man/man4/snp.4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4 index df70cb2..76bcc53 100644 --- a/share/man/man4/snp.4 +++ b/share/man/man4/snp.4 @@ -16,8 +16,8 @@ .Ft int .Fn ioctl fd FIONREAD &result .Sh DESCRIPTION -.Pa /dev/snp? -are snoop devices which allow users to attach to any tty +.Pa /dev/snp +is a snoop device which allows users to attach to any tty and watch activities on it. The kernel must be compiled with .Cd "device snp" , -- cgit v1.1