From 5407cadad640d527f151b6d89f15172145d3d99f Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 8 Sep 1999 04:46:35 +0000 Subject: [PATCH] Bump maxusers in installation kernel down to something more low-memory friendly. --- release/alpha/dokern.sh | 4 ++++ release/amd64/dokern.sh | 4 ++++ release/i386/dokern.sh | 4 ++++ release/pc98/dokern.sh | 4 ++++ release/scripts/dokern.sh | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh index fc0217e59776..5a7a7a56064e 100755 --- a/release/alpha/dokern.sh +++ b/release/alpha/dokern.sh @@ -9,11 +9,15 @@ sed -e '/pty/d' \ -e '/PROCFS/d' \ -e '/KTRACE/d' \ -e '/SYSVMSG/d' \ + -e '/maxusers/d' \ -e 's/GENERIC/BOOTMFS/g' # So dhclient will work (just on boot floppy). echo "pseudo-device bpf 4" +# reset maxusers to something lower +echo "maxusers 5" + echo "options NFS_NOSERVER" echo "options SCSI_NO_OP_STRINGS" echo "options SCSI_NO_SENSE_STRINGS" diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh index fc0217e59776..5a7a7a56064e 100755 --- a/release/amd64/dokern.sh +++ b/release/amd64/dokern.sh @@ -9,11 +9,15 @@ sed -e '/pty/d' \ -e '/PROCFS/d' \ -e '/KTRACE/d' \ -e '/SYSVMSG/d' \ + -e '/maxusers/d' \ -e 's/GENERIC/BOOTMFS/g' # So dhclient will work (just on boot floppy). echo "pseudo-device bpf 4" +# reset maxusers to something lower +echo "maxusers 5" + echo "options NFS_NOSERVER" echo "options SCSI_NO_OP_STRINGS" echo "options SCSI_NO_SENSE_STRINGS" diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh index fc0217e59776..5a7a7a56064e 100755 --- a/release/i386/dokern.sh +++ b/release/i386/dokern.sh @@ -9,11 +9,15 @@ sed -e '/pty/d' \ -e '/PROCFS/d' \ -e '/KTRACE/d' \ -e '/SYSVMSG/d' \ + -e '/maxusers/d' \ -e 's/GENERIC/BOOTMFS/g' # So dhclient will work (just on boot floppy). echo "pseudo-device bpf 4" +# reset maxusers to something lower +echo "maxusers 5" + echo "options NFS_NOSERVER" echo "options SCSI_NO_OP_STRINGS" echo "options SCSI_NO_SENSE_STRINGS" diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh index fc0217e59776..5a7a7a56064e 100755 --- a/release/pc98/dokern.sh +++ b/release/pc98/dokern.sh @@ -9,11 +9,15 @@ sed -e '/pty/d' \ -e '/PROCFS/d' \ -e '/KTRACE/d' \ -e '/SYSVMSG/d' \ + -e '/maxusers/d' \ -e 's/GENERIC/BOOTMFS/g' # So dhclient will work (just on boot floppy). echo "pseudo-device bpf 4" +# reset maxusers to something lower +echo "maxusers 5" + echo "options NFS_NOSERVER" echo "options SCSI_NO_OP_STRINGS" echo "options SCSI_NO_SENSE_STRINGS" diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh index fc0217e59776..5a7a7a56064e 100755 --- a/release/scripts/dokern.sh +++ b/release/scripts/dokern.sh @@ -9,11 +9,15 @@ sed -e '/pty/d' \ -e '/PROCFS/d' \ -e '/KTRACE/d' \ -e '/SYSVMSG/d' \ + -e '/maxusers/d' \ -e 's/GENERIC/BOOTMFS/g' # So dhclient will work (just on boot floppy). echo "pseudo-device bpf 4" +# reset maxusers to something lower +echo "maxusers 5" + echo "options NFS_NOSERVER" echo "options SCSI_NO_OP_STRINGS" echo "options SCSI_NO_SENSE_STRINGS"