mknod, devfs and FreeBSD

Kris Kennaway kris at obsecurity.org
Fri Jan 26 17:48:32 UTC 2007


On Fri, Jan 26, 2007 at 04:40:24PM +0000, Freminlins wrote:
> Hello,
> 
> I have a web server still running FreeBSD 4.7 which I want to update to
> FreeBSD 6.2. There are quite a few sites on this machine, and each of them
> has a chroot containing their own /dev. In their /dev are things like null,
> zero, random and so on.
> 
> I don't really want to set up or mount numerous devfs file systems. I tried
> creating the the relevent files using mknod but they don't work. What is the
> best way to proceed?

Set up and mount numerous devfs file systems ;)

Really it's not hard, you just specify the devices you want with a
simple devfs(8) ruleset.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070126/62761792/attachment.pgp


More information about the freebsd-questions mailing list