When using any of the .NET write functions on any Linux character device (ex. /dev/null , /dev/zero and so on) mono returns the error "Sharing violation on path" plus the path name. Mono can read the devices but not write to them.
To replicate the error, the following command will fail:
var fs = File.OpenWrite("/dev/null");