Check out the new USENIX Web site. next up previous
Next: Abstracting the Init System Up: The Solution Previous: Implementing the Solution


Distribution Specific Paths

Some utilities can have different names as well as non-standard locations for some daemons (e.g., nfsd vs rpc.nfsd). We fix this by putting the full absolute paths in the code but always put these paths through a mapping function which is fed from a distribution dependent map file. By default the mapper is the identity, but if it finds an entry in the map file, it will return the distribution specific absolute name. At the application design phase, we must identify all utilities that are likely to vary between distributions and abstract them in this fashion.



James Bottomley 2001-09-13