watch(8) does not work in jails

David DEMELIER demelier.david at gmail.com
Mon Aug 16 09:23:02 UTC 2010


Hi,

I enabled `device snp' in my kernel config file and with this I can
use the command watch(8) to see any tty device attached. For example :

# watch ttyv0

Give me the output of the console.

But in jails, it's not the same thing, I tried the following :

# jexec 1 tcsh
# su -
People# watch pts/0
watch: fatal: cannot open snoop device

Is there a limitation of watch(8), or jails ?

Kind regards.

-- 
Demelier David


More information about the freebsd-questions mailing list