summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-08-15 13:07:07 +0000
committered <ed@FreeBSD.org>2008-08-15 13:07:07 +0000
commitbd507c7cef0d90ce480caf8fccc35b5868afa229 (patch)
tree97fa442f4619eff0b084537b42202b5555ff9c24 /share
parent311231d490d114d702898a3547094efcbd883851 (diff)
downloadFreeBSD-src-bd507c7cef0d90ce480caf8fccc35b5868afa229.zip
FreeBSD-src-bd507c7cef0d90ce480caf8fccc35b5868afa229.tar.gz
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.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/snp.44
1 files changed, 2 insertions, 2 deletions
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" ,
OpenPOWER on IntegriCloud