Using Directories as Configuration Fomats - Programming On Unix
Users browsing this thread: 1 Guest(s)
|
|||
> Did you implement it yourself, or is there some library for this?
I'm using a Go lib for it, https://github.com/mischief/ndb Also worth noting that practically speaking most everything on plan9 is controlled via files, as are some other offerings in the wild. The biggest win with that is you can audit the state with trivial means (a `cat` here or there, even). The biggest burden is that in some cases, the nomenclature is intractable. (The /net stack uses numerical fids, and good luck knowing which is which process without peeking). The whole ndb system (network database) is queriable and configurable at runtime, and the files update to reflect the state. It's quite nice, you can simply upload the file in question for support as it stands, in the current _running_ state. But, again, it can be intractable and overly hard to dial in on the specific setting you need, and while there are man pages and comments and everything to aid with discovery, sometimes you yearn for just a big, fat config file of everything you can grep. |
|||
Messages In This Thread |
Using Directories as Configuration Fomats - by pkal - 11-09-2019, 01:19 PM
RE: Using Directories as Configuration Fomats - by budRich - 11-09-2019, 10:53 PM
RE: Using Directories as Configuration Fomats - by Halfwit - 12-09-2019, 02:07 AM
RE: Using Directories as Configuration Fomats - by pkal - 12-09-2019, 03:54 AM
RE: Using Directories as Configuration Fomats - by budRich - 12-09-2019, 01:45 PM
RE: Using Directories as Configuration Fomats - by z3bra - 12-09-2019, 07:28 PM
RE: Using Directories as Configuration Fomats - by Halfwit - 13-09-2019, 12:09 AM
RE: Using Directories as Configuration Fomats - by pkal - 13-09-2019, 05:38 AM
RE: Using Directories as Configuration Fomats - by josuah - 12-01-2020, 08:54 PM
RE: Using Directories as Configuration Fomats - by josuah - 12-01-2020, 09:05 PM
|