User's Manual
Doc #: 1ANSU-160004
DNI SGDC-D22 User Manual
i. 20
7. Daemons & Utilities
7.1. Ramdisk
To mount a virtual disk on the memory, you can execute the following command to create a ramdisk.
Create a directory for ramdisk:
# mkdir –p /var/ramdisk
Allocate a specific memory size and mount it to the ramdisk:
# mount –t tmpfs none /var/ramdisk –o size=16M
Finally, you can use df command to check the information of the ramdisk you created.
# df
Figure 13, Mount a ramdisk with 16MB size.
If you want to umount the ramdisk, use the command below:
# umount /var/ramdisk