problems in kernel 2.4.20 stat() seems to return always size zero for any fifo (named pipe)

From: jds (jds@soltis.cc)
Date: Thu Mar 06 2003 - 13:22:02 EST


 Hi:

I have a problem using stat() with kernel 2.4.20
The size of ANY fifo is always 0.
There is no backward compatibility.
Probably it is a kernel bug in this particular version.
The problem shows up when using the ls, stat commands.

How reproducible:
Always

Steps to Reproduce:
1. mkfifo xx
2. cat > xx &
3. cat < xx
4. ^Z
5. echo "abcd" > xx

Actual Results: prw-rw-r-- 1 kostadin kostadin 0 Feb 21 13:54 xx

Expected Results: prw-rw-r-- 1 kostadin kostadin 5 Feb 21 13:54 xx

In Kernel 2.4.18-X the RedHat work perfect, e inclusive in 2.4.20-X the Redhat
  beta 8.0.94

Helpme please.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:33 EST