From: "jds" <jds@soltis.cc>
To: linux-kernel@vger.kernel.org
Subject: problems in kernel 2.4.20 stat() seems to return always size zero for any fifo (named pipe)
Date: Thu, 6 Mar 2003 12:22:02 -0600 [thread overview]
Message-ID: <20030306180838.M2529@soltis.cc> (raw)
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.
next reply other threads:[~2003-03-06 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 18:22 jds [this message]
2003-03-06 19:21 ` problems in kernel 2.4.20 stat() seems to return always size zero for any fifo (named pipe) Richard B. Johnson
2003-03-07 18:58 ` jds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030306180838.M2529@soltis.cc \
--to=jds@soltis.cc \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox