DEVFS in a chroot?

From: Eivind Olsen <eivind_at_aminor.no>
Date: Fri, 30 Apr 2004 14:14:18 +0200
Hello.

I'm running some processes in a chroot (not a jail) and I need to have a 
small /dev in the chroot directory containing for example random and 
urandom.
As I understand it, the recommended way to do this is to use devfs, but I'm 
not sure how to go about doing that.

Should I mount /var/chroot/dev as type devfs?
And I'd need to create some devfs-rulefile?
I'm not sure how I should tie this together in a clean way in FreeBSD 5.2.1 
(RELENG_5_2), any suggestions/pointers?

-- 
Regards / Hilsen
Eivind Olsen
<eivind_at_aminor.no>
Received on Fri Apr 30 2004 - 03:11:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC