2 ms·
> it is necessarily something that would live in the filesystem, independent of the kernel. Counterexample: struct utsname and the uname system call.
by kazinator 8y ago
> it is necessarily something that would live in the filesystem, independent of the kernel.
Counterexample: struct utsname and the uname system call.
- LukeShu 8y agoThat's a good counterpoint. It would still have to live somewhere in the filesystem, and have a userspace program load it in to the kernel, just as `utsname.nodename` is loaded from /etc/hostname.
- kazinator 8y agoYes; that area of the filesystem can be readable only to root. It could also have other avenues of entry: it could come from the boot firmware via the kernel command line, or be in a device tree blob or whatever.