From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19644 invoked from network); 31 Dec 2023 21:02:26 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 31 Dec 2023 21:02:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 9FF6E43E64; Mon, 1 Jan 2024 07:02:21 +1000 (AEST) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by minnie.tuhs.org (Postfix) with ESMTPS id 05E0043E63 for ; Mon, 1 Jan 2024 07:02:14 +1000 (AEST) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a2335397e64so915206866b.2 for ; Sun, 31 Dec 2023 13:02:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1704056531; x=1704661331; darn=tuhs.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ayxklN9x6b8WEA1TGxWvmMDtu6Q/9aopQbBEBPtNdDo=; b=rm6cipXsRZJMJKwQKq3hyX7mIMl9zqmrvZl6lSb1ojRNNFh05avlw9k1LZ9/JK+wzW c7YufLuPNWe9Mf3PmwfflVbVaMQ4dph0gyscxVVN4h92tzqnuD7FmG5VirN/XAdKBrg3 NfGxDWZei5CfbkbSeV5oWLX+VznE163ZXRxTVq0Hv3GsFZair8XSu8qVgKtAoo921OpE a9qQwtwrE63chUvG5WaOz+Nl5qMVGQlJ8nRzCO8RMnborw+AP/W97a8h0NIwQOp4HkRZ j4+W2kGEYXv4v/kZ24cCZWCRslIs4TR2k63uM6pJ6tr7VwkYV0rbDGHezl+24M8iw/Of hKaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704056531; x=1704661331; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ayxklN9x6b8WEA1TGxWvmMDtu6Q/9aopQbBEBPtNdDo=; b=QR1zj/45TuAVS00/o9wc1qjWSlJaIz3s3Q9QbKOErCA8nFXJtxvv2pEvR2YGZ2cW1y 4V+rmyD68/cam6onl7EY8K0n2yfMGEAHYm/huzrWGAVN6zT6EuAK0fOlCMhXPkTB1HEP aCrddZN2DQZQRRTx+1BvxF35M36ZTSonUuriY2q3b6CQ69es+MjG0CORo8V4WSa/g0t9 5AC9C6isAby7MSfAhN1gTwzpKiNBzPe/WLl5RZoB19PNLwQA79V6cbncnh4ekpfZVV7y gAygwwL0IKvrZTDOlcptjGGeJEP9KkkuoJA18nAHx+R17lLxdbCUazua4q3fByUBi9lu ZThA== X-Gm-Message-State: AOJu0YyIC2bhr2ePB4w/opkVS/4D+ePO8dgSWw+7fGG0UgZTHDoiTssb wfD4paUsIHmPmG9keaONYuI+muFJxxQeA3Koo3Xy7QqNi1jeTw== X-Google-Smtp-Source: AGHT+IHu9//cDIBSF4u5ZXyf2BtSWmcGa1j5M98ZoLSP6Fio0HJeNnX11X4tL6dIeqpme4P6q6QmxFAWjmCJtlLocO4= X-Received: by 2002:a17:907:2cf4:b0:a26:8d18:565b with SMTP id hz20-20020a1709072cf400b00a268d18565bmr5668478ejc.60.1704056531411; Sun, 31 Dec 2023 13:02:11 -0800 (PST) MIME-Version: 1.0 References: <6470c59f-a1e5-418f-803d-76bcd761f530@tnetconsulting.net> <202312311738.3BVHctA1018336@freefriends.org> <202312312027.3BVKRK5d049733@ultimate.com> In-Reply-To: <202312312027.3BVKRK5d049733@ultimate.com> From: Warner Losh Date: Sun, 31 Dec 2023 14:02:00 -0700 Message-ID: To: Phil Budne Content-Type: multipart/alternative; boundary="0000000000003b7bff060dd494a2" Message-ID-Hash: XOXRMOMNYHK3K4FK2LV7FFQEAN4HDAHZ X-Message-ID-Hash: XOXRMOMNYHK3K4FK2LV7FFQEAN4HDAHZ X-MailFrom: wlosh@bsdimp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org, gtaylor@tnetconsulting.net X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Question about BSD disklabel history List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --0000000000003b7bff060dd494a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Dec 31, 2023 at 1:27=E2=80=AFPM Phil Budne wrot= e: > arnold@skeeve.com wrote: > > I am guessing that the original conventions date back to > > V7 or 32V, but one would have to go looking at code to be sure. > > Looking at the hp (RP-04/5/6) man page in V7, 32/v, and 3bsd the > convention was rpN, where 0 <=3D N <=3D 7 were partitions on the first > drive, and rp8 was the first partition on the second drive. rp0 was > root, rp1 was swap, rp2 and rp3 (in the v7 man page) are unassigned. > > The rpNx convention, where N is the drive number, with "c" as the > whole disk is present in the 4.1BSD hp(4) man page. > This was just a change to MAKEDEV. The kernel used the same minor number encoding. 4BSD still used the V7 make script in /dev, but at some point before 4.1cBSD (I don't have the 4.1BSD exploded locally) it changed, both in name from MAKE to MAKEDEV and to start the [a-h] suffix for partitions. Warner --0000000000003b7bff060dd494a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Dec 31, 2023 at 1:27=E2=80=AF= PM Phil Budne <phil@ultimate.com> wrote:
arnold@skeeve.com w= rote:
> I am guessing that the original conventions date back to
> V7 or 32V, but one would have to go looking at code to be sure.

Looking at the hp (RP-04/5/6) man page in V7, 32/v, and 3bsd the
convention was rpN, where 0 <=3D N <=3D 7 were partitions on the firs= t
drive, and rp8 was the first partition on the second drive.=C2=A0 rp0 was root, rp1 was swap, rp2 and rp3 (in the v7 man page) are unassigned.

The rpNx convention, where N is the drive number, with "c" as the=
whole disk is present in the 4.1BSD hp(4) man page.
This was just a change to MAKEDEV. The kernel used the same mi= nor
number encoding. 4BSD still used the V7 make script in /dev, = but at some
point before 4.1cBSD (I don't have the 4.1BSD exp= loded locally) it changed,
both in name from MAKE to MAKEDEV and = to start the [a-h] suffix for
partitions.

Warner
--0000000000003b7bff060dd494a2--