DEVFS problems

Daniel Eriksson daniel_k_eriksson at telia.com
Thu Nov 18 09:18:58 PST 2004


With a system compiled from sources from yesterday (2004.11.17.12.00.00),
hiding and unhiding devfs devices does not work.

Normally I do something like this to only expose the devices I really want
in the chroot/jail environment:

mount_devfs devfs /some/path/dev
devfs -m /some/path/dev rule apply hide
devfs -m /some/path/dev rule apply path null unhide
devfs -m /some/path/dev rule apply path zero unhide
devfs -m /some/path/dev rule apply path random unhide

With recent CURRENT, the devfs rules results in this error message:
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

Am I doing something wrong, or has a bug crept into the code?

/Daniel Eriksson




More information about the freebsd-current mailing list