From: Matthew Gregan <kinetik-QufbIeIr5AY@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: fcntl(2) error: pipe-size-max vs pipe-max-size
Date: Tue, 14 Feb 2012 13:04:41 +1300 [thread overview]
Message-ID: <20120214000441.GF15858@flim.org> (raw)
Hi,
In the man page for fcntl(2), within the paragraph discussing F_SETPIPE_SZ,
it is claimed that the maximum size for a pipe is determined by the value of
/proc/sys/fs/pipe-size-max. The proc path is incorrect--on my current
machine (2.6.35.14-106.fc14.x86_64) and in the latest kernel source
(http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=kernel/sysctl.c;h=f487f257e05e4f1dc8836ded96ca36556b048706;hb=HEAD#l1523),
the proc path is /proc/sys/fs/pipe-max-size.
Cheers,
-mjg
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2012-02-14 0:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 0:04 Matthew Gregan [this message]
[not found] ` <20120214000441.GF15858-QufbIeIr5AY@public.gmane.org>
2012-03-24 3:24 ` fcntl(2) error: pipe-size-max vs pipe-max-size Michael Kerrisk (man-pages)
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=20120214000441.GF15858@flim.org \
--to=kinetik-qufbieir5ay@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).