Re: [squeak-dev] Linux VM can't read files from /proc
Ah, you're right. The Squeak VM gets the file size via stat and does not just read the contents from the file. So for squeak the file looks just empty. That's a shame because /proc/self/environ would be an easy way to access the environment variables from within the image without any need to add a specific primitive to the VM or use FFI.
also works nicely. conentsOfEntireFile (which is used by the FileList) looks for a size which it gets from a stat and returns no content. Looking at the strace log I was lead to believe it was the VM itself.