In message <348620619.1083334458_at_[10.122.7.143]>, Eivind Olsen writes: >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? Yes: mount -t devfs randomargument /var/chroot/dev >And I'd need to create some devfs-rulefile? Only if reducing the contents of that devfs instance. -- 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 Fri Apr 30 2004 - 03:13:42 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC