-   Linux - Software (
-   -   Running a file from ram (

Bd22 01-30-2004 11:27 PM

Running a file from ram
I have a machine that constantly plays the same song in xmms over and over again is there anyway to make it stay in ram and not keep constantly re reading it off the hard drive????

Tinkster 01-31-2004 01:53 AM

Have you considered setting up a RAMDISK?


Bd22 01-31-2004 07:14 PM

How would i set that up in linux?

Tinkster 02-01-2004 02:05 AM

Ummm ...

Create a mountpoint.
mkdir /mnt/ramdisk

Create a file-system
mke2fs /dev/ramX
(Size defaults to what's given in kernel confiugration
[if any] - if it's a module you can change the size
during creation ... )

Mount it
mount -t auto /dev/ramX /mnt/ramdisk


All times are GMT -5. The time now is 01:07 PM.