From nobody Mon May 25 21:25:21 2026 X-Original-To: stable@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 4gPTSS5cmBz6g1VG for ; Mon, 25 May 2026 21:25:28 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from CH4PR04CU002.outbound.protection.outlook.com (mail-northcentralusazolkn19013088.outbound.protection.outlook.com [52.103.20.88]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gPTSS09slz3R3c for ; Mon, 25 May 2026 21:25:27 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=KQ4fEOpQ; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 52.103.20.88 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DJzxGziKko2UV0CjeMqwOVyVMhqpkyjB6wF+j/8MBECFgFMgsgq+w2QaKLlk6FBt4ebOHqQwFDOXZRvJbI7iDVNbxU+JgGb71AjP86IxusCnl/QL497MqGzgIWUqD+DDcEFnoIUZNY2wLK9lgK5J6Hyu5taDSqo9jf4d2QvZjeDWJy9Nq1UygUBkChkMv4Iuez1SEjnIPwmFwpbEn7t9g5uXvABIDVPunSNZ1+7oSh5yoSBXWvHtscUal9alVTaHP+afOtoI1vBddBuhIlv9KEkGTSQ+jkFDB5dFAzH4Wx4TZzjNY+LLwOmHAzx3xPVMIRcx6wLAbA8LWKouvnWj9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OPxTtNqh4PS+Z4DMkTlT+SAeqV/qBvSNgpMAKOU3D/w=; b=A1TyHVZM3y8bfzrKjBxRfpO2ctc/bgcu5r60CPRq0VvagtNhfc87MIN1JYdmr8qVTeGW+v81KjWRT4S9qX4wBYcO47wdaDoeoKeb8fnBBfD5UWSjsDbnNcpwHGZ9C/drLG2krUI80cw71QdkD7+SyYLDtOIytNPb69DqagGW0piBx1roXIeeVO+MZ+CWDpQlofkM+gJzkc8eq/yM0xQV6fyxw/E3tLRCXt7y5YqOTk7weqQ6bQB+/v2Eo1jtl/EAYxthSgk7bn/MAlcBgqlfFrsinB60J3G+AcrNurPLX34IWxlmqANXVf5JEIJyCStiFYmTezcWBg64F3CSsSrA1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OPxTtNqh4PS+Z4DMkTlT+SAeqV/qBvSNgpMAKOU3D/w=; b=KQ4fEOpQuzIv+FNu/mEA5+ecnmFLxfW7nq1HFzhhQObxrEZV4YCddoyY02p9yDqYaMJdobYxU22EKgUX819ByT3XGpqtEcL0DN3Hu3ZqbdsQ2/cskY83iaCSlMfnXoNPkX4ztZRUB9cufgZl2GXhCP4i7GCjRQ0M9I14+jfI/O/pDkQAEvnGOXzmE0IzacUhDNOG8NWLzXofJGtvhtIKSQCRuKe/rCkL4kvP/9M/QJW+wCDzLbC75M8ReOBp2+KoVc6bY78juQ2HtjDOfLDOr7yqjLkwpv9lMxH3qw/PmLKv1iKj9nU3bhLWpE1SBQZ7TjX/8BOxG1+IHoCW09qynA== Received: from SA1PR11MB8811.namprd11.prod.outlook.com (2603:10b6:806:467::18) by DS4PPFEDAA4523C.namprd11.prod.outlook.com (2603:10b6:f:fc02::5f) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.48.20; Mon, 25 May 2026 21:25:25 +0000 Received: from SA1PR11MB8811.namprd11.prod.outlook.com ([fe80::5fae:75f1:3548:9369]) by SA1PR11MB8811.namprd11.prod.outlook.com ([fe80::5fae:75f1:3548:9369%3]) with mapi id 15.21.0048.016; Mon, 25 May 2026 21:25:25 +0000 Message-ID: Date: Mon, 25 May 2026 14:25:21 -0700 User-Agent: Mozilla Thunderbird Subject: Re: Proposal: Improve BE naming convention in freebsd-update install To: stable@freebsd.org References: <70da0c5b-c865-44e9-8c19-abb1cd779efe@shirt.ocn.ne.jp> <7a0f1e46-b18d-455d-9b1c-f93131dae0bb@interia.pl> Content-Language: en-US From: "Edward Sanford Sutton, III" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BL1P223CA0032.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:5b6::15) To SA1PR11MB8811.namprd11.prod.outlook.com (2603:10b6:806:467::18) X-Microsoft-Original-Message-ID: <1e66e4b9-4d32-4ea2-8a0a-cd59ba88e97f@hotmail.com> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA1PR11MB8811:EE_|DS4PPFEDAA4523C:EE_ X-MS-Office365-Filtering-Correlation-Id: 3444083a-7c9a-4b54-195f-08debaa422a9 X-MS-Exchange-SLBlob-MailProps: /UmSaZDmfYBx2NZK/Na8VVjBs4ZH7F13epTzeQXuH+n/0La3AcjJziJFw1f3HdhwfqqqddrmKpDXc9YoFqIfyRhboNioLKfUD9U7E23JAeUtHN7WTtCCIlY6XkNx9xUI1JmVTLEW67JWV+x2QhxAVTojVsxwTukggDK4bnecEHne1DuBJlIhjiiNua3MeIc5wXkNsXKYHrAtBYmF6ZezJtYjpX8ig7lg0C2MonOKeH4i498L7sh68pfDH0R9NKwchWMf6lTBGnFWTIOT6R/13xTCB7uk43TRNS/OY8CnEhxk9BL1uC7g3tzd1XOTpjZXpW6gMQDMdisWLw5l/2p8JrGypt8rnslMEPQ6X28Azdq3oVTjAh6CWhUbG82xuauz5CR94CDcTX6GXtl+hagqFqqpBpOGtKoQqW4gRCL0A4aHDTVKFGmG78bGxlU67fw314C1UQ/vtLB99Iri6uxvOjWPryjOA25+D0NkWfF7v1iak32lVSUestMUvjTd/HbOz0THcH49g/ydH8yFgX1SHwxqmlmn+3SMGVqJDMewy4omyLthf0Rancqv12Jn7C5pmXmXWBpQ5+WveSETv/x07wIrHGq3O9qW3MJDJbyMnxv6sFWj7bsga2siyTRW/AMe1k1CNnEUE64r2BepKNoQYWcx2e8sR46jUTMqKzZF5mrQ1nvoXIgTyYcykXwbuh6QoAIMgc0YOOeQi2EH5S3nkfZUtVOtGE4v2R4hieOvVONUn9EMdQwrFZBGjQKmmeuwsJOro9c68DPlG1Ef2QQ/maQSER0Vs5dcb5jonp2XfPxwzy/AWQb8MjEZJ2TyTYVipjjbFBsgI4Ts7e1WFErocg== X-Microsoft-Antispam: BCL:0;ARA:14566002|21061999006|8060799015|41001999006|39105399006|5072599009|24121999003|25031999004|22091999003|24021099003|19110799012|20031999006|12121999013|24071999003|23021999003|15080799012|6090799003|56899033|40105399003|3412199025|440099028|10035399007|25131999003|12091999003; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Q25Jdk5IaXdTZlFZaFUxNHZVbFduTEZHSURvNTlmaExZWkVwSWlRcjQ2czFT?= =?utf-8?B?VWVWTTNWMWtjUUwxOUNwUVRaakFPOEdlT0ptMGFQWU5FWVIweU81ekdBUWgz?= =?utf-8?B?dXhuTm1IRUs0blVmTVRtbEQ4eGtSeUpidEZubW9jTVY3dDAzNVA5L29IVHlD?= =?utf-8?B?NGYwbjB0SlRIQ2sxQWRXK2UrVzVDYXVoNGxJd1hURGdWei9wZHo4ZzNmUE5t?= =?utf-8?B?c3p1endjVHM4a0JTQXd2b1hsQi8yMysyeVlIKzNaK0NzTVBGRFoycXdkV0RF?= =?utf-8?B?MEFGd29FN3oxVzhXclU0ZTROcmpwbmdBU3BvZTZtZXRSeHhLdTNkd3g0UG53?= =?utf-8?B?ZUEySTRFTEdqV2NTaGVva29iY21pUmJ0UHhpaFFhVGsxaVNiT2c5aDlBdG5v?= =?utf-8?B?cVpDcG1ZYlprTit4cnRwSForcW5rRGZUQXk2Q2VLdTJ6bjFRUWZKdFM1NGRO?= =?utf-8?B?S2YzUHVmdUU0aURUNVMrMnR1eHpnWis0cm51a2pZR3dld2Q4WVVXWlY5Sith?= =?utf-8?B?M0FIQytSRjh5ODdHRnBuS2lhTVpBclNjbHEyUjhvZW95VjRmQmVneWhTTjM2?= =?utf-8?B?VFJaM1RRZ2VHem91alEwb0Y5c1JuRGxwQjl1bUJQOFIvSzZSNlFqRVJQam44?= =?utf-8?B?dTNGbklRNFhmeUwzR3Q4NFNlRG8wVy83NTkzSVBSVUtvajZBUStjcERuMzR5?= =?utf-8?B?QVFCeVNtQ2JpU3hQTWJDNHowV1phditHTnh4bFhJUUZpS3B1em1oWWliT1Zs?= =?utf-8?B?akNHaUdyQVVrYzBJWXlYdHFnbXhGbTJ2TzY4TC9tcjVFYy93TC9INWJIdGFK?= =?utf-8?B?N3UrVXRqTHoxYklpbTYvbk1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?utf-8?B?YlRPKzEwTTE4WUdUYnZ2dlArRFdoV0dHcUJKdmRINjhuRC9aTWdqRkF1Y0F0?= =?utf-8?B?M0plZGI0M3F2RzE0MlhnejFwMVFpYmtCZEZhQjZ6OFRiNWtFZlozVmtUWGJi?= =?utf-8?B?M1dDRGlCMHVuaWZLK3VPMStSMTlBTmwzb1ZVa256a1ppZkQ5VGZqOGFIODFG?= =?utf-8?Q?KPsH0mCNbcJbg?= X-OriginatorOrg: sct-15-20-9412-4-msonline-outlook-a6b68.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3444083a-7c9a-4b54-195f-08debaa422a9 X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB8811.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2026 21:25:25.6538 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS4PPFEDAA4523C X-Spamd-Result: default: False [1.64 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_REJECT(1.00)[signature check failed: fail, {[1] = sig:microsoft.com:reject}]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.81)[0.812]; NEURAL_HAM_SHORT(-0.67)[-0.667]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip4:52.103.0.0/17]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[hotmail.com]; RCVD_IN_DNSWL_NONE(0.00)[52.103.20.88:from]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:52.96.0.0/12, country:US]; MLMMJ_DEST(0.00)[stable@freebsd.org]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[52.103.20.88:from]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+] X-Spamd-Bar: + X-Rspamd-Queue-Id: 4gPTSS09slz3R3c On 5/25/26 02:28, Takashi Shimizu wrote: > On 5/25/26 16:51, vermaden wrote: >> >> To understand 'default' name choose you will have to move back in time >> to 2012 when I implemented *beadm(8)* for FreeBSD: >> >> - https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/ >> >> The *pool/ROOT/default *was back then (and probably is still now) used >> by default on Solaris/Illumos - so I just recreated that - along with >> *beadm(8) *tool - its parameters and messages. >> >> Of course it can be changed - right now I use something like that >> personally: >> >> f25 vermaden ~ %*beadm list* >> BE            Active Mountpoint  Space Created >> 14.4          NR     /           29.3G 2026-03-01 11:03 >> 14.4.safe.OLD -      -            7.3G 2026-05-08 01:19 >> 14.4.safe     -      -            1.6G 2026-05-18 20:48 >> 15.0          -      -           12.7G 2026-05-21 12:24 > > Thank you for the valuable responses. > > To clarify my proposal: I was not suggesting a naming convention for > users to follow manually. The intent was that freebsd-update itself > automatically renames the current BE to "HEAD" after each install. This > guarantees that "HEAD" always refers to the latest state managed by > freebsd-update, without any user intervention. My question is does freebsd-update create a BE from the current BE, update that offline BE, then switch it to be active BE of next boot or even now? Alternatively does it create a BE from the current BE which is left as is and then apply updates to the current BE which requires not changing the BE of next and future boots nor require switching what is currently mounted? I assume the second case is used but don't actually know. In the first case it needs to not only (re)name the new BE but also rename the current BE, and probably any and all other BEs or else you will get multiple 'HEAD' labels. In the second case it would seem like there is no needed rename but if you ever have to boot a different BE and then do an update there you end up with multiple 'HEAD' labels; every failed upgrade scenario where changing boot environments are used to correct it will cause multiple 'HEAD' labels. The idea of doing it without renaming means default/head/... represents an evolving state where you are normally working from. If left with this name instead of receiving a new name to represent the version it was upgraded to (which means a name has to be changed by the tool) then default/... is always the newest 'unless' the user has booted from another BE and either updated it with freebsd-update or made other 'updates' (package updates, configurations manually or automatically updated, etc.) while booted to it. All of the naming issues would be resolved in this case if freebsd-update always renamed the BE with its version and a timestamp that it was ran (BE creation time does not represent freebsd-update time and default/...'s creation time should be well before its backups are made as an update step) and we could completely drop default/... type of naming as we have a proper version + update time on 'every' freebsd-update altered BE. As a side effect, any user named BEs also would get renamed; a syntax check could be ran and it could be skipped or user-prompted for replacement decision before renaming but user kept names are only as good as the user sets. Always modifying the BE name after a freebsd-update modification of it to contain the version also addresses Tuomo's case though instead of having '(latest)' and a bunch of times, you know what version you are booting (and when it was created as that version if freebsd-update adds a timestamp to the name). I assume latest was supposed to be stated on only the latest update and restated once changing to another that would have been needing a -r. I assume that freebsd-update doesn't support updating stable and current branches so it would be user managed to try to create and label them when used. > I should be transparent that I was personally misled by the > automatically generated BE names and lost considerable time as a result. > The BE name said "p8" but the system was actually running "p9". The > snapshot with the newer timestamp turned out to be the older state. I > suspect other users have fallen into the same trap. If an update tool is creating boot environments in the first case above then calling it p8 instead of p9 for a state that will contain p9 I'd consider a bug. If its the second case then upgrading from p8 to p9 makes a p8 boot environment at that time before update (creating preinstall but post-download = bloat but saves another download if needing to retry) which makes sense but leaves no p9 labeled environment due to using default and therefore likely the tool never renaming any boot environments; the state is known so a versioned name could be given instead of default but that adds a rename step. A creation timestamp of a backup-state being made before upgrade such as in case 2 should always have a newer timestamp but not be the newer state; using the first case I gave is the only way that makes newer timestamps always mean newer data. Rather than use that complicated case it seems simpler to follow case 2, create a backup BE pre-update with timestamp in the description, rename the current be to the new version with current (=same) timestamp, apply the update to the current be and give it one final newer timestamp (unless your machine was too fast and its still the same time). Creation time is still a historical trait for the ZFS pool but the description's date tells us when things changed rather than when they were created. This eliminates the use of 'default' and again gives it a descriptive name which is required to not leave it as unclear. > I actively promote FreeBSD to Japanese users through social media, and > one of my key messages is that FreeBSD with ZFS and Boot Environments > allows safe and confident system updates. This proposal comes from a > wish to make that experience better for users who are new to FreeBSD. As a side note, trying to upgrade a non-BE system to use a BE layout as deep boot environments was one of the few times in over 20 years of using FreeBSD as my desktop that I hit a state where I had to reload from backup. it was a mix of problems with my layout, I think I forgot to manually specify -r sometimes when migrating, managing, and/or experimenting, and I'm not sure that beadm has any support for deep boot environments (If wrong, I'd love to learn how its done and managed). Doesn't help that I didn't initially understand what was actually going on. Once in place and working properly its a pretty slick thing but its not a replacement for full pool snapshots and backups. The shallow boot environments seemed like a downgrade to my other use of ZFS layout and properties so that is why I went for deep. Upgrades go wrong so rarely that I'd likely have passed on BEs if I had to switch to shallow to use them. I've had some other ideas for it concept too like making multi-architecture boot media seems plausible. Over the years of mostly tracking stable some stuff did break with updates but that was rarely anything I didn't already find about from reading /usr/src/UPDATING or heard about on a mailing list. I can always download and build an update but not install it until later if I was actually worried so there was more time for issues to be brought up. I'm much more concerned about Windows updates breaking family members computers or what may happen next on a ddwrt upgrade than what happens if I install the next FreeBSD updates. It does take time to go through things like UPDATING on larger upgrades and I manually build ports on my now quite outdated desktop so build times and reading has me delay it longer than needed though looking back it seems the reading is not much more effort than a minor skim with little needed interaction and further steps from me. I've had 1 friend and 2 family members run FreeBSD on computers over those 20 years. Friend lost recovery media and as a temporary workaround on hard drive failure knew it wasn't Windows easy and I'd be there to help with questions but found other computer people were impressed when they copied+pasted commands from the handbook and they enjoyed that they got some 'upgrades' to their tasks compared to their previous Windows offerings. Only went back to Windows because the next computer came with it. One family member seemed to enjoy it to see something different and get some non-Microsoft playtime; stopped using it on next computer to simplify things. The other family member took up my offer of trying it as their fileserver at his small business and I'd put Windows on if needed; I had to come up with fixes to make it work how he wanted but the calls that I feared of the FreeBSD box failing him always turned out to be things like a bad network switch/cable or a simple fix; no longer used because the business was sold and next owner wanted to go to something different he knew (probably Linux but I forget). Onsite or not, upgrades didn't intimidate me on there and I didn't have ZFS of boot environments on them if memory serves. > If it does not conflict with established conventions, I would be > grateful if this could be reconsidered. And even if the current behavior > remains unchanged, I am thankful that the topic was worth discussing. You were mislead by names and you were mislead by dates and make it sound like it wasn't just user error. Thank you for bringing attention and discussion to it. > Thank you for the links as well. I will read them carefully. > > Takashi