bootptab revision 1.3
11.3Sthorpej# $NetBSD: bootptab,v 1.3 1996/05/08 17:19:22 thorpej Exp $ 21.3Sthorpej# 31.1Sglass# /etc/bootptab: database for bootp server (/etc/bootpd) 41.1Sglass# Last update Mon 11/7/88 18:03 51.1Sglass# Blank lines and lines beginning with '#' are ignored. 61.1Sglass# 71.1Sglass# Legend: 81.1Sglass# 91.1Sglass# first field -- hostname 101.1Sglass# (may be full domain name and probably should be) 111.1Sglass# 121.2Spk# bf Bootfile 131.2Spk# bs Bootfile size in 512-octet blocks 141.2Spk# cs Cookie server address list 151.2Spk# df Merit dump file 161.2Spk# dn Domain name 171.2Spk# ds Domain name server address list 181.2Spk# ef Extension file 191.2Spk# gw Gateway address list 201.2Spk# ha Host hardware address 211.2Spk# hd Bootfile home directory 221.2Spk# hn Send client's hostname to client 231.2Spk# ht Host hardware type (see Assigned Numbers RFC) 241.2Spk# im Impress server address list 251.2Spk# ip Host IP address 261.2Spk# lg Log server address list 271.2Spk# lp LPR server address list 281.2Spk# ns IEN-116 name server address list 291.2Spk# nt NTP (time) Server (RFC 1129) 301.2Spk# ra Reply address override 311.2Spk# rl Resource location protocol server address list 321.2Spk# rp Root path to mount as root 331.2Spk# sa TFTP server address client should use 341.2Spk# sm Host subnet mask 351.2Spk# sw Swap server address 361.2Spk# tc Table continuation (points to similar "template" host entry) 371.2Spk# td TFTP root directory used by "secure" TFTP servers 381.2Spk# to Time offset in seconds from UTC 391.2Spk# ts Time server address list 401.2Spk# vm Vendor magic cookie selector 411.2Spk# yd YP (NIS) domain name 421.2Spk# ys YP (NIS) server address 431.1Sglass 441.1Sglass# 451.1Sglass# Be careful about including backslashes where they're needed. Weird (bad) 461.1Sglass# things can happen when a backslash is omitted where one is intended. 471.1Sglass# 481.1Sglass 491.1Sglass 501.1Sglass# First, we define a global entry which specifies the stuff every host uses. 511.1Sglass 521.1Sglassglobal.dummy:\ 531.1Sglass :sm=255.255.255.0:\ 541.1Sglass :hd=/home/nfsclient:bf=null:\ 551.1Sglass :ds=128.32.149.141:\ 561.1Sglass :ns=0x80020b4d 0x80020ffd:\ 571.1Sglass :ts=0x80020b4d 0x80020ffd:\ 581.1Sglass :to=18000: 591.1Sglass 601.1Sglass# Next, we can define different master entries for each subnet. . . 611.1Sglass 621.1Sglass#subnet13.dummy:\ 631.1Sglass# :tc=global.dummy:gw=128.2.13.1: 641.1Sglass# 651.1Sglass# 661.1Sglass# We should be able to use as many levels of indirection as desired. Use 671.1Sglass# your imagination. . . 681.1Sglass# 691.1Sglass 701.1Sglass 711.1Sglass# Individual entries (could also have different servers for some/all of these 721.1Sglass# hosts, but we don't really use this feature at CMU): 731.1Sglass 741.1Sglass#carnegie:tc=subnet13.dummy:ht=ieee802:ha=7FF8100000AF:ip=128.2.11.1: 751.1Sglass#baldwin:tc=subnet19.dummy:ht=ethernet:ha=0800200159C3:ip=128.2.11.10: 761.1Sglass 771.1Sglass 781.1Sglass#example nfs diskless client 791.1Sglass 801.1Sglass#timesink:hd=/home/nfsclient/timesink:\ 811.1Sglass# tc=subnet149.dummy:ht=ethernet:ha=0800200168A7:ip=128.32.149.20: 82