Post AAchcuZPbw2gIhD2MS by quad@weeaboo.space
(DIR) More posts by quad@weeaboo.space
(DIR) Post #AAcgMepcG81wttTSzY by quad@weeaboo.space
2021-08-23T16:57:29.148377Z
0 likes, 1 repeats
I started a freebsd-update upgrade -r on this VM last night and it's still going.freebsd-update being slow as absolute balls is one of the reasons I mostly quit using FreeBSD
(DIR) Post #AAcgSFtrrmc3JZ8GIK by quad@weeaboo.space
2021-08-23T16:58:30.217241Z
0 likes, 0 repeats
2 cores from a Ryzen 5 5600X4GB of RAM300 Mbit/s internet connectionBeen almost 24 hours and still seems to be nowhere near done.
(DIR) Post #AAcgTTOHC8V5Raw6bY by kura@fedi.z0ne.moe
2021-08-23T16:58:41.849797Z
0 likes, 0 repeats
@quad is that bsd in general or just free?
(DIR) Post #AAcgXQ8TEqQqVWQRU0 by quad@weeaboo.space
2021-08-23T16:59:26.504997Z
0 likes, 0 repeats
This was an update from FreeBSD 12.0 to 12.2.I think it does each upgrade sequentially or something. So 12.0 -> 12.1 -> 12.2.At least I think so, since it seems to have downloaded two piles of patches instead of just one.
(DIR) Post #AAcgndauxzLAsmSqqu by quad@weeaboo.space
2021-08-23T17:02:22.884067Z
0 likes, 0 repeats
@kura Just FreeBSD.OpenBSD updates are fast as fuck, because they're more basic.On recent OpenBSD releases you run "sysupgrade", it downloads the tarballs for the new release, reboots into an "upgrade kernel", basically just uncompresses the tarballs onto /, then reboots into the new version.Because of this OpenBSD's upgrade speed (except downloading the tarballs) mostly depends only on two things:- How fast your CPU can decompress a .tgz file- How fast your storage device can overwrite all the needed files
(DIR) Post #AAcgyz2tYGQib7xcYq by quad@weeaboo.space
2021-08-23T17:04:25.250914Z
0 likes, 0 repeats
@kura FreeBSD seems to download a patch for every single file or something rather ridiculous.Not too dissimilar from how Windows does updates maybe. But I'm not sure.At the very least, if there's 1000 files to patch, it downloads 1000 patches, then patches those 1000 files.As you can see in the screenshot above, my upgrade patched about 47 070 files. Then it started downloading 56 936 more patches.
(DIR) Post #AAchRgJkGHxWuYWhJQ by kura@fedi.z0ne.moe
2021-08-23T17:09:32.249295Z
0 likes, 0 repeats
@quad I see. so basically "don't try FreeBSD or you get a painful experience later on" it seems. thanks.that's still leaves net or open bsd:)
(DIR) Post #AAchcuZPbw2gIhD2MS by quad@weeaboo.space
2021-08-23T17:11:37.303621Z
0 likes, 0 repeats
@kura Never tried NetBSD so dunno what their update method is.OpenBSD only recently got the sysupgrade utility (like 3-4 versions ago I think) before that the official way to upgrade was download the "upgrade kernel" and the tarballs yourself. reboot into the upgrade kernel, and then decompress them over / and reboot.sysupgrade is honestly just a script that does it for you rather than manually. It's possible NetBSD's upgrade method is still just a case of "manually download tarballs and dump them over your /"
(DIR) Post #AAchouTRnJLJTe8mMC by quad@weeaboo.space
2021-08-23T17:13:48.258799Z
0 likes, 0 repeats
@kura Frankly OpenBSD does it more like Windows.Windows updates generally consist of patches and stuff for files.But Windows upgrades will usually dump new stuff into C:\Windows.OpenBSD has syspatch for applying security patches to the OS, and sysupgrade which downloads tarballs and overwrites stuff in / for system upgrades. Of course, this is basically what Linux package managers do as well.FreeBSD just seems to have been rather stupid and didn't realize that applying OS version upgrades by patching every single file would be slow as shit.