[linux-audio-user] Re: Current merrits of tmpfs with Jack
Russell Hanaghan
hanaghan at starband.net
Sat Jan 7 11:53:56 EST 2006
Jesse Chappell wrote:
>On 1/7/06, Russell Hanaghan <hanaghan at starband.net> wrote:
>
>
>
>> Prerequisites
>>
>> * 2.4, 2.5 or 2.6 series kernel with tmpfs turned on (CONFIG_TMPFS)
>> * Shared memory file system mounted on /dev/shm. add the following
>> to /etc/fstab to get it mounted at boot:
>>
>> shmfs /dev/shm shm defaults 0 0
>>
>>
>> (Note: you may have to make the /dev/shm directory)
>>
>><unsnip>
>>
>>Is this the actual use of /dev/shm or can it serve dual purpose and be
>>also set up as tmpfs for fifo's?
>>
>>
>
>Yes this is the actual use of /dev/shm. In many distros you will find
>such a line already in the /etc/fstab. And yes, it can serve dual
>purpose.
>
>
>
>>Or...
>>
>>|# mkdir /mnt/ramfs|
>>
>>[edit /etc/fstab and add the following line]
>>
>>|none /mnt/ramfs tmpfs defaults 0 0|
>>
>>Then use --with-default-tmpdir=/mnt/ramfs to the JACK configure line
>>when you build it. No clients need to be recompiled.
>>
>>
>
>This is just an older alternative, not better.
>
>jlc
>
>
>
>
Thanks Jesse
More information about the Linux-audio-user
mailing list