It just needs a folder with files.gcmartin wrote:QuestionCurious
- Does the program that will use this folder expect something that looks like an HDD with a filesystem?
- Or is it just looking for a folder with files?
- And is the mount command simply a means of carving out a slice of RAM set aside permanently for Music which does NOT swap versus allowing the folder to be dynamic or mounted to backstore in SWAP when not in use? For example
Code: Select all
#mount the ramdisk mount -F tmpfs -o size=${SIZE}m SWAP "$MOUNTPOINT"
The Linuxsampler software loads its configuration from a text file which sets up all the channels and loads the paths of the .gig files for that instrument. Linuxsampler then pre-caches a part of each file. (My instrument will have 20 channels but some can get much larger.)
As the instrument is played, if the particular note that is needed is not already cached, it is streamed from the file on disk. This allows sample sets which are much larger than available RAM to be used. My advantage is that my files are under 2GB. Some sample sets are MUCH larger. It is this streaming time which can be sometimes problematic.
So there is never any writes to the files and they need to be available at all times. Having them in RAM means that the HDD would not be needed (apart from a small save file) after startup and copying. So the first part of you last point is what I need.
Cheers
GrahamW