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 b2ce574c for ; Wed, 22 Jan 2020 23:43:19 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 512B19C202; Thu, 23 Jan 2020 09:43:18 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id BC50E9C104; Thu, 23 Jan 2020 09:42:49 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="gbMGIiE7"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 6F5459C104; Thu, 23 Jan 2020 09:42:47 +1000 (AEST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by minnie.tuhs.org (Postfix) with ESMTPS id C867C9C102 for ; Thu, 23 Jan 2020 09:42:46 +1000 (AEST) Received: by mail-qk1-f178.google.com with SMTP id g195so211971qke.13 for ; Wed, 22 Jan 2020 15:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hxmpNFLdwZptcrIzmrk72koAdNUdk+5OlH4AHM3+d3E=; b=gbMGIiE72LU0D+O8+1sZ10MqHxqL9/FDKOzq24mpe6b2Nlw3atPWS3GMnGxVC8pdwB u7fquqRXab/RdQRjQ0qW29nCiarO5mn6DXkq8vQHWDcYtH5ZiXsy75oz3xzSHI4zuPHa u062PnQErnu9sRHBZa6fYaeEcwtPzfcUznqCI= 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=hxmpNFLdwZptcrIzmrk72koAdNUdk+5OlH4AHM3+d3E=; b=V1J6n3wkTNpy7uoGiDcfStEpJv8RyhV9vyE89glOb5HTWTrmisLOvnCRAcKjHaQatw qRp6orp6+qgwNAhBOxQYqc2Vb6HgByZp2GuQMN3hLysmWnoRarpyygHL5rtM+HMmcyUQ A9t1moj3JIAsunY71mRlQP2U+YywCVpajX43ZR+fhjZqLXsbvWuwT6XPGwMrM7+lEvhD H81cY+sVNeqV2LKmanbR0oJgJoNls2wQBjzsB6uvAL5qSWA4TVk08sgt1ussr/zsPp8t ihOB9M/QcIp9v/pUPzXL6FIazQzeQtKNmkZGS1no0KOlpCRsVcU4seyd1MwBF6a//29z lqaw== X-Gm-Message-State: APjAAAUFj+SwOWkf9Sakyl3+3gmDf4PH2+Qf38aiO606clHxsqAl67rF R5epU8TYqkpcBGcVZFu9yNnoavt//53spAAIxdO7JA== X-Google-Smtp-Source: APXvYqzGeOsbK1mc6hF0KT9EOM2zfIFCHEoMdw2e6U+hbNYlbDPAD9HLgF7/2cNuM+27ZsMjbCFfLAOwFTnUNe2H4t8= X-Received: by 2002:a37:6346:: with SMTP id x67mr12981839qkb.476.1579736565679; Wed, 22 Jan 2020 15:42:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Clem Cole Date: Wed, 22 Jan 2020 18:42:34 -0500 Message-ID: To: Warner Losh Content-Type: multipart/alternative; boundary="000000000000d6195b059cc31410" 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" --000000000000d6195b059cc31410 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =F0=9F=91=8D On Wed, Jan 22, 2020 at 6:35 PM Warner Losh wrote: > > > 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 l= ook >> 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 "#d= efine > 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 an= y > event, I think this means that the CAC 155 reference to 16 files just mea= ns > V6 or earlier. > > However, I just noticed there's more direct evidence for it being based o= n > 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 > --=20 Sent from a handheld expect more typos than usual --000000000000d6195b059cc31410 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=F0=9F=91=8D

On Wed, Jan 22, 2020 at 6:35 PM Warner L= osh <imp@bsdimp.com> wrote:
=

=

= On Wed, Jan 22, 2020 at 1:42 PM Clem Cole <clemc@ccc.com> wrote:
BTW: There is another hint in CAC 155/RF= C 681.=C2=A0 The line on page 2 that reads: "since the user is allowed only sixteen open= files."=C2=A0 =C2=A0= My memory is V6 allowed more than 16, over 20 i= s my memory; but we would have to look at the structure to see what it is d= efined as.=C2=A0 =C2=A0=C2=A0
<= div>
Looking at the source i= n 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 pe= r process */" though, so maybe you are thinking of V7 bumping the limi= t to 20? Or maybe it was a local change for MIT, since param.h could be edi= ted... But in any event, I think this means that the CAC 155 reference to 1= 6 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 befor= e now, but seeing the missing page refreshes my recollection.
<= /div>

Warner
--
Sent from a handheld expect more typos t= han usual
--000000000000d6195b059cc31410--