Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 11:23:00 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   watch(8) does not work in jails
Message-ID:  <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr>