procfs icon indicating copy to clipboard operation
procfs copied to clipboard

FreeBSD linprocfs and linsysfs compatibility

Open raybellis opened this issue 3 years ago • 3 comments

FreeBSD contains optional linprocfs and linsysfs modules that provides a subset of the equivalent Linux pseudo-filesystems. They are usually mounted in /compat/linux/proc and /compat/linux/sys.

It would be great if this module were able to detect these and support that subset of the functionality!

Without them, other Prometheus code such as the Process module from client_golang don't work, although to an extent they can be fooled by mounting the Linux pseudo-FSs into (for example) /proc instead of /compat/linux/proc.

raybellis avatar Aug 12 '22 15:08 raybellis

Interesting.. seems like a reasonable feature request.

discordianfish avatar Aug 22 '22 13:08 discordianfish

I run FreeBSD, I'd be interested in investigating this further

conallob avatar Nov 28 '23 15:11 conallob

@conallob go for it!

discordianfish avatar Dec 19 '23 11:12 discordianfish