On 12/12/2013 05:02, Greg Wooledge wrote:
If bash is using named pipes of the form /var/tmp/sh-np-* or /tmp/sh-np-* then the compile-time options or detection must have failed to find a usable/dev/fd/ subsystem. (My HP-UX workstation is littered with sh-np-* FIFOs in BOTH /tmp and /var/tmp.)
BSDs traditionally opposed to /dev/fd and /proc file systems. bash configure specifically tests for /dev/fd/3 and notes this is to detect FreeBSD, which only implements /dev/fd/{0..2}.
I also have a lot of /tmp/sh-np-*. bash leaves them when race condition doesn't occur. And when it occurs, oddly, this is because the premature deletion of /tmp/sh-np-*
If they would keep those fifos in deleted state as much of the time as possible, such leak would be minimal.
Yuri