Voelker, Bernhard wrote: > Eric Blake wrote: > >> +if test -w /dev/full && test -c /dev/full; then > > just a side note: > /dev/full seems to be broken on some (old?) kernels: > > $ ls -l /dev/full > crw--w--w- 1 root root 1, 7 2009-08-17 09:55 /dev/full > $ uname -a > Linux linx2 2.6.16.60-0.23-smp #1 SMP Thu May 15 06:38:31 UTC 2008 i686 > i686 i386 > $ echo "Hello world" > /dev/full
That's surprising. It's not as if that device has a lot to do :) Perhaps it's an issue with bash? Could you run: env printf "hello\n" >/dev/full && echo "/dev/full is not full" cheers, Pádraig.