Вы находитесь на странице: 1из 1

The ramdisk creation needs super user permissions, so the command has to be run

under sudo instruction.


First, you need to create a folder wich will be linked to the ram. In this case,
the folder is created in "/home/userxx/ramdisk".
Also, the folder (ram space) size is set at the end of the command, and in this
case the size is defined in megabytes (xxxxm).
The general command is:
sudo mount -t tmpfs none /home/userxx/ramdisk -o size=xxxxm
and as example, to create a ramdisk of 450 megabytes and linked to the folder /h
ome/user123/ramdisk, the command is:
sudo mount -t tmpfs none /home/user123/ramdisk -o size=450m
The amount of space assigned to the ramdisk folder, corresponds to a real part o
f physical memory, be careful with the number of memory assignation.

Вам также может понравиться