From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 09:23:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50CE21065672 for ; Mon, 16 Aug 2010 09:23:02 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D80598FC1C for ; Mon, 16 Aug 2010 09:23:01 +0000 (UTC) Received: by bwz20 with SMTP id 20so2001835bwz.13 for ; Mon, 16 Aug 2010 02:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=b6i+jY/VgRZEIuiVP1QhzxqXPcrUjlONvdfP4tNM8Ds=; b=XAAPBDAk2+rkeQNJUpLhbRkIuiQxsYp149JgE0f2/y9fAfdNrUMo7u5hweWPjxEdAZ Lsj3vlNpOZQr5YTZ2mfSR1AObwjoYzGl9BqXaXkLIFv/s01jz69Ld3XOHmBGTP1r95kg T/hxqmDBxKq9kfkxp1igNrJ6PTRqv9IfFfOdQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=svuHi9sLVKgCr4w6aOOU1DelKQeiL11JV17SRTDCROQL94mT+3PWtM+s7kfy3w2nqy goW0p3DaZ23kZ28Ji5wZMYQRYdkx9SZ4lh3rdIxB3qnA0kMteQqCO35uOdIyB750t8/K a567pv5ytU1vmQ7Qyg4+LZfMJdj2N/fNTVOz8= MIME-Version: 1.0 Received: by 10.204.163.69 with SMTP id z5mr3174128bkx.167.1281950580666; Mon, 16 Aug 2010 02:23:00 -0700 (PDT) Received: by 10.204.83.29 with HTTP; Mon, 16 Aug 2010 02:23:00 -0700 (PDT) Date: Mon, 16 Aug 2010 11:23:00 +0200 Message-ID: From: David DEMELIER To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: watch(8) does not work in jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2010 09:23:02 -0000 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