Re: device entries outside /proc with procfs (for chroot)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 19 Sep 2005 17:18:57 +0000
In message <20050919130810.A41848_at_cons.org>, 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.
Received on Mon Sep 19 2005 - 15:19:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC