Hi,
I have four USB serial adapters which I like to refer by USB0..3 under /dev.
Unfortunately when I create a symlink under /dev this is not available under the jail in which I have the web server require access to the cuaU* devices.
If I create the symlink under jail path /dev (from host) then it is accessible without any issues, but I like to automate this via devfs.rules.
I have four USB serial adapters which I like to refer by USB0..3 under /dev.
Unfortunately when I create a symlink under /dev this is not available under the jail in which I have the web server require access to the cuaU* devices.
If I create the symlink under jail path /dev (from host) then it is accessible without any issues, but I like to automate this via devfs.rules.
Code:
[devfsrules_unhide_myusb=18]
add path 'cuaU*' unhide
add path 'USB*' unhide
Code:
[devfsrules_jail_web=6]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add include $devfsrules_unhide_myusb
add path zfs unhide