3. Kernel Configuration Options


Contents of this section

This is a partial list of options. At some point in the near future, the options (4) man page will describe machine-independent options in the config file. For more information, see the source code. Please keep in mind that some of these options work only in NetBSD-current.

options         MAXFDESCS=2048

# Standard paging options
options         SWAPPAGER       # Pager for processes (normal swap) [Required]
options         VNODEPAGER      # vnode pager (mapped files) [Required]
options         DEVPAGER        # device pager (mapped devices) [Required]

# Debugging options
options         DIAGNOSTIC      # DEBUG for extra kernel debugging
options         KTRACE          # system call tracing support
options         KGDB            # support for kernel gdb
options         GDB             # support for normal gdb
options         KGDBDEV=0xc01, KGDBRATE=38400   # device & baud rate
options         SCSIDEBUG       # SCSI device debugging support
options         SYSCALL_DEBUG   # debug all syscalls
options         NCR5380_DEBUG   # debugging for the ncr5380 driver
options         SBC_DEBUG       # debugging for the sbc driver

# Filesystem options
options         FIFO            # POSIX fifo support (in all filesystems)
options         DDB             # Debugger support
options         FFS             # BSD Fast File System
options         QUOTA           # user and group quotas (with FFS)
options         FASTLINKS       # fast symbolic links in FFS
options         MFS             # memory-based filesystem
options         NULLFS          # Null (formerly loop-back) filesystem
options         CD9660          # ISO-9660 w/ RockRidge support
options         KERNFS          # kernel data-structure filesystem
options         FDESC           # user file descriptor filesystem
options         UMAPFS          # uid/gid remapping filesystem
options         UNION           # union file system
options         LFS             # Log-based filesystem (still experimental)
options         PORTAL          # portal filesystem (still experimental)
options         PROCFS          # Process filesystem

options         NFSSERVER       # Sun NFS-compatible filesystem server support
options         NFSCLIENT       # Sun NFS-compatible filesystem client support

options         LKM             # Loadable Kernel Modules

options         SCSI            # SCSI device support

# Networking options
options         INET            # internet/IP services (IP/ICMP/TCP/UDP)
options         TCP_COMPAT_42   # backwards 4.2BSD TCP/IP compatibility
options         GATEWAY         # IP packet forwarding
options         DIRECTED_BROADCAST      # Broadcast across subnets
options         ISO             # OSI networking
options         TPIP            # TPIP OSI
options         EON             # OSI tunneling over IP
options         COMPAT_42       # backwards 4.2BSD compatibility
options         COMPAT_43       # backwards 4.3BSD compatibility
options         NS              # XNS (Xerox) networking
options         NSIP            # XNS over IP
options         CCITT,LLC,HDLC  # X.25 networking
options         MULTICAST       # multicast
options         MROUTING        # Multicast routing support
options         TUN             # tunnelling
options         PPP_BSDCOMP,PPP_DEFLATE # BSD compression for PPP

# Memory options
options         MAPMEM          # ???
options         SYSVSHM         # System V shared memory
options         SYSVSEM         # System V semaphores; see sem.h
options         SYSVMSG         # System V message queues; see msg.h
options         SHMMAXPGS=1024  # 1024 pages is the default

# Compatibility options
options         COMPAT_NOMID    # compat with 386BSD, BSDI, NetBSD 0.8
options         COMPAT_SUNOS    # non-contiguous memory hole (640k-1MB)
options         COMPAT_09       # backwards NetBSD-0.9 compatibility
options         COMPAT_10       # backwards NetBSD-1.0 compatibility
options         COMPAT_11       # backwards NetBSD-1.1 compatibility
options         COMPAT_12       # backwards NetBSD-1.2 compatibility
options         COMPAT_M68K4K   # compatibility with NetBSD/m68k4k binaries

# Mac-specific options
options         M68040          # Motorola 68040 support
options         M68030          # Motorola 68030 support
options         M68020          # Motorola 68020 + 68851 PMMU support
options         FPSP            # MC68040 floating point software package
options         FPU_EMULATE     # FPE (Floating Point Emulation support)
options         MACHINE_NONCONTIG       # support for noncontig memory
options         ZS_CONSOLE_ABORT        # serial console abort
options         DISABLE_EXT_CACHE       # Don't use IIci external cache

# Miscellaneous options
options         GENERIC         # Generic device configuration support
options         UCONSOLE        # users can redirect console (unsafe)
options         INSECURE        # disable kernel security level
options         NTP             # NTP phase/frequency locked loop
options         ACCOUNTING      # process accounting

# Enable the hooks used for initializing the ram-disk
options         RAMDISK_HOOKS   # ???
options         MINIROOTSIZE=512        # 256K ???


Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter