Talk about what the user needs to do to get the snp devices, and how
watch(8) will try to help them by loading the module. PR: 25420
This commit is contained in:
parent
6e2867d22b
commit
d3573aab8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86867
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user