From nobody Wed Nov 12 13:35:21 2025 X-Original-To: dev-commits-src-branches@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 4d64CY57Sdz6H0h5; Wed, 12 Nov 2025 13:35:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d64CY4K4nz3ppC; Wed, 12 Nov 2025 13:35:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762954521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V4rBlSNl5jCxQQ56eZTDLaOlK5CXtLMSnvzpZP+97oo=; b=jl9kA1c+5XX1+VZlZCfmY0r+MHBYec08RoTvQ5pZbuZZ6aW/V1cTJ2JGz4L6O7fCwQ4WHi pMuIFUjBWN9EkQKl6t9ehLStWrk6avO1CO0utI8b7hhRpa7z/jd0uUatyN7BDRzAskau8/ JPnfKtMlKux/LQuUke/Zs+pxvD+XQfwtkb1ebRojJl7DyEB9IKBaNJqyJnYcn/qfGbEzl3 gAhe2UkS/RZaB4W9JcC3virCatUJszpU/VsYsJ7Xh0Xk351PGZURnpBR+IyJQPbcYLxwvw 2T2YK3NgmhCAGIKKvi4vsHuYR5pa+2lOToewxVcq28xI1jZTrkJODxE9wGcCGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762954521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V4rBlSNl5jCxQQ56eZTDLaOlK5CXtLMSnvzpZP+97oo=; b=FTMMVVnjQ8v13whz5he8zOx9uNaSDh7MyVIiVZcP0CpQi3F5OHMlny29QZkOyoRu7Hswrj nRCFrMcyioQdFjUcIuluWbB40MT9tvA9qgZdhojoqCRAvaNc7s905hbnzHgglIc31hrQdX kRuEZYpXQsRiiJa4jXcMH8wFxPdGdwCzRD9yY18SebJO+kqPX2HJaMaI+xomWS8P2G6yhz UHls6UNtYgsWFXgfw5i5enBiBKhY1Zzm0YxBMHoqhGOM8Z+dtbvAdZP4aT5s3L7+vRyREZ Oq3jC5K4dwfZNaZLfQfvxqFDl73QeTW2Md8yLwQVzZM6mtmqIlMiPaJt8qe+3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762954521; a=rsa-sha256; cv=none; b=Qqf9qWcir8kLPOtgdI9/EuuV8kEC9SJhoYCu8JAMI8cmiAJhh96Qbt3wFiod711PwVpLQI /A9L+myd3d7kgkkkZf3PtUQhQX7i0+KVoKMjVVRKyWcQhyPF11KwpzqOPyGoUZC5FnFtty PE1leXo9LqE/KEjCFpQk0UI+DX78sP/L7ydsq9MMErKHVn4d9N5eeXWaI6xcz1Yaxf87ME lHxuThmUVrLIlo4yr1KWHvn1IoWT8nvVx0OC1Y2BZJ+3O+J4/MvyreRt+wnRYlDTi4Ssei mrufxvsrPhagAUHneXBMH0CjJlRkNb87Frso/ssZmKvi8AxuVFLJ4mkZEoDmTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d64CY3bjdzcy7; Wed, 12 Nov 2025 13:35:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5ACDZL57011553; Wed, 12 Nov 2025 13:35:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5ACDZL1q011550; Wed, 12 Nov 2025 13:35:21 GMT (envelope-from git) Date: Wed, 12 Nov 2025 13:35:21 GMT Message-Id: <202511121335.5ACDZL1q011550@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: e69669bcd7de - stable/14 - partedit: make minimum FreeBSD install size just under 1 GiB List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e69669bcd7decb1866484c454c45fd9d7fc4167d Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e69669bcd7decb1866484c454c45fd9d7fc4167d commit e69669bcd7decb1866484c454c45fd9d7fc4167d Author: Ed Maste AuthorDate: 2023-03-02 23:35:33 +0000 Commit: Ed Maste CommitDate: 2025-11-12 13:35:04 +0000 partedit: make minimum FreeBSD install size just under 1 GiB 1 GiB is a convenient disk image size for testing. It is also the installer's minimum size, but the minimum applies to the partition rather than the whole disk. Testing with a 1 GiB image resulted in the counterintuitive error "There is not enough free space on to install FreeBSD (1.0 GB free, 1.0 GB required)." Reduce the installer's minimum size slightly to support this case. Reviewed by: brd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38881 (cherry picked from commit 57e12d397387542b13f175d4c0b8b5adca198690) --- usr.sbin/bsdinstall/partedit/part_wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/partedit/part_wizard.c b/usr.sbin/bsdinstall/partedit/part_wizard.c index ba01e115bcf4..e0711efd47d5 100644 --- a/usr.sbin/bsdinstall/partedit/part_wizard.c +++ b/usr.sbin/bsdinstall/partedit/part_wizard.c @@ -40,7 +40,7 @@ #include "partedit.h" -#define MIN_FREE_SPACE (1024*1024*1024) /* 1 GB */ +#define MIN_FREE_SPACE (1023*1024*1024) /* Just under 1 GB */ #define SWAP_SIZE(available) MIN(available/20, 4*1024*1024*1024LL) static char *wizard_partition(struct gmesh *mesh, const char *disk);