Thread (1 message) 1 message, 1 author, 2012-03-24

Re: fcntl(2) error: pipe-size-max vs pipe-max-size

From: Michael Kerrisk (man-pages) <hidden>
Date: 2012-03-24 03:24:47

Hello Matthew,

On Tue, Feb 14, 2012 at 1:04 PM, Matthew Gregan [off-list ref] wrote:
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.
Thanks for the report. Of course you are right, and this is fixed for
man-pages-3.38.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help