Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2026 09:51:01 +0200
From:      vermaden <vermaden@interia.pl>
To:        Takashi Shimizu <qqyr7xx9k@shirt.ocn.ne.jp>, freebsd-stable@freebsd.org
Subject:   Re: Proposal: Improve BE naming convention in freebsd-update install
Message-ID:  <7a0f1e46-b18d-455d-9b1c-f93131dae0bb@interia.pl>
In-Reply-To: <70da0c5b-c865-44e9-8c19-abb1cd779efe@shirt.ocn.ne.jp>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi.

On 5/24/26 1:53 PM, Takashi Shimizu wrote:
>
> 1.
>
>     The name "default" is misleading. It suggests "the BE that boots
>     by default" or "the latest running state", but in practice it is
>     just the residue of the initial installation, with no NR flag. The
>     name and its actual purpose are mismatched.
>
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




On 5/25/26 2:40 AM, Edward Sanford Sutton, III wrote:
> I still feel like my understanding of BEs is a bit weak and am still 
> learning but is seems there are common misconceptions shared around 
> about them.

I tried to explain /ZFS Boot Environments/ multiple times ... but I 
still am not sure if I succeeded:

- https://vermaden.wordpress.com/2025/11/25/zfs-boot-environments-explained/

- 
https://vermaden.wordpress.com/2022/03/14/zfs-boot-environments-revolutions/

- https://is.gd/BECTL


Hope that helps.


Regards,

vermaden




[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi.</p>
    <div class="moz-cite-prefix">On 5/24/26 1:53 PM, Takashi Shimizu
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:70da0c5b-c865-44e9-8c19-abb1cd779efe@shirt.ocn.ne.jp">
      <ol>
        <li>
          <p>The name "default" is misleading. It suggests "the BE that
            boots by default" or "the latest running state", but in
            practice it is just the residue of the initial installation,
            with no NR flag. The name and its actual purpose are
            mismatched.</p>
        </li>
      </ol>
    </blockquote>
    <p>To understand 'default' name choose you will have to move back in
      time to 2012 when I implemented <b>beadm(8)</b> for FreeBSD:</p>
    <p>-
      <a class="moz-txt-link-freetext" href="https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/">https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/</a></p>;
    <p>The <b>pool/ROOT/default </b>was back then (and probably is
      still now) used by default on Solaris/Illumos - so I just
      recreated that - along with <b>beadm(8) </b>tool - its
      parameters and messages.</p>
    <p>Of course it can be changed - right now I use something like that
      personally:</p>
    <pre>f25 vermaden ~ % <b>beadm list</b>
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</pre>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 5/25/26 2:40 AM, Edward Sanford
      Sutton, III wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BL4PR11MB88249FD96B59C106E57DAD26E60A2@BL4PR11MB8824.namprd11.prod.outlook.com">I
      still feel like my understanding of BEs is a bit weak and am still
      learning but is seems there are common misconceptions shared
      around about them. <br>
    </blockquote>
    <p>I tried to explain <i>ZFS Boot Environments</i> multiple times
      ... but I still am not sure if I succeeded:</p>
    <p>-
<a class="moz-txt-link-freetext" href="https://vermaden.wordpress.com/2025/11/25/zfs-boot-environments-explained/">https://vermaden.wordpress.com/2025/11/25/zfs-boot-environments-explained/</a></p>;
    <p>-
<a class="moz-txt-link-freetext" href="https://vermaden.wordpress.com/2022/03/14/zfs-boot-environments-revolutions/">https://vermaden.wordpress.com/2022/03/14/zfs-boot-environments-revolutions/</a></p>;
    <p>- <a class="moz-txt-link-freetext" href="https://is.gd/BECTL">https://is.gd/BECTL</a></p>;
    <p><br>
    </p>
    <p>Hope that helps.</p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>vermaden</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7a0f1e46-b18d-455d-9b1c-f93131dae0bb>