bug in bootpd for FBSD-stable ?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 7 01:36:33 PST 2004


On Sat, Feb 07, 2004 at 07:52:12AM +0900, Rob wrote:

Please don't send the same message to the list over and over again: if
someone knows the answer they will reply.

> I'm using bootpd, to boot diskless PC.
> 
> According to handbook and many other resources, adding swap to a diskless PC
> can work with T128 and T129 options in /etc/bootptab file.
> 
> So that's what I tried:
> 
> -----------------------------------------------
> .default:\
>         hn:ht=1:vm=rfc1048:\
>         sm=255.255.255.0:\
>         sa=147.46.44.181:\
>         gw=147.46.44.1:\
>         hd="":\
>         bf="kernel":\
>         T128="147.46.44.181:/home":\
>         T129=64000:\
>         rp="147.46.44.181:/tftpboot":
> 
> diskless:\
>         ha=0050fce9306f:\
>         tc=.default:
> -----------------------------------------------

Read the man page more closely, and consult termcap(5) for the general
syntax.  One obscure requirement is:

(from termcap(5))

     If it is necessary to place a : in a capability it must be escaped as \:
     or be encoded as \072.  

You're also missing a number of other colons out of your bootptab:

    .default:\
            :hn:ht=1:vm=rfc1048:\
            :sm=255.255.255.0:\
            :sa=147.46.44.181:\
            :gw=147.46.44.1:\
            :hd="":\
            :bf="kernel":\
            :T128="147.46.44.181\072/home":\
            :T129=64000:\
            :rp="147.46.44.181\072/tftpboot":
    
    diskless:\
            :ha=0050fce9306f:\
            :tc=.default:

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040207/f9a9dead/attachment.bin


More information about the freebsd-stable mailing list