[Mono-dev] Mono requires /proc to be mounted
jonpryor at vt.edu
Thu Sep 24 13:23:16 EDT 2009
On Thu, 2009-09-24 at 12:55 -0400, Ryan Bair wrote:
> Chroots commonly have bind mounts to /proc and /dev. ie mount -o
> bind /proc /path/to/chroot/proc
> I'm not sure if Mono on Linux depends on proc being there or not, but
> there is one really easy way to find out.
And the answer is...it depends. OS X doesn't have /proc, so (1) Mono
itself will run w/o /proc, but... (2) some parts of the class library
will NOT work. For example, Process.GetProcesses() will generate a
NullReferenceException, because EnumProcesses() requires /proc (see
So it depends entirely on which parts of the class library you're using.
More information about the Mono-devel-list