Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 18:18:51 +0100
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        "'Poul-Henning Kamp'" <phk@phk.freebsd.dk>, <freebsd-current@freebsd.org>
Subject:   DEVFS problems
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAA9RfmA9mmNEKtShqvfgVooQEAAAAA@telia.com>
In-Reply-To: <38192.1100388485@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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