[linux-audio-user] jackd and /tmp

Lee Revell rlrevell at joe-job.com
Mon Mar 12 17:11:58 EDT 2007


On 3/12/07, Eric Dantan Rzewnicki <eric at zhevny.com> wrote:
> On Mon, Mar 12, 2007 at 08:48:14PM +0100, Atte André Jensen wrote:
> > Lee Revell wrote:
> >
> > >Yes - compile it to use /dev/shm.
> >
> > I'm doing that as I type.
> >
> > But shouldn't that be possible to specofy as an runtime option? "jackd
> > --help" seems to suggest no, however the name of the config option
> > "--with-default-tmpdir" suggests that is merely a default dir hence that
> > some other dir can be specified later (=at runtime)...
>
> When you build jack you are building both jackd, the server, and
> libjack, the library that clients use to talk to the server. Both need
> to know where the tmpdir lives because they use it to communicate with
> each other. Hence, it is a compile time option.

I think the process could be improved by defaulting to /dev/shm if it
exists then falling back to /tmp otherwise.  There are (old) systems
without /dev/shm, but I have not seen any where /dev/shm exists but is
not a tmpfs.

Lee



More information about the Linux-audio-user mailing list