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

jds (
Thu, 6 Mar 2003 12:22:02 -0600


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:

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
More majordomo info at
Please read the FAQ at