Date: Tue, 18 May 2004 23:25:19 +0100 From: Josef Karthauser <joe@FreeBSD.org> To: freebsd-current@freebsd.org Subject: jail and mount points. Message-ID: <20040518222519.GA4567@genius.tao.org.uk>
next in thread | raw e-mail | index | archive | help
--PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=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 --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iEYEARECAAYFAkCqjU4ACgkQXVIcjOaxUBbPowCg3IMw1nFXQLsJpFQYqv9etrhn MGoAmweL7O+giIcSGkN6qIwAxx0sZNyy =mpR6 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518222519.GA4567>