Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 14:14:18 +0200
From:      Eivind Olsen <eivind@aminor.no>
To:        freebsd-current@freebsd.org
Subject:   DEVFS in a chroot?
Message-ID:  <348620619.1083334458@[10.122.7.143]>

next in thread | raw e-mail | index | archive | help
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@aminor.no>



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