home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!newcastle.ac.uk!turing!ncrr
- From: C.R.Ritson@newcastle.ac.uk (C R Ritson)
- Newsgroups: comp.sys.sun.admin
- Subject: Name for a YP services map
- Message-ID: <C1Gz95.6Jo@newcastle.ac.uk>
- Date: 26 Jan 93 16:31:52 GMT
- Organization: University of Newcastle upon Tyne, UK, NE1 7RU
- Lines: 26
- Nntp-Posting-Host: turing
-
- Some time ago, I discovered that the NIS/YP map "services.byname"
- is in fact keyed on the port number and protocol, as needed for
- getservbyport(). This makes getservbyname() very slow, as it reads
- every record using yp_next().
-
- I do not have shared libraries (I am not using a sun client), but
- have more or less convinced my vendor to use a new map for the
- services database which really is keyed by service name and protocol,
- and to modify getservbyname().
-
- Question:
- Is there any consensus as to what this new map should be
- called, given that services.byname must stay as it is.
-
- Send me your ideas, preferably by mail, including the string
- "services map" in the subject line. I will summarise.
-
- I realise that the new NIS+ will avoid this problem, by having
- multiple keys, but there will no doubt be old servers around for
- some time to come.
-
- Chris Ritson <C.R.Ritson@newcastle.ac.uk>
- EMAIL: C.R.Ritson@newcastle.ac.uk Chris Ritson,
- PHONE: +44 91 222 8175 Department of Computing Science
- FAX : +44 91 222 8232 University of Newcastle upon Tyne,
- TELEX: uk+53654-UNINEW_G UK, NE1 7RU
-