From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Wed, 2 Feb 2005 19:26:08 +0100 |
On Wednesday, 2. February 2005 19:18, Matthew Dillon wrote: > :Another solution could be using default files (/etc/defaults/services) > :and add overrides/custom entries in /etc/services. > : > :Too bad that I have no idea how we could do this, since -alot- of tcp/ip > :tools use /etc/services directly. Any way to wrap this? > : > :- Erik > > No tools should be using /etc/services directly. They should all be > using e.g. getservbyname() and friends. > > Pesonally speaking I really like the idea of having /etc/services > and /etc/defaults/services. for legacy reasons (scripts etc) better make it /etc/services and /etc/services.local. or just make it plain simple: /etc/default/services /etc/services.local both get merged into /etc/services by /etc/rc.d/services or whatever cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
Attachment:
pgp00000.pgp
Description: PGP signature