Re: DEVFS problems

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 18 Nov 2004 18:19:57 +0100
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.
Received on Thu Nov 18 2004 - 16:19:59 UTC

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