From nobody Tue Sep 2 19:26:53 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cGbNC40xWz65GKm for ; Tue, 02 Sep 2025 19:27:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cGbNC1ngjz3hhq for ; Tue, 02 Sep 2025 19:27:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-b4c53892a56so4947483a12.2 for ; Tue, 02 Sep 2025 12:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1756841224; x=1757446024; darn=freebsd.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=2r5EHqyZ+YZSqXpeBMBR+5ZjBZ66vFlSuk3XmQ2/Yv4=; b=vMX3rCPjZNmMc43dWkesvfmgA/nxkrn7kEaI+aI+X9v6dQ/gYrphc0uzlrvqFRuSH0 8mTLSthjxAl+kDXgk0teU8x+FVGqBSS+Lq84bs5d8iko1Ag/rBtJM6SXmnSoayoWwtFM 0qHQTNsJL6+Q422EvA8Xb8jPHQjB3DrKI9gn+B76epqbObOJHdnvKRPckHSAQGVL7Dlx ArsTtgNS5ZWc0agkdEYXI7PNH+nj+aWbmT1Q5bVXcLf8BHQuA25vUWpg2VaHFcsNxxIl 1RqO8gwImFZ8y3QjirAuilacqA8STJYApQ0EYaYDilLqMWvT+UByzqXNdOj9R2tTTjR5 9uXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756841224; x=1757446024; 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=2r5EHqyZ+YZSqXpeBMBR+5ZjBZ66vFlSuk3XmQ2/Yv4=; b=nYL3aMGV5bX/OPo/EVz3wqIIBB1Dh+d45iSD2ARvvSYGcWM0VHw6XFgUHX6xu8bNVT ay/rET1pqEdiKG0QHBuOiGh7dRzUQ1Td/PS04aUoq9EZ1wF4kFsZ/bx4Zmr2Tvvi09cf WUIY+fCVmDbkJ0/TD9wC1RVqsCYZw+apDQJPVwC/ufv7ku8YsSxbbz3Fyr5g5FFcMOyt iBkmNmXNBSW8xw+QJLzsibbxy/VPrpqjuxuoVRrKzkXn6MapKzZvvHab0HLSnYCOc3SD WRz1ysvJ+oqEF5bUMXYZXQPfvuynhIJp6g1lssjZboVBdeoyxU+w+eskSKVPTBF1INYY MfwA== X-Gm-Message-State: AOJu0YwDSpOmKxAUmBV3E11hIiDe8tTgFEt6p+38/8optxtNlTAw3t+u wxrQTXtIJtsmRCffIOqfgBFheWj8cpymwzPlOjNY+o3ksosCdckI/Y0r0z6aperdBpvYSnDwXPR VWU+Ab0ugwqEuzm9Mw5aBFJUsRLWZzOjgtruhlER0DSmqq7y99Q5TGRQ= X-Gm-Gg: ASbGncsC3bRDHVWVMF3hoVtBdXXuUQb4ezId08X4R+BA6TFfogE85ZMhvC0p6lILmkB 4Yvicc8TOdGKtxgmqFp2tqaY+IWr4qrfgWVuWvr5RPiMCIaMEOU1/N1+pKgGdvZbbbjP1Xp8MTQ U7LFP772xbSCWHM0szvr5Tlh2ZQly3+MMK0Wye9haauDP7c4FT1v9/RRd6EIgWBRoqXwg+fGv6G VRc4j7AF6ClpPdkDQ4VswnSTC32XMrPpeGqHcs= X-Google-Smtp-Source: AGHT+IFcIixKyEPD+u+PSGPnVCFhge1inIJefD51pxAJmVHxTrpHUuB3Jzv5+Qc+JeCzEYGDvf92fNxHL2BzEneDaH4= X-Received: by 2002:a17:90b:28cf:b0:325:e89:e59d with SMTP id 98e67ed59e1d1-328156c61c7mr17592089a91.23.1756841224626; Tue, 02 Sep 2025 12:27:04 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <7b384ac0-9b24-43a4-bf63-012d745155a7@gmail.com> <18e1a7e9-07d8-43a2-96af-0acdab6c2920@gmail.com> <98890564-ad8f-411a-9c00-45326a9d6ff5@gmail.com> In-Reply-To: <98890564-ad8f-411a-9c00-45326a9d6ff5@gmail.com> From: Warner Losh Date: Tue, 2 Sep 2025 13:26:53 -0600 X-Gm-Features: Ac12FXzvicHuL4OF1KMPl9kmziVDWDC8vDQwKv0MiEvs0d2e-muTKzn1y3sYe-s Message-ID: Subject: Re: Using a recovery partition to repair a broken installation of FreeBSD To: Graham Perrin Cc: FreeBSD-CURRENT Content-Type: multipart/alternative; boundary="0000000000001ef6b4063dd679d8" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cGbNC1ngjz3hhq --0000000000001ef6b4063dd679d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 2, 2025 at 12:53=E2=80=AFPM Graham Perrin wrote: > On 01/09/2025 02:58, Graham Perrin wrote: > > An enhancement to bsdinstall could, before creation of the partition > > table, allow the user to specify an amount of space to be left free at > > the end of a device =E2=80=A6 > > > For now, short term, is the (simple) free space idea attractive? > > Longer term: I'm not averse to more complex enhancements around e.g. > /rescue/, however I _do_ like the idea of free space. > > Freedom for the user to do whatever they want. They might, or might not, > want to use the space for the content of > FreeBSD-15.0-RELEASE-amd64-memstick.img =E2=80=A6 and so on. Maybe this o= verlaps > with ZFS-specific bsdinstall report > . > Things are small enough, I'd rather just create it in the ESP directly. Special reserved space on disks are nothing but a pain. Warner --0000000000001ef6b4063dd679d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Sep 2, = 2025 at 12:53=E2=80=AFPM Graham Perrin <grahamperrin@gmail.com> wrote:
On 01/09/2025 02:58, Graham Perrin wrote:<= br> > An enhancement to bsdinstall could,=C2=A0before creation of the partit= ion
> table,=C2=A0allow the user to specify an amount of space to be left fr= ee at
> the end of a device =E2=80=A6


For now, short term, is the (simple) free space idea attractive?

Longer term: I'm not averse to more complex enhancements around e.g. /rescue/, however I _do_ like the idea of free space.

Freedom for the user to do whatever they want. They might, or might not, want to use the space for the content of
FreeBSD-15.0-RELEASE-amd64-memstick.img =E2=80=A6 and so on. Maybe this ove= rlaps
with ZFS-specific bsdinstall report
<https://bugs.freebsd.org/bugzilla/show= _bug.cgi?id=3D242983>.

Things ar= e small enough, I'd rather=C2=A0just create it in the ESP directly. Spe= cial reserved space on disks are nothing but a pain.

Warner
--0000000000001ef6b4063dd679d8--