lib.ndb.mkfile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ATTR=sys ip ipnet tcp il udp dom ether port authdom hostid database soa
  2. all:V:
  3. 9fs kfs
  4. 9fs $fileserver
  5. mk local.^($ATTR)
  6. mk local-cs.^($ATTR)
  7. mk common.^($ATTR)
  8. mk friends.^($ATTR)
  9. mk trip.^($ATTR)
  10. mk mesa.^($ATTR)
  11. mk external.^($ATTR)
  12. mk external-cs.^($ATTR)
  13. local.%: local
  14. ndb/mkhash local $stem
  15. local-cs.%: local-cs
  16. ndb/mkhash local-cs $stem
  17. common.%: common
  18. ndb/mkhash common $stem
  19. external.%: external
  20. ndb/mkhash external $stem
  21. external-cs.%: external-cs
  22. ndb/mkhash external-cs $stem
  23. friends.%: friends
  24. ndb/mkhash friends $stem
  25. trip.%: trip
  26. ndb/mkhash trip $stem
  27. mesa.%: mesa
  28. ndb/mkhash mesa $stem
  29. local: /n/$fileserver/lib/ndb/local
  30. cp /n/$fileserver/lib/ndb/local /n/kfs/lib/ndb
  31. local-cs: /n/$fileserver/lib/ndb/local-cs
  32. cp /n/$fileserver/lib/ndb/local-cs /n/kfs/lib/ndb
  33. common: /n/$fileserver/lib/ndb/common
  34. cp /n/$fileserver/lib/ndb/common /n/kfs/lib/ndb
  35. friends: /n/$fileserver/lib/ndb/friends
  36. cp /n/$fileserver/lib/ndb/friends /n/kfs/lib/ndb
  37. trip: /n/$fileserver/lib/ndb/trip
  38. cp /n/$fileserver/lib/ndb/trip /n/kfs/lib/ndb
  39. mesa: /n/$fileserver/lib/ndb/mesa
  40. cp /n/$fileserver/lib/ndb/mesa /n/kfs/lib/ndb
  41. external: /n/$fileserver/lib/ndb/external
  42. cp /n/$fileserver/lib/ndb/external /n/kfs/lib/ndb
  43. external-cs: /n/$fileserver/lib/ndb/external-cs
  44. cp /n/$fileserver/lib/ndb/external-cs /n/kfs/lib/ndb