![]() |
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????
|
Have you considered setting up a RAMDISK?
Cheers, Tink |
ramdisk
How would i set that up in linux?
|
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 Cheers, Tink |
All times are GMT -5. The time now is 01:07 PM. |