md.4 (164593) | md.4 (169505) |
---|---|
1.\" ---------------------------------------------------------------------------- 2.\" "THE BEER-WARE LICENSE" (Revision 42): 3.\" <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 4.\" can do whatever you want with this stuff. If we meet some day, and you think 5.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 6.\" ---------------------------------------------------------------------------- 7.\" | 1.\" ---------------------------------------------------------------------------- 2.\" "THE BEER-WARE LICENSE" (Revision 42): 3.\" <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 4.\" can do whatever you want with this stuff. If we meet some day, and you think 5.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 6.\" ---------------------------------------------------------------------------- 7.\" |
8.\" $FreeBSD: head/share/man/man4/md.4 164593 2006-11-24 18:53:45Z imp $ | 8.\" $FreeBSD: head/share/man/man4/md.4 169505 2007-05-12 15:33:18Z pav $ |
9.\" 10.Dd November 24, 2006 11.Dt MD 4 12.Os 13.Sh NAME 14.Nm md 15.Nd memory disk 16.Sh SYNOPSIS --- 28 unchanged lines hidden (view full) --- 45If the kernel is created with option 46.Dv MD_ROOT 47the first preloaded image found will become the root file system. 48.It Cm vnode 49A regular file is used as backing store. 50This allows for mounting ISO images without the tedious 51detour over actual physical media. 52.It Cm swap | 9.\" 10.Dd November 24, 2006 11.Dt MD 4 12.Os 13.Sh NAME 14.Nm md 15.Nd memory disk 16.Sh SYNOPSIS --- 28 unchanged lines hidden (view full) --- 45If the kernel is created with option 46.Dv MD_ROOT 47the first preloaded image found will become the root file system. 48.It Cm vnode 49A regular file is used as backing store. 50This allows for mounting ISO images without the tedious 51detour over actual physical media. 52.It Cm swap |
53Backing store is allocated from swap space. | 53Backing store is allocated from buffer memory. 54Pages get pushed out to the swap when the system is under memory 55pressure, otherwise they stay in the operating memory. 56Using 57.Cm swap 58backing is generally preferable over 59.Cm malloc 60backing. |
54.El 55.Pp 56For more information, please see 57.Xr mdconfig 8 . 58.Sh EXAMPLES 59To create a kernel with a ramdisk or MD file system, your kernel config 60needs the following options: 61.Bd -literal -ofset indent --- 46 unchanged lines hidden --- | 61.El 62.Pp 63For more information, please see 64.Xr mdconfig 8 . 65.Sh EXAMPLES 66To create a kernel with a ramdisk or MD file system, your kernel config 67needs the following options: 68.Bd -literal -ofset indent --- 46 unchanged lines hidden --- |