procfs on FreeBSD is considered a security risk and is therefor not mounted per default and users are encouraged not to mount it unless it is absolutely neccessary. There are a few possible alternatives to get the same information (path of the running binary, command line arguments, ...) namely sysctl(3) and kvm(3).
Baptiste Daroussin has created patches to get rid of the procfs requirement on FreeBSD and I've modified and fixed them where necessary to get them into proper shape. The patches use sysctl(3) and should work on at least FreeBSD 6.2 and newer (did not have an older box to test it). The patches are under the MIT License and also available on: http://home.bluelife.at/ports/virtualbox/freebsd-without-procfs.diff -- Bernhard Fröhlich http://www.bluelife.at/
freebsd-without-procfs.diff
Description: Binary data
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
