DEVFS problems

From: Daniel Eriksson <daniel_k_eriksson_at_telia.com>
Date: Thu, 18 Nov 2004 18:18:51 +0100
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
Received on Thu Nov 18 2004 - 16:18:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC