devfs rule: ioctl DEVFSIO_SAPPLY: No such process

Daniel Johansson donnex at
Tue Apr 4 15:16:18 UTC 2006

Thanks. That did the trick. Strange that I couldn't set it manually from 
the command line. Anyway it works perfect when I use rc.conf and start 
it with the jail rc.d script.

Daniel Johansson - <donnex at>

Anish Mistry wrote:
> On Monday 03 April 2006 18:18, Daniel Johansson wrote:
>> Hello..
>> I'm setting up a jail in FreeBSD 6.0. I've done that before in 4.x
>> but now it's a new box and newer version of FreeBSD. Everything
>> works fine except for the rules for my devfs mount. What I want to
>> do is to hide the devices that isn't necessary in my jail
>> environment like the disks etc.
>> I've read the man files and some other guides online for this and
>> my understanding is that I should use devd to manipulate the devfs
>> mount and tell it to use rule set 4, as devfs.rules says is
>> suitable for jails.
>> $ devfs -m /path/to/my/jail/dev/ rule -s 4 applyset
>> devfs rule: ioctl DEVFSIO_SAPPLY: No such process
>> Am I doing something wrong or why do I get that error message? Any
>> tips or comments about how to fix this?
>> If you replay please CC the mail to me as I'm not subscribed to
>> this mailing list.
> Assuming you've got everything setup in your rc.conf the following is 
> what I use for a basic jail with basic dev entries:
> jail_list="myjailname"
> # myjailname jail
> ifconfig_vr0_alias0="inet netmask"
> jail_myjailname_hostname=""
> jail_myjailname_ip=""
> jail_myjailname_rootdir="/path/to/my/jail"
> jail_myjailname_devfs_enable="YES"
> jail_myjailname_devfs_ruleset="devfsrules_jail"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5301 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the freebsd-questions mailing list