SOLVED Access USB device from jail - state of the art method?

Killom

Dabbler
Joined
Jan 13, 2020
Messages
16
Hey there!

Whats the current "state of the art" way of accessing USB devices from within a jail? I'm on TrueNAS 13.1
There is too much deprecated stuff out there, what gets me confused. Can somebody pls explain?

I know, that I somehow need to unhide the usb devices for the iocage, but thats it.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
From the host, stop the jail, and then run iocage set <property>=<value> <name of jail> to set the following properties:

Code:
allow_mount:1
allow_mount_devfs:1
allow_mount_procfs:1
devfs_ruleset:0
mount_devfs:1
mount_fdescfs:1
securelevel:0


The next time you start your jail, you should see all devices in the jail's /dev directory.
 

dougbeam

Dabbler
Joined
Jan 27, 2021
Messages
12
allow_mount:1
allow_mount_devfs:1
allow_mount_procfs:1
devfs_ruleset:0
mount_devfs:1
mount_fdescfs:1
securelevel:0

Colon must be changed to a = sign for this to work.

allow_mount=1
allow_mount_devfs=1
allow_mount_procfs=1
devfs_ruleset=0
mount_devfs=1
mount_fdescfs=1
securelevel=0
 
Top