In <https://marc.info/?l=openbsd-misc&m=174702671731147&w=1>, I wrote:
> I have an OpenBSD system for which /home isn't in /etc/fstab.
[[...]]
> Today (trying to upgrade from 7.6-stable/amd64 to 7.7/amd64) I discovered
> that this breaks sysupgrade (and autoinstall):

In <https://marc.info/?l=openbsd-misc&m=174702898231996&w=1>,
Janne Johansson replied
> 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
in disklabel(8) before installing the new sets.
        [On OpenBSD systems which have /home in /etc/fstab,
        I'm used to omitting /home when specifying mount points
        in the interactive installer so as to prevent /home
        from being wiped this way.]
Hence, I had assumed that sysupgrade -b had an implicit restriction
"don't specify a directory in any file system that has a mount point
specified in disklabel(8)".

But now that I think of it, it seems more likely that I'm wrong about
whether a sysupgrade does all those newfs operations.

Is there a Fine Manual I should have read which would have told me
more explicitly what filesystems are/aren't preserved by sysupgrade?

Thanks, ciao,
-- 
-- "Jonathan Thornburg [remove -color to reply]" <dr.j.thornb...@gmail-pink.com>
   (he/him; on the west coast of Canada)
   "There are only two hard things in computer science:
    cache invalidation, naming things, and off-by-one errors." -- anon

Reply via email to