| ▲ | tengwar2 11 hours ago | |||||||||||||||||||||||||
One of the annoyances of Linux is working out where configuration information is, following through multiple layers of indirection and files over-riding other files. This looks like adding another layer, another place to look, and if you're reading the man file for a shell (for example) it probably won't even mention that this could invalidate the information contained in that in the man file. | ||||||||||||||||||||||||||
| ▲ | mariusor 10 hours ago | parent | next [-] | |||||||||||||||||||||||||
> working out where configuration information is Generally, good behaved applications have an entry in their man page that spells out these details for you, so you don't have to work out anything. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | ktm5j 8 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
You're not wrong. In a worst case scenario I resort to using strace to figure out where a program is reading config from.. from what I understand, if this kernel module is in use then even that approach wouldn't help. But since the use case is personal dotfiles, I imagine the user isn't going to forget that they set this up. | ||||||||||||||||||||||||||
| ▲ | rnhmjoj 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
> this could invalidate the information contained in that in the man file. No, it doesn't. The point of modetc is precisely keep both myself and the programs happy: the files are actually stored where I like to keep them, but they can be accessed as if they were stored where the developer intended. | ||||||||||||||||||||||||||
| ▲ | brianjlogan 7 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
To be fair the author shows an example of using NixOS. It's absolutely another layer of indirection (probably several) but it does make that usual Linux "fun" less problematic because of its immutable nature and API design. | ||||||||||||||||||||||||||
| ▲ | skobes 10 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Tomorrow: modify man pages from kernel space! | ||||||||||||||||||||||||||
| ▲ | deafpolygon 10 hours ago | parent | prev [-] | |||||||||||||||||||||||||
Always check the man pages.. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||