Re: TMP_MAX

2015-01-20 Thread Ted Unangst
On Tue, Jan 20, 2015 at 14:46, STeve Andre' wrote: > Two questions: > > Is this a per process limit, or system, or per boot? > > Wouldn't FFS implode with even the 308M file limit, let alone 2 > gigafiles? It is not the number of tmp files one can create. It is the number of tmp file *names* t

Re: TMP_MAX

2015-01-20 Thread STeve Andre'
On 01/20/15 01:37, Ted Unangst wrote: Since everybody is having so much fun moving various MAX defines around, I thought I'd find one to play with. The C standard says TMP_MAX should be the number of filenames tmpnam() can create. Our current define is very old, and reflects an out

TMP_MAX

2015-01-19 Thread Ted Unangst
Since everybody is having so much fun moving various MAX defines around, I thought I'd find one to play with. The C standard says TMP_MAX should be the number of filenames tmpnam() can create. Our current define is very old, and reflects an outdated implementation. The correct number is p