On 09/ 5/10 01:02 PM, Norm Jacobs wrote:
On 09/ 5/10 01:25 AM, Shawn Walker wrote:
Although a better question is why the nis network service depends on
make (seems odd).
For as long as I can remember, yp(nis) has used a Makefile for map
generation and push. On Solaris, you can look in /var/yp/Makefile. I
don't know the original reason for choosing to use a Makefile, but I can
guess that it was both extensible and familiar to administrators (and
developers) managing systems at the time yp came about. I know that it
made it easier for me to add new maps and change things on a network I
managed a couple of decades ago.
A significant reason for that design decision is that NIS master/slave
replication sent entire map updates from the master to slaves, so it was
important to only regenerate maps that had updates in order to keep the
updates from swamping operations. Exactly what make is designed to do...
Dave
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss