[api] fail fast and obvious when /proc or /dev is not mounted