4GB 的 ram disk 範例:
mkdir /tmp/ramdisk chmod 777 /tmp/ramdisk mount -t tmpfs -o size=4G tmpfs /tmp/ramdisk/
檢查用指令:
df -h
資料來源
Fastest way to create ramdisk in Ubuntu/Linux
https://www.linuxscrew.com/fastest-way-to-create-ramdisk-in-ubuntulinux
4GB 的 ram disk 範例:
mkdir /tmp/ramdisk chmod 777 /tmp/ramdisk mount -t tmpfs -o size=4G tmpfs /tmp/ramdisk/
檢查用指令:
df -h
Fastest way to create ramdisk in Ubuntu/Linux
https://www.linuxscrew.com/fastest-way-to-create-ramdisk-in-ubuntulinux