From owner-freebsd-jail@FreeBSD.ORG Fri Sep 18 06:21:55 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E78E1106566B for ; Fri, 18 Sep 2009 06:21:55 +0000 (UTC) (envelope-from greenx@yartv.ru) Received: from mail.yartv.ru (smtp.yartv.ru [94.158.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id A16318FC0C for ; Fri, 18 Sep 2009 06:21:55 +0000 (UTC) Received: from greenx.yartelenet.ru (greenx.yartelenet.ru [94.158.0.2]) by mail.yartv.ru (Postfix) with ESMTP id 7E75C730CD for ; Fri, 18 Sep 2009 10:13:17 +0400 (MSD) Message-ID: <4AB324F5.3040106@yartv.ru> Date: Fri, 18 Sep 2009 10:13:09 +0400 From: Andrey Groshev User-Agent: Thunderbird 2.0.0.23 (X11/20090831) MIME-Version: 1.0 To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: df output into jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2009 06:21:56 -0000 Hi, All! I create garbage files. Mounted in the main system partition for data. #mount|grep /usr/jails/samba/ /dev/amrd0s4d.journal on /usr/jails/samba/data (ufs, asynchronous, local, noatime, nosuid, gjournal) /usr/jails/basejail on /usr/jails/samba/basejail (nullfs, local, read-only) devfs on /usr/jails/samba/dev (devfs, local) fdescfs on /usr/jails/samba/dev/fd (fdescfs) procfs on /usr/jails/samba/proc (procfs, local) And now... I see the output in the Jail "df-h" - it returns only the root mount. # df -h Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s4a 18G 3.6G 13G 21% / If you ask specifically "df-h / data", then displays the desired data. # df -h /data Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s4d.journal 178G 768M 163G 0% [restricted] Looking sources, decided that this is due to answer "mount". IMHO, should be able to see the file systems mounted below the directory of jail.