diff options
-rw-r--r-- | share/man/man4/snp.4 | 7 | ||||
-rw-r--r-- | usr.sbin/watch/watch.8 | 14 |
2 files changed, 19 insertions, 2 deletions
diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4 index 735c2b3..e35cce2 100644 --- a/share/man/man4/snp.4 +++ b/share/man/man4/snp.4 @@ -18,6 +18,12 @@ .Sh DESCRIPTION /dev/snp? are snoop devices which allow user to attach to any tty and watch activities on it. +The kernel must be compiled with +.Cd "device snp" , +or the +.Nm +device must be loaded, +for these devices to be available. .Pp To associate a given .Nm @@ -50,6 +56,7 @@ and detached. .Sh SEE ALSO .Xr pty 4 , .Xr sio 4 , +.Xr kldload 8 , .Xr watch 8 .Sh RESTRICTIONS Only the superuser may access the diff --git a/usr.sbin/watch/watch.8 b/usr.sbin/watch/watch.8 index 5ab09a6..f855ec1 100644 --- a/usr.sbin/watch/watch.8 +++ b/usr.sbin/watch/watch.8 @@ -14,7 +14,16 @@ .Op Ar tty .Sh DESCRIPTION .Nm Watch -allows the user to examine all data coming through a specified tty. +allows the user to examine all data coming through a specified tty +using the +.Xr snp 4 +device. +If the +.Xr snp 4 +device is not available, +.Nm +will attempt to load the module +.Pq Nm snp . .Nm Watch writes to standard output. .Pp @@ -91,7 +100,8 @@ control-X is passed to the terminal as with other control characters. .Sh SEE ALSO .Xr pty 4 , .Xr sio 4 , -.Xr snp 4 +.Xr snp 4 , +.Xr kldload 8 .Sh BUGS No terminal emulation is performed. All user output is reproduced as-is. |