I played with the ram disk on my Mac in Snow Leopard's terminal, but there is an icon for a ram disk on the desktop that makes it easier. Where on the Ubuntu menu in Karmic Koala can I find the ram disk that this creates? And can I save files directly from Open Office into the ram disk if I follow Panayara's code
I assume that I have to reinstall the ram disk each time I reboot--though comment on Ubuntu forums implies that Ubuntu has a ram disk in the directory dev/shm How do I mount that in Ubuntu so I can save files in it directly from Open Office or from one of the USB drives I have plugged in?
There's an easy way to create and mount a RAM disk in ubuntu explained here: http://www.techtach.org/using-and-mounting-a-ram-disk-in-ubuntu-the-easy-way
10 comments:
what is a ramdisk
A ramdisk lets you directly store files in physical memory as if it was on your hard drive.
How to set up a size of a ramdisk ?
How to set up a size of a ramdisk ?
sudo mkfs -t ext3 -q /dev/ram1 65536
sudo mkdir -p /ramdisk
sudo mount /dev/ram1 /ramdisk -o defaults,rw
change the number "65536" for a larger or smaller ramdisk, alter /dev/ram1 to another RAM device if you are creating multiple ramdisks
Is bad the following realization of a ramdisk ?
$ sudo mkdir /media/ramdisk
$ sudo mount -t ramfs -o size=64m ramfs /media/ram
Is it permanent?
I played with the ram disk on my Mac in Snow Leopard's terminal, but there is an icon for a ram disk on the desktop that makes it easier. Where on the Ubuntu menu in Karmic Koala can I find the ram disk that this creates? And can I save files directly from Open Office into the ram disk if I follow Panayara's code
sudo mkfs -t ext3 -q /dev/ram1 65536
sudo mkdir -p /ramdisk
sudo mount /dev/ram1 /ramdisk -o defaults,rw
I assume that I have to reinstall the ram disk each time I reboot--though comment on Ubuntu forums implies that Ubuntu has a ram disk in the directory dev/shm How do I mount that in Ubuntu so I can save files in it directly from Open Office or from one of the USB drives I have plugged in?
There's an easy way to create and mount a RAM disk in ubuntu explained here: http://www.techtach.org/using-and-mounting-a-ram-disk-in-ubuntu-the-easy-way
Post a Comment