convert_bootptab(8) convert_bootptab(8)
NAME
convertbootptab - convert an old style bootptab file to new style
SYNOPSIS
convertbootptab oldstylefile newstylefile
DESCRIPTION
convertbootptab is a utility program that helps the system adminis-
trator to convert old style bootptab files to new style ones.
It is not possible to do the conversion fully automatically, because
the new style bootptab file contains information that is not present
in the old style file.
A new created bootptab file should be reviewed and edited, to match
the parameters of the local network.
In particular, a .default section is created in the new file defining
parameters which will be included later in the host entries. There the
tags dn (domain name), ds (domain name servers), and sm (subnet mask)
should be adjusted.
EXAMPLE
bootptab file in old format:
# home directory
/tftpboot
# default boot file
Xtd
# end of first section
%%
# host htype haddr iaddr bootfile
uppsala 1 00:aa:00:02:7f:18 160.50.0.18 Xtd.new
From this file the following new style bootptab file is created:
...
# First, we define a global entry which specifies the stuff
# every host uses.
# (Host name lookups are relative to the domain: your.domain.name)
.default:\
:ht=ether:\
:hn:\
:dn=your.domain.name:\
:ds=your,dns,servers:\
:sm=255.255.0.0:\
:hd=/tftpboot:\
:rp=/tftpboot:\
:td=/tftpboot:\
:bf=Xtd:\
:to=auto:
Page 1 Reliant UNIX 5.44 Printed 11/98
convert_bootptab(8) convert_bootptab(8)
# host entries
uppsala:\
:tc=.default:\
:ha=0x00aa00027f18:\
:ip=160.50.0.18:\
:bf=Xtd.new:
The tags dn (domain name), ds (domain name servers), and sm (subnet
mask) need to be adjusted.
FILES
/etc/inet/bootptab
SEE ALSO
bootp(8), bootptab(5).
Page 2 Reliant UNIX 5.44 Printed 11/98