From owner-freebsd-current@FreeBSD.ORG Wed May 19 09:29:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C235916A4CE; Wed, 19 May 2004 09:29:37 -0700 (PDT) Received: from thor.65535.net (thor.65535.net [216.17.104.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id D05C343D31; Wed, 19 May 2004 09:29:36 -0700 (PDT) (envelope-from rghf@fsck.me.uk) Received: from [212.228.151.253] (helo=[192.168.0.99]) by thor.65535.net with esmtp (Exim 4.20) id 1BQTrf-000Dwi-2e; Wed, 19 May 2004 09:24:20 -0700 Date: Wed, 19 May 2004 17:34:00 +0000 (GMT) From: Rus Foster X-X-Sender: rghf@jackhammer To: Josef Karthauser In-Reply-To: <20040518222519.GA4567@genius.tao.org.uk> Message-ID: References: <20040518222519.GA4567@genius.tao.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: jail and mount points. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 16:29:37 -0000 On Tue, 18 May 2004, Josef Karthauser wrote: > I was wondering whether it's possible to hide mount points from within a > jail. At the moment 'df' displays the mount points for the whole > machine, instead of those available in the jail. Is there anything > sensible that can be done here, or do I have to live with what I've got: > > > sosai% mount > /dev/ad0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad0s1g on /data (ufs, local, soft-updates) > /dev/ad0s1f on /tmp (ufs, local, soft-updates) > /dev/ad0s1e on /usr (ufs, local, soft-updates) > /dev/ad0s1d on /var (ufs, local, soft-updates) > procfs on /data/jails/brightstorm/proc (procfs, local) > devfs on /data/jails/brightstorm/dev (devfs, local) > procfs on /data/jails/obleo/proc (procfs, local) > devfs on /data/jails/obleo/dev (devfs, local) > procfs on /proc (procfs, local) > sosai% ls /data > ls: /data: No such file or directory > > Joe Try jailfsstat from garage.freebsd.pl Rus -- e: rghf@vpscolo.com : t: 1-888-327-6330 www.jvds.com - Root on your own box www.vpscolo.com - Your next hosting company www.cherryhosting.net - Shared Hosting With Everything On Top