8171 loader: distinguish NFS versus TFTP boot by rootpath

Review Request #476 — Created May 6, 2017 and submitted

tsoome
illumos-gate
8171
462, 528
97caa35...
general

The fbsd update: https://svnweb.freebsd.org/base?view=revision&revision=317886

see also:

https://reviews.freebsd.org/D10603



hans
  1. Ship It!
  2. 
      
danmcd
  1. In the FreeBSD report is this: "But there is one limitation - only one tftp server in network to provide loader and everything else. Does enybody use more than only one?"

    This question needs to be answered in illumos-land.

    1. Well, there is this tiny "but" -- in both worlds, there actually is not possible more than one, due to the few facts:

      1. even as the option 150 does allow list of ip addresses, only one is read in current code.
      2. the rest of the code has no support to walk and probe the list of tftp server ip's.

      So the background of that question is not about if anyone currently does use more than one tftp server, but rather, should such support be built.

    2. Good enough, but please make sure your answer lands in the illumos bug report.

  2. 
      
danmcd
  1. Ship It!
  2. 
      
tsoome
yuripv
  1. 
      
  2. usr/src/man/man5/pxeboot.5 (Diff revision 2)
     
     

    .Nm
    chooses NFS or TFTP based on the value of
    .Va root-path
    variable provided by the DHCP server.
    .Nm
    defaults to use NFS if the
    .Va root-path
    variable is in the
    .Qq Pa ip-address Ns :/ Ns Pa path
    form, otherwise TFTP is used.
    

    rendered to:

         test chooses NFS or TFTP based on the value of root-path variable
         provided by the DHCP server.  test defaults to use NFS if the root-path
         variable is in the "ip-address:/path" form, otherwise TFTP is used.
    
  3. 
      
tsoome
yuripv
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...