device entries outside /proc with procfs (for chroot)

Poul-Henning Kamp phk at
Mon Sep 19 10:19:01 PDT 2005

In message <20050919130810.A41848 at>, Martin Cracauer writes:
>I noticed the creation of /dev/ entries outside of /dev doesn't work
>anymore.  This is needed for chroot environments, which rely on
>/dev/null on a regular basis.

mount -t devfs foo /chroot/dev

Consider devfs(8) rules as a filtering method.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the freebsd-current mailing list