Closed dcbw closed 1 year ago
See https://app.circleci.com/pipelines/github/prometheus/node_exporter/3445/workflows/1ca8faff-eabc-45fd-a7f1-0b07dffd6569/jobs/18019 for the full node_exporter CI failure
@SuperQ I thought about that, but given that FreeBSD/Darwin also have Type, and at least FreeBSD can emulate Linux procfs with the same magic as Linux, didn't seem quite right to make it _linux.go.
Other projects that import procfs, like node_exporter, apparently build for OSs that don't have Statfs_t.Type.
Leads to errors like (for node_exporter):