Rafael Avila de Espindola via llvm-dev
2017-Nov-13 19:48 UTC
[llvm-dev] Experiment on how to improve our temporary file handing.
Davide Italiano <davide.italiano at gmail.com> writes:>> I couldn't find any support for this on FreeBSD. >> > > AFAIK FreeBSD supports some variant of /proc that should map Linux > (although the mapping isn't 1:1). > Does it lack support for this? Thanks for looking into this, BTW!O_TMPFILE is the main thing that seems to be missing. Cheers, Rafael
Davide Italiano via llvm-dev
2017-Nov-13 21:46 UTC
[llvm-dev] Experiment on how to improve our temporary file handing.
On Mon, Nov 13, 2017 at 11:48 AM, Rafael Avila de Espindola <rafael.espindola at gmail.com> wrote:> Davide Italiano <davide.italiano at gmail.com> writes: > >>> I couldn't find any support for this on FreeBSD. >>> >> >> AFAIK FreeBSD supports some variant of /proc that should map Linux >> (although the mapping isn't 1:1). >> Does it lack support for this? Thanks for looking into this, BTW! > > O_TMPFILE is the main thing that seems to be missing. >It doesn't seem unreasonable to ask FreeBSD to implement this (at least for ufs/zfs), maybe Ed/Kostik have thoughts about it. Thanks, -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare
Konstantin Belousov via llvm-dev
2017-Nov-13 23:17 UTC
[llvm-dev] Experiment on how to improve our temporary file handing.
On Mon, Nov 13, 2017 at 01:46:32PM -0800, Davide Italiano wrote:> On Mon, Nov 13, 2017 at 11:48 AM, Rafael Avila de Espindola > <rafael.espindola at gmail.com> wrote: > > Davide Italiano <davide.italiano at gmail.com> writes: > > > >>> I couldn't find any support for this on FreeBSD. > >>> > >> > >> AFAIK FreeBSD supports some variant of /proc that should map Linux > >> (although the mapping isn't 1:1). > >> Does it lack support for this? Thanks for looking into this, BTW! > > > > O_TMPFILE is the main thing that seems to be missing. > > > > It doesn't seem unreasonable to ask FreeBSD to implement this (at > least for ufs/zfs), maybe Ed/Kostik have thoughts about it.Can you please explain, how exactly O_TMPFILE functionality you asking for relates to the /proc ? Do you want to re-link O_TMPFILE-opened inodes into named files ?