Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 06:10:01 -0800 (PST)
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/36088: [patch] mount_nfs loads "nfs" module instead of "nfsclient" 
Message-ID:  <200203191410.g2JEA1C10145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/36088; it has been noted by GNATS.

From: Ian Dowse <iedowse@maths.tcd.ie>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/36088: [patch] mount_nfs loads "nfs" module instead of "nfsclient" 
Date: Tue, 19 Mar 2002 14:05:16 +0000

 In message <E16nHRP-0004iN-00@fbsd.nvnpp.vrn.ru>, Gennady Proskurin writes:
 >mount_nfs(8) tries to load "nfs" module instead "nfs_client", if no
 >NFS filesystem module in kernel
 
 This should work fine, because the "nfsclient.ko" file contains a
 module called "nfs":
 
 	> kldxref -d /boot/kernel/nfsclient.ko 
 	/boot/kernel/nfsclient.ko
 	  module nfs
 	  interface nfs.1
 
 Maybe your /boot/kernel/linker.hints file got lost? When you try
 to load "nfs", the kernel is supposed to look it up in linker.hints
 and determine that the module exists in nfsclient.ko. It certainly
 works for me, although this is on a -CURRENT that is a few weeks
 old:
 
 	temp1# kldstat
 	Id Refs Address    Size     Name
 	 1    1 0xc0100000 29cb64   kernel
 	temp1# mount_nfs synge:/usr/local /mnt
 	temp1# kldstat
 	Id Refs Address    Size     Name
 	 1    2 0xc0100000 29cb64   kernel
 	 2    1 0xc133d000 16000    nfsclient.ko
 	temp1# df /mnt
 	Filesystem        1K-blocks     Used    Avail Capacity  Mounted on
 	synge:/usr/local    2540782  1809164   528356    77%    /mnt
 
 The linker.hints file should be automatically generated when you
 install the modules.
 
 Can this be closed?
 
 Ian

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




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