Re: [linux-audio-user] jackd and /tmp

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Mon Mar 12 2007 - 23:11:58 EET

On 3/12/07, Eric Dantan Rzewnicki <eric@email-addr-hidden> 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
Received on Tue Mar 13 00:15:03 2007

This archive was generated by hypermail 2.1.8 : Tue Mar 13 2007 - 00:15:03 EET