From peter@dataloss.nl  Fri Mar  8 05:55:03 2002
Return-Path: <peter@dataloss.nl>
Received: from useful.dataloss.nl (useful.dataloss.nl [62.250.7.47])
	by hub.freebsd.org (Postfix) with SMTP id 13AC737B417
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  8 Mar 2002 05:55:02 -0800 (PST)
Received: (qmail 31360 invoked by uid 1001); 8 Mar 2002 13:55:00 -0000
Message-Id: <20020308135500.31359.qmail@useful.dataloss.nl>
Date: 8 Mar 2002 13:55:00 -0000
From: Peter van Dijk <peter@dataloss.nl>
Reply-To: Peter van Dijk <peter@dataloss.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: wrong comments in rc.diskless1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35671
>Category:       bin
>Synopsis:       wrong comments in rc.diskless1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 08 06:00:01 PST 2002
>Closed-Date:    Sat Jun 05 03:55:52 PDT 2004
>Last-Modified:  Sat Jun 05 03:55:52 PDT 2004
>Originator:     Peter van Dijk
>Release:        FreeBSD 4.5-RELEASE-p1 i386
>Organization:
Business Internet Trends
>Environment:
System: FreeBSD breakfast.primexs.net 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Mon Mar 4 14:40:41 CET 2002     root@cheapo.bit.nl:/usr/obj/usr/src/sys/HOSTING  i386

pxeboot+nfsroot environment

>Description:
/etd/rc.diskless1 contains these comments:

# BOOTP has mounted / for us.  Assume a read-only mount.  We must then
# - figure out our IP by querying the interface
# - copy /etc temporarily out of the way to /tmp/etc
# - mount /etc as an MFS
# - repopulate /etc with the saved off copy

and further down:

# Create an MFS /tmp to temporarily hold files from /etc until we
# can bootstrap /etc as an MFS.


Neither of these are true, currently - /tmp is not created until somewhere
at the end of rc.diskless2, and the current /etc is not backupped for sure.

>How-To-Repeat:
obvious :)

>Fix:
Remove the offending comments.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Sat Jun 5 03:54:14 PDT 2004 
State-Changed-Why:  
I believe this has become moot since rcNG was introduced, where 
diskless booting has been overhauled. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35671 
>Unformatted:
