Ramdisks

A ramdisk is a reserved space of memory, which can contain a filesystem, and thus, be mounted in the system. We use ramdisks for providing writeable space on our read-only filesystem. Every time, the computer is rebooted, the contents of the ramdisks are lost. If you want permanent writeable space, you must either use nfs (or another networking filesystem), or use a remote syslogd, if you only want permanent logs.

Format a ramdisk, which will provide 8 Megabyte of Space with the command:

mke2fs -q -I 1024 /dev/ram1 8192
You cam mount the ramdisk afterwards with the usual mount-command.



Wolfgang Hennerbichler 2004-12-21