On 2025-05-12 09:12 +02, Janne Johansson <[email protected]> wrote:
>> > sysupgrade -b ?
>>
>> Oh.  I think I've misunderand the semantics of sysupgrade and
>> /bsd.upgrade.  I had thought that the upgrade would (like an interactive
>> install) do a newfs on each partition with a mount point specified
>
>> But now that I think of it, it seems more likely that I'm wrong about
>> whether a sysupgrade does all those newfs operations.
>
> sysupgrade does what an bsd.rd upgrade would do, not what a bsd.rd
> install would do.

Except that sysupgrade(8) doesn't actually do those things, from the man
page:

     sysupgrade downloads the necessary files to /home/_sysupgrade, verifies
     them with signify(1), and copies bsd.rd to /bsd.upgrade.

     sysupgrade by default then reboots the system.

The heavy lifting is done by the bootloader and bsd.rd.

     The bootloader will automatically choose /bsd.upgrade, triggering a
     one-shot upgrade using the files in /home/_sysupgrade.

>
> -- 
> May the most significant bit of your life be positive.
>

-- 
In my defence, I have been left unsupervised.

Reply via email to