From matusita@jp.freebsd.org  Wed Jun 28 01:28:00 2000
Return-Path: <matusita@jp.freebsd.org>
Received: from castle.jp.freebsd.org (castle.jp.freebsd.org [210.226.20.15])
	by hub.freebsd.org (Postfix) with ESMTP id 3DB6737B63D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Jun 2000 01:27:51 -0700 (PDT)
	(envelope-from matusita@jp.freebsd.org)
Received: from localhost (localhost [127.0.0.1])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA66909
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Jun 2000 17:27:49 +0900 (JST)
	(envelope-from matusita@jp.FreeBSD.org)
Message-Id: <20000628172745Y.matusita@jp.FreeBSD.org>
Date: Wed, 28 Jun 2000 17:27:45 +0900
From: Makoto MATSUSHITA <matusita@jp.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: amd doesn't know whether NFS feature is available or not
X-Send-Pr-Version: 3.2

>Number:         19558
>Category:       bin
>Synopsis:       amd doesn't know whether NFS feature is available or not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 28 01:30:00 PDT 2000
>Closed-Date:    Sun Sep 2 10:06:04 PDT 2001
>Last-Modified:  Sun Sep 02 10:06:53 PDT 2001
>Originator:     Makoto MATSUSHITA
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Japan FreeBSD Users' Group
>Environment:

	Both FreeBSD 5.0-CURRENT and 4.0-STABLE

>Description:

	Assume that running kernel does not have NFS feature (no
	"options NFS" line in kernel config).

	If you type "mount nfsserver:/path/to/mountpoint /local/path",
	mount_nfs automatically loads /modules/nfs.ko and the attempts
	may success.  Same scenario can be applied to fstab. Works perfect.

	However, the amd automounter, does not know how to load NFS module.
	You can see many warnings if the kernel does not have NFS
	feature nor you doesn't load NFS modules *before* starting amd.

	Maybe you say: hey, put 'nfs_load="YES"' to /boot/loader.conf.local.
	But why, why mount(8) and fstab(5) works but amd(8) doesn't work?

	I do not check other filesystems which is supported by amd and
	has already have its own kernel modules, but maybe the same.

>How-To-Repeat:

	- Install /kernel without NFS feature.
	- Setup /etc/rc.conf{,local} to use amd.
	- Boot FreeBSD and see how /etc/rc is processed.

>Fix:
	
	Teach vfsload() and its associated funcalls to amd.


>Release-Note:
>Audit-Trail:

From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/19558: amd doesn't know whether NFS feature is available
 or not
Date: Wed, 27 Sep 2000 13:44:23 +0900

 Here is a status of this PR.
 
 * No one checks this PR yet.
 
 * Amd still doesn't know that FreeBSD is now kernel module and NFS is
   provided as modules also. Amd should know that there is a kernel
   which does *not know about NFS.
 
 * For users: if you want to use amd as NFS automounter, you should:
 	- add 'options NFS' to your kernel config file, or
 	- add 'nfs_load="YES"' to your /boot/loader.conf.
 
   If this is the solution, please close this PR...
 
 -- -
 Makoto `MAR' MATSUSHITA
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Sun Sep 2 10:06:04 PDT 2001 
State-Changed-Why:  
I agree this is a bug.... but it beyond fixing by me. 
(at least w/o a patch from you) 
The right place to address this would to be with someone at 
http://www.cs.columbia.edu/~ezk/am-utils/index.html. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19558 
>Unformatted:
