92ae85d18e
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the MEMORY_DISK options(4) - change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt the config(5) files accordingly - document this option inside options(4) See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html Reviewed by abs@ in private mail.
18 lines
572 B
Plaintext
18 lines
572 B
Plaintext
# $NetBSD: RAMDISK,v 1.3 2009/02/06 18:50:26 jym Exp $
|
|
#
|
|
# memory disk based configuration file
|
|
#
|
|
|
|
include "arch/cobalt/conf/GENERIC"
|
|
|
|
# Enable the hooks used for initializing the root memory-disk.
|
|
options MEMORY_DISK_HOOKS
|
|
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
options MEMORY_DISK_SERVER=0 # no userspace md(4) support
|
|
options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
|
|
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
|
|
|
|
makeoptions COPTS="-Os -mmemcpy" # generates smaller code than -O2, -O1
|
|
|
|
pseudo-device md 1
|