DEVFS problems

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Nov 18 09:19:59 PST 2004


In message <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1P
dsKAAAAQAAAA9RfmA9mmNEKtShqvfgVooQEAAAAA at telia.com>, "Daniel Eriksson" writes:
>
>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

My bug, just fixed a minute ago.

-- 
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.


More information about the freebsd-current mailing list