man.bsd.lv manual page server

Manual Page Search Parameters

MDCONFIG(8) System Manager's Manual MDCONFIG(8)

mdconfigconfigure MEMORY disks

mdconfig special_file 512-byte-blocks

The mdconfig command configures memory disk devices. It will associate the special file special_file with a range of user-virtual memory allocated by the mdconfig process itself. The mdconfig command should be run in the background. If successful, the command will not return. Otherwise, an error message will be printed.

To "unconfigure" the memory disk, just kill the background mdconfig process started earlier.

/dev/rmd??
 
/dev/md??
 

mdconfig /dev/md0c 2048 &

Configures the memory disk md0c with one megabyte of user-space memory.

mount(8), swapon(8), umount(8)

The special device will become inoperative if the mdconfig process is killed while the special device is open.

July 8, 1993 NetBSD-9.2