Multiplay Labs

tech hits and tips from Multiplay

Archive for December 12th, 2012

Making gstat work in FreeBSD jail’s

without comments

gstat requires /dev/devstat so for it to work under a jail you need enable devfs an ensure that /dev/devstat is available.

To enable devfs for all jails set the following in /etc/rc.conf


To add devstat to the default jail ruleset you can add the following to /etc/devfs.rules

add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path devstat unhide

Written by Dilbert

December 12th, 2012 at 2:46 pm

Posted in FreeBSD