util-linux has merged support for statmount() and listmount() to list mounts:
https://github.com/util-linux/util-linux/pull/3092#event-15865684400
This should be a nice performance improvement.
See https://brauner.io/2024/12/16/list-all-mounts.html for some details on listmount() and statmount().
It's a gamma compensated neutron ionisation chamber!
Basically two chambers in one, sharing one electrode. One chamber is coated in boron to make it neutron sensitive, the other isn't and with some clever wiring of both chambers you can make sure the current on the shared electrode is just from neutrons, regardless of the gamma background!
You'll typically find these very close to a reactor core, used for measuring power.
I've written a post that shows how to list all mounts in all mount namespaces (all mounts on the system) using new apis we added to the #vfs last year.
Here's a blog story with the links to all those #systemd257 stories on Mastodon:
https://0pointer.net/blog/announcing-systemd-v257.html
Enjoy! And stay tuned for #systemd258!
1️⃣9️⃣ Here's the 19th post highlighting key new features of the upcoming v257 release of systemd. #systemd257
A relatively basic feature of systemd's service management is the ability to automatically restart a service in case it terminates unexpectedly, configurable via the Restart= setting.
In v254 we added the RestartMode= setting that allows to fine tune the mechanism to use for restarting the service, i.e. it adds a logic to optionally avoid marking the service as failed between…