Jail and hiding mount points
Josef Karthauser
joe at FreeBSD.org
Wed May 19 09:22:04 PDT 2004
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 at 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. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040519/e275053f/attachment.bin
More information about the freebsd-current
mailing list