From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a8506853 for ; Wed, 22 Jan 2020 23:35:37 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 0DBD29C1FF; Thu, 23 Jan 2020 09:35:36 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 77A1C9C14A; Thu, 23 Jan 2020 09:35:05 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bsdimp-com.20150623.gappssmtp.com header.i=@bsdimp-com.20150623.gappssmtp.com header.b="rFKzfhmB"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 701279C104; Thu, 23 Jan 2020 09:35:02 +1000 (AEST) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by minnie.tuhs.org (Postfix) with ESMTPS id 775399C102 for ; Thu, 23 Jan 2020 09:35:01 +1000 (AEST) Received: by mail-qk1-f177.google.com with SMTP id g195so195287qke.13 for ; Wed, 22 Jan 2020 15:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iD2yO0i9UZphFLEU6iwLeuUL2PKdnbufeJX+LzfCIuI=; b=rFKzfhmB6HB678LU21sxf4Gqj9On96xNWZwcxM//iigJ5C0RVh/0vEFg73gdZiEXND UqGM79eW0P36n+suTRt+lF38vJS6WPNY3gZcunwrJ4mKzybebmLyxjdwXjOCoVWNHmGU byg3QiDMc13+EmPhEaS1XFAiCwmJ9jkJ7+NJarXLpL3u/irip5EXbl6oQTtP0hxAkKIS Q0irAN/H5msTLXQRRfGdPf1EVJpbONPval/hducGL56BcV/LpUit+B4z1JOEm7U3aeDG r5qe3rearu0mOBg5dHoxhciEOTYZRm7xIRUoD91z7eUKk/l9KS7e5DKReT1Xj2JIRdZd c6Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iD2yO0i9UZphFLEU6iwLeuUL2PKdnbufeJX+LzfCIuI=; b=Y8oqLE/DIfQ6WjcSJ96xK7HvWdaCcBPOMHcs+eAV+1isyJ7DdYztU3z32Q9dHb+cfh ZWtHI7lM7Ds/sBHGbDCgCFHrDDgYadbk+fL8H5z335hr149icZL3RqFIlYIgZ67Ax4Fy 8L45EfCRWo4ceHDNFtjNUOqJAW6NEi03LsmPqnzQkT/BhrV/blgTiVdUuQDlAkq/DaSG XIOwcAqpS2xpGT09TLu5e6Q3ewnicVSn5ZZg1FB6ksHvNqHnZAbK3O3D1umbtQLy1cJo igL3y16ykKhls/yzMXOVJjhnV3VH1ffqG9ERTzBgkQ+hDbD4hQdgGj5OUa/O23e6n5nh Fnbg== X-Gm-Message-State: APjAAAWbD82GYIlVtUqXHl9zJSyD7R0igtDluLh9HAfIN9Kb8DWAt1/y 0/8YP8aB4VJn9i40rSik1Zhc4tJNjUdlw3IVSHfeNmWNvh8= X-Google-Smtp-Source: APXvYqzFdu9szZVZ0Kb6mjkeLoHAnpSSKU2+7r93gsbbSZWxsnr8a6paE7C/JS/KkQrzR/zfhSz1t1DApqKbTMznaUU= X-Received: by 2002:a05:620a:94f:: with SMTP id w15mr12751544qkw.380.1579736100463; Wed, 22 Jan 2020 15:35:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 22 Jan 2020 16:34:49 -0700 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="0000000000001b7c2f059cc2f911" Subject: Re: [TUHS] Unix quix X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000001b7c2f059cc2f911 Content-Type: text/plain; charset="UTF-8" On Wed, Jan 22, 2020 at 1:42 PM Clem Cole wrote: > BTW: There is another hint in CAC 155/RFC 681. The line on page 2 that > reads: "since the user is allowed only sixteen open files." My memory > is V6 allowed more than 16, over 20 is my memory; but we would have to look > at the structure to see what it is defined as. > Looking at the source in the archives for V5, we see that param.h has "#define NOFILE 15" and for V6 we see "#define NOFILE 15 /* max open files per process */". V7 has "#define NOFILE 20 /* max open files per process */" though, so maybe you are thinking of V7 bumping the limit to 20? Or maybe it was a local change for MIT, since param.h could be edited... But in any event, I think this means that the CAC 155 reference to 16 files just means V6 or earlier. However, I just noticed there's more direct evidence for it being based on V5. On page 2 of CAC 155 we see "For further information concerning the different I/O calls the reader is directed to The UNIX Programmer's Manual, fifth edition, K. Thompson and D. M. Ritchie, June 1974." BTW, CAC 155 is the PDF we have linked from the early network page. I hadn't noticed before now, but seeing the missing page refreshes my recollection. Warner --0000000000001b7c2f059cc2f911 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Jan 22, 2020 at 1:42 PM Clem = Cole <clemc@ccc.com> wrote:
BTW: There is another = hint in CAC 155/RFC 681.=C2=A0 The line on page 2 that reads: "= since the user is allowed only sixteen open files."=C2=A0 =C2= =A0My memory is V6 allowed more t= han 16, over 20 is my memory; but we would have to look at the structure to= see what it is defined as.=C2=A0 =C2=A0=C2=A0

Lookin= g at the source in the archives for V5, we see that param.h has "#define NOFILE =C2=A015" and for V6 we see "#define NOFILE 15 = /* max open files per process */". V7 has "#define NOFILE 20 /* = max open files per process */" though, so maybe you are thinking of V7= bumping the limit to 20? Or maybe it was a local change for MIT, since par= am.h could be edited... But in any event, I think this means that the CAC 1= 55 reference to 16 files just means V6 or earlier.

=
However, I just noticed there's more direct evidence for it b= eing based on V5. On page 2 of CAC 155 we see

&quo= t;For further information concerning the different I/O calls the reader is directed to The UNIX Programmer's Manual, fifth edition, K. Thompson and D. M. Ritchie, June 1974."

BTW, CAC 155 is the= PDF we have linked from the early network page. I hadn't noticed befor= e now, but seeing the missing page refreshes my recollection.
<= div>

Warner
--0000000000001b7c2f059cc2f911--