From owner-freebsd-questions@freebsd.org Sun Aug 30 10:31:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04E323AD9F4 for ; Sun, 30 Aug 2020 10:31:37 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfV4S01pJz3Xmm for ; Sun, 30 Aug 2020 10:31:35 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=utf-8 Subject: Even more OT (was Re: (very OT) Ideal partition schemes (history of partitioning)) From: @lbutlr In-Reply-To: Date: Sun, 30 Aug 2020 04:18:46 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <703D410C-48D1-4111-A29D-F07EC1B1008D@kreme.com> References: To: FreeBSD X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BfV4S01pJz3Xmm X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-0.68 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.932]; FROM_HAS_DN(0.00)[]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.948]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.40)[-0.401]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 10:31:37 -0000 On 28 Aug 2020, at 23:19, Doug Hardie wrote: > Interestingly enough, OSX has recently gone to multiple partitions. = In this=20 Not exactly. macOS (n=C3=A9e OS X) boot drives have a single partition = formatted as APFS and then have multiple APFS volumes inside that = partition. For example, this is my boot drive: /dev/disk0 (internal, physical): #: TYPE NAME SIZE = IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk0 1: EFI =E2=81=A8EFI=E2=81=A9 = 314.6 MB disk0s1 2: Apple_APFS =E2=81=A8Container disk1=E2=81=A9 = 1.0 TB disk0s2 That the boot drive with one APFS partition on disk0s2 /dev/disk1 (synthesized): #: TYPE NAME SIZE = IDENTIFIER 0: APFS Container Scheme - +1.0 TB disk1 Physical Store disk0s2 And there is where that partition is mapped to disk1 1: APFS Volume =E2=81=A8Avalon - Data=E2=81=A9 = 599.7 GB disk1s1 2: APFS Volume =E2=81=A8Preboot=E2=81=A9 = 437.5 MB disk1s2 3: APFS Volume =E2=81=A8Recovery=E2=81=A9 = 1.3 GB disk1s3 4: APFS Volume =E2=81=A8VM=E2=81=A9 = 5.4 GB disk1s4 5: APFS Volume =E2=81=A8Avalon=E2=81=A9 = 15.0 GB disk1s5 6: APFS Snapshot =E2=81=A8com.apple.os.update-...=E2=81=A9 = 15.0 GB disk1s5s1 7: APFS Volume =E2=81=A8Mordred - Data=E2=81=A9 = 16.4 GB disk1s7 8: APFS Volume =E2=81=A8Mordred 11.0 GB = disk1s8 Volumes are not the same as partitions, for one thing they do not = reserve space for themselves (they CAN, it appears, but they do not by = default). Every volume on my boot drive has the same 326Gi of available = free space. Second, it is trivial to add and remove volumes (as you can = see with the APFS Snapshot volume). There are other advantages, but they start to blur the lines between = what is a volume feature and what is an APFS container feature. Avalon and Mordred are the System volumes containing the base OS = (Mordred is a clean install of the previous OS). The OS itself can "fold" directories on different volumes into one = directory, but if this is available to user I've not found it. If I = could, I would do that with the home folder on Mordred - Data so I would = not need to duplicate any files between the volumes. --=20 "Are you pondering what I'm pondering?" "I think so, Brain, but should we use dishwashing liquid or cooking oil?"