From owner-freebsd-current@FreeBSD.ORG Wed May 19 09:22:04 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 4D8D316A4D3 for ; Wed, 19 May 2004 09:22:04 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5015D43D46 for ; Wed, 19 May 2004 09:22:03 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 28BEB4629; Wed, 19 May 2004 14:49:55 +0100 (BST) Date: Wed, 19 May 2004 14:49:54 +0100 From: Josef Karthauser To: freebsd-current@freebsd.org Message-ID: <20040519134954.GM4567@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S6vg04ofUPzW4qJg" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Jail and hiding 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:22:04 -0000 --S6vg04ofUPzW4qJg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone know of a way of hiding mount point information for file systems that lie outside of a chrooted jail environment? 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 /proc (procfs, local) procfs on /data/jails/obleo/proc (procfs, local) devfs on /data/jails/obleo/dev (devfs, local) sosai% ls /data ls: /data: No such file or directory The entire jail is rooted off /data/jails/brightstorm/. I'm not sure what I would like to see from mount, but it is a bit unnerving to have information that is only relevent to the host environment appearing in the jail. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --S6vg04ofUPzW4qJg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iEYEARECAAYFAkCrZgIACgkQXVIcjOaxUBY7jgCeKep/0Qxh963bVBXpNbFiQTbS +0cAoOV+TGRmrjaOOkHb/yKmrCnC9802 =W+qO -----END PGP SIGNATURE----- --S6vg04ofUPzW4qJg--