Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 01:23:11 -0800 (PST)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient bootp_subr.c
Message-ID:  <200203130923.g2D9NBL68938@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2002/03/13 01:23:11 PST

  Modified files:
    sys/nfsclient        bootp_subr.c 
  Log:
  Add a readonly sysctl variable of type string, kern.bootp_cookie,
  which is initialized with whatever string a dhcp/bootp server passes
  as vendor tag 134.
  There is no standard tag that I know with this information, and
  no vendor-defined tag that applies to FreeBSD that I could find
  doing the same thing.
  
  The intended use is to pass information to userland for run-time
  configuration of a diskless client without having to run a bootp/dhcp
  client for the third time (after the one in pxeboot/etherboot, and
  the one in the kernel bootp), also because these clients generally
  screwup the interface configuration, which is not exactly what you
  want when you have your disks nfs-mounted.
  
  Manpage update to follow soon.
  
  MFC-after: 3 days
  
  Revision  Changes    Path
  1.36      +15 -0     src/sys/nfsclient/bootp_subr.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203130923.g2D9NBL68938>