From nobody@FreeBSD.org  Sun Sep 29 15:42:10 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A02437B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:42:10 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5E28643E77
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:42:10 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TMgA7R024627
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:42:10 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g8TMgArU024626;
	Sun, 29 Sep 2002 15:42:10 -0700 (PDT)
Message-Id: <200209292242.g8TMgArU024626@www.freebsd.org>
Date: Sun, 29 Sep 2002 15:42:10 -0700 (PDT)
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mount -t nfs -> crunchgen incompatible
X-Send-Pr-Version: www-1.0

>Number:         43497
>Category:       bin
>Synopsis:       mount(8): mount -t nfs -> crunchgen incompatible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 15:50:01 PDT 2002
>Closed-Date:    
>Last-Modified:  Mon Oct 24 20:54:55 GMT 2005
>Originator:     Dirk-Willem van Gulik
>Release:        5-Current
>Organization:
WebWeaving
>Environment:
FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jul  1 11:24:18 CEST 2002     dirkx@foem.leiden.webweaving.org:/usr/src/sys/i386/compile/FOEM  i386  
>Description:
mount -t nfs is used in the rc/mountcritremote.

In a limited environment it can be nice to use a crunchgen version of mount and mount_nfs during the early stages of the boot.

Unfortunately mount and mount_nfs use similar symlink $0 argv[0] tricks to work out their identity. This clashes.

>How-To-Repeat:
Its a whish :-)
>Fix:
call mount_nfs epxlicitly - but no idea what this would break. i.e. replace all mount -t nfs ... into mount_nfs ... 
>Release-Note:
>Audit-Trail:

From: Ian Dowse <iedowse@maths.tcd.ie>
To: Dirk-Willem van Gulik <dirkx@webweaving.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/43497: mount -t nfs -> crunchgen incompatible 
Date: Mon, 30 Sep 2002 00:19:27 +0100

 In message <200209292242.g8TMgArU024626@www.freebsd.org>, Dirk-Willem van Gulik
  writes:
 >mount -t nfs is used in the rc/mountcritremote.
 >
 >In a limited environment it can be nice to use a crunchgen version of mount an
 >d mount_nfs during the early stages of the boot.
 >
 >Unfortunately mount and mount_nfs use similar symlink $0 argv[0] tricks to wor
 >k out their identity. This clashes.
 
 Have you tried adding "ln mount_nfs nfs" to the crunchgen config
 file? I'm fairly sure we use this in a local diskless configuration
 and it works fine.
 
 BTW, your email address bounced, so I'm guessing at what it is
 supposed to be (webweaving instead of wewbeaving).
 
 Ian

From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: Ian Dowse <iedowse@maths.tcd.ie>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/43497: mount -t nfs -> crunchgen incompatible 
Date: Mon, 30 Sep 2002 01:39:17 +0200 (CEST)

 On Mon, 30 Sep 2002, Ian Dowse wrote:
 
 > Have you tried adding "ln mount_nfs nfs" to the crunchgen config
 > file? I'm fairly sure we use this in a local diskless configuration
 > and it works fine.
 
 Yes - that works around the issue. Would it be 'good enough' to document
 this with crunchgen or with, say, the picobsd examples ? Or would it be
 cleaner to make the rc* scripts more powerfull ?
 
 Dw
 
State-Changed-From-To: open->suspended 
State-Changed-By: linimon 
State-Changed-When: Mon Oct 24 20:41:09 GMT 2005 
State-Changed-Why:  
Mark as 'suspended' since this does not seem as though it is being 
actively worked on. 

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