看板 DFBSD_bugs 關於我們 聯絡資訊
--nextPart1338979.S0QHYC7xVQ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 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 =2D-=20 /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --nextPart1338979.S0QHYC7xVQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCARtDr5S+dk6z85oRApzIAJ4pJVY3BYsgSRZATFdIJPPE5tQkWwCdE+xy W/GHZziSHyj260W5t4PCnw0= =OE22 -----END PGP SIGNATURE----- --nextPart1338979.S0QHYC7xVQ--