Project

General

Profile

Actions

Feature #8171

closed

loader: distinguish NFS versus TFTP boot by rootpath

Added by Toomas Soome about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-05-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The current bootp/dhcp code is attempting to use option 150, however, the standard pxe request does not include option 150, in some system the option 66 is used - but not always. After long discussions, the simplest possible option was agreed: make distinction based on rootpath value - if it is in form ip:/path, then use NFS, otherwise TFTP.

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

Dan did point out good point:
"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."

Well, there is this tiny "but" -- in both worlds, there actually is not possible more than one tftp server, 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.

I think, right now we shall leave this question unanswered - we can always get back to it later.

Actions #1

Updated by Toomas Soome about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 84e6955df14dc7f06618ed336ac0a78ba258feb6

commit  84e6955df14dc7f06618ed336ac0a78ba258feb6
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-28T02:21:03.000Z

    8171 loader: distinguish NFS versus TFTP boot by rootpath
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF