Browse Source

nfsiod/nfs_client, bye bye

add commented out entry into sysctl.conf for vfs.nfs.iothreads
OPENBSD_2_8
mickey 24 years ago
parent
commit
a3b6521f86
3 changed files with 4 additions and 11 deletions
  1. +1
    -7
      src/etc/rc
  2. +1
    -3
      src/etc/rc.conf
  3. +2
    -1
      src/etc/sysctl.conf

+ 1
- 7
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.138 2000/05/15 18:24:42 hin Exp $
# $OpenBSD: rc,v 1.139 2000/05/19 16:53:17 mickey Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -262,12 +262,6 @@ if [ X${nfs_server} = X"YES" -a -s /etc/exports -a \
fi fi
fi fi
# $nfs_client is imported from /etc/rc.conf;
# if $nfs_client == YES, the machine is setup for being an nfs client
if [ X${nfs_client} = X"YES" ]; then
echo -n ' nfsiod'; nfsiod ${nfsiod_flags}
fi
if [ X${amd} = X"YES" -a -d ${amd_dir} -a -e ${amd_master} ]; then if [ X${amd} = X"YES" -a -d ${amd_dir} -a -e ${amd_master} ]; then
echo -n ' amd' echo -n ' amd'
(cd /etc/amd; amd -l syslog -x error,noinfo,nostats -p \ (cd /etc/amd; amd -l syslog -x error,noinfo,nostats -p \


+ 1
- 3
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.46 2000/04/30 23:17:05 ericj Exp $
# $OpenBSD: rc.conf,v 1.47 2000/05/19 16:53:18 mickey Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q" routed_flags=NO # for normal use: "-q"
@ -40,7 +40,6 @@ xdm_flags=NO # for normal use: ""
# set the following to "YES" to turn them on # set the following to "YES" to turn them on
rwhod=NO rwhod=NO
nfs_server=NO nfs_server=NO
nfs_client=NO
lockd=NO lockd=NO
gated=NO gated=NO
kerberos_server=NO # kerberos server. run 'info kth-krb' for assistance. kerberos_server=NO # kerberos server. run 'info kth-krb' for assistance.
@ -67,7 +66,6 @@ gated_flags=
ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp
nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
nfsiod_flags="-n 4" # Crank the 4 for a busy NFS client
amd_dir=/tmp_mnt # AMD's mount directory amd_dir=/tmp_mnt # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map amd_master=/etc/amd/master # AMD 'master' map
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering


+ 2
- 1
src/etc/sysctl.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: sysctl.conf,v 1.16 2000/03/30 06:42:17 angelos Exp $
# $OpenBSD: sysctl.conf,v 1.17 2000/05/19 16:53:18 mickey Exp $
# This files contains a list of sysctl options the user wants set at # This files contains a list of sysctl options the user wants set at
# boot time. # boot time.
# ie. # ie.
@ -13,3 +13,4 @@
#fs.posix.setuid=0 # 0=Traditional BSD chown() semantics #fs.posix.setuid=0 # 0=Traditional BSD chown() semantics
#vm.swapencrypt=1 # 1=Encrypt pages that go to swap #vm.swapencrypt=1 # 1=Encrypt pages that go to swap
#net.inet.ip.ipsec-acl=0 # 0=disable IPsec ingress ACL checking #net.inet.ip.ipsec-acl=0 # 0=disable IPsec ingress ACL checking
#vfs.nfs.iothreads=4 # number of nfsio kernel threads

Loading…
Cancel
Save