Re: File Descriptors & Linux 2.0

Matthew S. Crocker (matthew@crocker.com)
Tue, 25 Jun 1996 14:17:35 -0400 (EDT)


On Tue, 25 Jun 1996, David S. Miller wrote:

> From: matthew@crocker.com (Matthew S. Crocker)
> Date: 25 Jun 1996 11:09:16 GMT
>
> I have changed NR_OPEN & NR_FILES to 1024 in /usr/include/linux/??.h
>
> You can also echo numeric values into:
>
> /proc/sys/kernel/file-max
> /proc/sys/kernel/file-nr

What about the NR_OPEN in limit.h and the posix_types.h ?

Can I just

echo 2048 > /proc/sys/kernel/file-max

will the kernel complain?

-Matt