Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 17:18:57 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: device entries outside /proc with procfs (for chroot) 
Message-ID:  <1950.1127150337@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 19 Sep 2005 13:08:10 -0400." <20050919130810.A41848@cons.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050919130810.A41848@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@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.



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