Reduce the kernel size.

- Disable many options and devices which is not required to install.
 - Decrease the MINIROOTSIZE to fit with the actual embedded image.
This commit is contained in:
minoura 1999-04-12 16:11:53 +00:00
parent 4342da248f
commit c12f6d6d4b
1 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL,v 1.12 1999/03/31 15:38:06 minoura Exp $
# $NetBSD: INSTALL,v 1.13 1999/04/12 16:11:53 minoura Exp $
#
# INSTALL -- installation kernel.
@ -12,8 +12,10 @@ maxusers 8
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # Force root on memory-disk
options MEMORY_DISK_SERVER=0 # No user space hooks
options MINIROOTSIZE=3074
#options MINIROOTSIZE=2880 # 1.44M, same as a floppy
#options MINIROOTSIZE=2400 # 1.2M, same as a 130mm floppy
#options MINIROOTSIZE=2880 # 1.44M, same as a 90mm floppy
options MINIROOTSIZE=2048
options BUFCACHE=10
## System kernel configuration. See options(4) for more detail.
@ -127,7 +129,7 @@ makeoptions COPTS="-Os -fno-inline"
## Options for compatibility with previous releases foreign system binaries.
options COMPAT_43 # 4.3BSD system interfaces
#options COMPAT_43 # 4.3BSD system interfaces
#options COMPAT_09 # NetBSD 0.9 binary compatibility
#options COMPAT_10 # NetBSD 1.0 binary compatibility
#options COMPAT_11 # NetBSD 1.1 binary compatibility
@ -148,7 +150,7 @@ file-system MFS # memory-based filesystem
#file-system UMAPFS # uid/gid remapping filesystem
#file-system LFS # Log-based filesystem (still experimental)
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
#file-system PROCFS # /proc
file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system UNION # union file system
file-system MSDOSFS # MS-DOS FAT filesystem(s).
@ -229,8 +231,8 @@ zstty0 at zsc0 channel 0 # built-in RS-232C
#zstty4 at zsc2 channel 0
#zstty5 at zsc2 channel 1
pseudo-device sram # battery-backuped static RAM
pseudo-device bell # OPM bell
#pseudo-device sram # battery-backuped static RAM
#pseudo-device bell # OPM bell
#xcom0 at mainbus0 # NS16550 fast serial
#xcom1 at mainbus0
@ -274,7 +276,7 @@ pseudo-device loop
pseudo-device sl 1
## PPP, the successor to SLIP. See pppd(8).
pseudo-device ppp 1
#pseudo-device ppp 1
## Network "tunnel" device, allowing protocol stacks to run in the userland.
## This is used by the third-party user-mode "ppp" program, and others.
@ -299,7 +301,7 @@ pseudo-device ppp 1
## like, though 256 is more or less the upper limit. Increasing this
## number still requires you to run /dev/MAKEDEV to create the files
## for the ptys.
pseudo-device pty 8 # pseudo-ttys (for network, etc.)
#pseudo-device pty 8 # pseudo-ttys (for network, etc.)
## Random device, used to implement /dev/random (a source of random noise),
## and generate randomness for some kernel formulae.