Интерактивная система просмотра системных руководств (man-ов)
>> vn (4) ( FreeBSD man: Специальные файлы /dev/* )
- memory disk
driver provides support for four kinds of memory backed virtual disks:
Backing store is allocated using
Only one malloc-bucket is used, which means that all
backing must share the malloc-per-bucket-quota.
The exact size of this quota varies, in particular with the amount
of RAM in the
The exact value can be determined with
A file loaded by
is used for backing store.
For backwards compatibility the type
is also recognized.
If the kernel is created with option
the first preloaded image found will become the root file system.
A regular file is used as backing store.
This allows for mounting ISO images without the tedious
detour over actual physical media.
Backing store is allocated from buffer memory.
Pages get pushed out to the swap when the system is under memory
pressure, otherwise they stay in the operating memory.
backing is generally preferable over
To create a kernel with a ramdisk or MD file system, your kernel config
needs the following options:
options MD_ROOT #MD is a potential root device
options MD_ROOT_SIZE=8192 # 8MB ram disk
The image in
will be loaded as the initial image each boot.
To create the image to use, please follow the steps to create a file-backed
disk found in the
Other tools will also create these images, such as NanoBSD.