FreeBSD Bugzilla – Attachment 17241 Details for
Bug 31358
Need to load NFS client LKM.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.12 KB, created by
quinot
on 2001-10-18 19:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
quinot
Created:
2001-10-18 19:00:02 UTC
Size:
2.12 KB
patch
obsolete
>--- /usr/src/etc/rc Wed Oct 10 14:54:51 2001 >+++ rc Thu Oct 18 19:31:22 2001 >@@ -103,6 +103,7 @@ > } > > chkdepend amd amd_enable portmap portmap_enable >+chkdepend amd amd_enable NFS nfs_client_enable > chkdepend NFS nfs_server_enable portmap portmap_enable > chkdepend NIS nis_server_enable portmap portmap_enable > chkdepend NIS nis_client_enable portmap portmap_enable >--- /usr/src/etc/rc.network Thu Oct 11 12:56:02 2001 >+++ rc.network Thu Oct 18 19:38:32 2001 >@@ -657,8 +657,25 @@ > ;; > esac > >+ if sysctl -r vfs.nfs.access_cache_timeout > /dev/null 2>&1; then >+ nfsclient_in_kernel=1 >+ else >+ nfsclient_in_kernel=0 >+ fi >+ > case ${nfs_client_enable} in > [Yy][Ee][Ss]) >+ if [ "${nfsclient_in_kernel}" -eq 0 ] && kldload nfsclient; then >+ nfsclient_in_kernel=1 >+ echo 'NFS client kernel module loaded' >+ elif [ "${nfsclient_in_kernel}" -eq 0 ]; then >+ echo 'Warning: NFS client kernel module failed to load' >+ fi >+ ;; >+ esac >+ >+ case "${nfsclient_in_kernel}" in >+ 1) > if [ -n "${nfs_access_cache}" ]; then > echo -n " NFS access cache time=${nfs_access_cache}" > sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} >/dev/null >@@ -666,6 +683,27 @@ > if [ -n "${nfs_bufpackets}" ]; then > sysctl -w vfs.nfs.bufpackets=${nfs_bufpackets} > /dev/null > fi >+ >+ case ${amd_enable} in >+ [Yy][Ee][Ss]) >+ echo -n ' amd' >+ case ${amd_map_program} in >+ [Nn][Oo] | '') >+ ;; >+ *) >+ amd_flags="${amd_flags} `eval\ >+ ${amd_map_program}`" >+ ;; >+ esac >+ >+ if [ -n "${amd_flags}" ]; then >+ amd -p ${amd_flags}\ >+ > /var/run/amd.pid 2> /dev/null >+ else >+ amd 2> /dev/null >+ fi >+ ;; >+ esac > ;; > esac > >@@ -675,27 +713,6 @@ > if [ -f /var/db/mounttab ]; then > rpc.umntall -k > fi >- >- case ${amd_enable} in >- [Yy][Ee][Ss]) >- echo -n ' amd' >- case ${amd_map_program} in >- [Nn][Oo] | '') >- ;; >- *) >- amd_flags="${amd_flags} `eval\ >- ${amd_map_program}`" >- ;; >- esac >- >- if [ -n "${amd_flags}" ]; then >- amd -p ${amd_flags}\ >- > /var/run/amd.pid 2> /dev/null >- else >- amd 2> /dev/null >- fi >- ;; >- esac > ;; > esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31358
: 17241