Re: [PATCH] mktempd: silence dd usage

2011-12-02 Thread Jim Meyering
Eric Blake wrote: ... > But the mktempd script requires -p: > > d=`env -u TMPDIR mktemp -d -t -p "$destdir" "$template" 2>/dev/null` \ > > and FreeBSD mktemp lacks that: > > usage: mktemp [-d] [-q] [-t prefix] [-u] templat ... >mktemp [-d] [-q] [-u] -t prefix > > in other words, since the

Re: [PATCH] mktempd: silence dd usage

2011-12-02 Thread Eric Blake
On 12/02/2011 06:18 AM, Pádraig Brady wrote: > On 12/02/2011 01:06 PM, Eric Blake wrote: >> On 12/02/2011 03:24 AM, Jim Meyering wrote: >>> Eric Blake wrote: When running a testsuite on FreeBSD, I saw a lot of: >>> >>> For the record, what version of FreeBSD was that? >>> I see that at le

Re: [PATCH] mktempd: silence dd usage

2011-12-02 Thread Pádraig Brady
On 12/02/2011 01:06 PM, Eric Blake wrote: > On 12/02/2011 03:24 AM, Jim Meyering wrote: >> Eric Blake wrote: >>> When running a testsuite on FreeBSD, I saw a lot of: >>> >> >> For the record, what version of FreeBSD was that? >> I see that at least 9.0-BETA3 does have /usr/bin/mktemp. > > freebsd6

Re: [PATCH] mktempd: silence dd usage

2011-12-02 Thread Eric Blake
On 12/02/2011 03:24 AM, Jim Meyering wrote: > Eric Blake wrote: >> When running a testsuite on FreeBSD, I saw a lot of: >> > > For the record, what version of FreeBSD was that? > I see that at least 9.0-BETA3 does have /usr/bin/mktemp. freebsd64 8.2-RELEASE -- Eric Blake ebl...@redhat.com

Re: [PATCH] mktempd: silence dd usage

2011-12-02 Thread Jim Meyering
Eric Blake wrote: > When running a testsuite on FreeBSD, I saw a lot of: > > 1+ records in > 0+1 records out > 10 bytes transferred in 0.63 secs (158875 bytes/sec) > > literring the testsuite, and traced it to the fact that we > were silencing one, but not the other, dd usage in our fallback. >

[PATCH] mktempd: silence dd usage

2011-12-01 Thread Eric Blake
When running a testsuite on FreeBSD, I saw a lot of: 1+ records in 0+1 records out 10 bytes transferred in 0.63 secs (158875 bytes/sec) literring the testsuite, and traced it to the fact that we were silencing one, but not the other, dd usage in our fallback. * build-aux/mktempd (rand_bytes)