Today I learned that uname.c on #FreeBSD is a light wrapper around sysctl nodes. For example, uname -r is equal to kern.osrelease.
https://github.com/freebsd/freebsd-src/blob/main/usr.bin/uname/uname.c
Today I learned that uname.c on #FreeBSD is a light wrapper around sysctl nodes. For example, uname -r is equal to kern.osrelease.
https://github.com/freebsd/freebsd-src/blob/main/usr.bin/uname/uname.c
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/0x1eef/statuses/115695470142842585 on your instance and quote it. (Note that quoting is not supported in Mastodon.)