Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 14:49:54 +0100
From:      Josef Karthauser <joe@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Jail and hiding mount points
Message-ID:  <20040519134954.GM4567@genius.tao.org.uk>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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
-- 
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/
================ An eclectic mix of fact and theory. =================

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iEYEARECAAYFAkCrZgIACgkQXVIcjOaxUBY7jgCeKep/0Qxh963bVBXpNbFiQTbS
+0cAoOV+TGRmrjaOOkHb/yKmrCnC9802
=W+qO
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519134954.GM4567>