Earlier quoted context omitted.
It should be doable with the following rc.d configuration: resize_disklabel=YES resize_root=YES The second script is available by default, but the first one is somehow hidden from general availability: * http://bxr.su/n/distrib/utils/embedded/files/resize_disklabe... * http://bxr.su/n/etc/rc.d/resize_root You can fetch it raw, it seems to work great: cd /etc/rc.d/ ftp http://bxr.su/raw/NetBSD/distrib/utils/embedded/f…
Aye, but that doesn't seem to work. Check out the genimg script - it's already trying to set up resize_root. I've also tried resize_disklabel without success. What this needs isn't another well-meaning HN comment trying to debug by proxy - I need someone who knows how NetBSD works to get their hands dirty and get it done.
NetBSD 9.0
41–50 of 65 posts
Re: NetBSD 9.0
#42There was an Article "Are the BSDs dying" ( https://www.csoonline.com/article/3250653/is-the-bsd-os-dyin... ) where it us said, that NetBSD has the lowest code quality of all BSD variants. It also finishes last when it comes to security updates. To this day NetBSD doesn't deliver binary security updates in a timely manner. Not in the base system and not for packages. Even OpenBSD manages to do this nowadays. If there…
Contributing to the climate crisis seems like a stretch. Bitcoin obviously uses a lot of power and contributes to the climate crisis. Building OSes from source is just a hobby for most people, and probably doesn't register as a particularly environmentally intensive one compared to even reading paperback books.
I funded and helped stabilize a technology called Epoch Reclamation into FreeBSD that can be thought of like a cleaner version of Linux' RCU at least for tracking object liveness. One of the most interesting things I've seen go into FreeBSD recently is a further improvement on that, a novel form of safe memory reclamation directly in UMA: https://reviews.freebsd.org/D22586. This is really exciting because for instance RCU suffers from time of use to time to free issues in Linux, and this new holistic approach really does not for fast turnover workloads.
NetBSD does have a form of SMR called pserialize(9), but ignoring some of the algorithmic weaknesses it also has a lot of global or oversized locks in critical subsystems like the VFS and network stack that turn it into a fairly non-SMP friendly system let alone consideration for different memory latencies like NUMA.
A lot of these ideas from FreeBSD can be copied into Net and Open but the code bases have diverged greatly where it's not some simple forklift (for instance Net and Open use a similar kernel memory allocation that is totally different than Free).
Re: NetBSD 9.0
#43I am a Linux user. What would be a good reason for me to try out NetBSD? Honest question.
Well. Given the smaller user base the *BDSs are good candidates for a very low footprint secure OS installation. In our org we use an openbsd instance to run our low traffic but extremely secure master database. The system really spartan and has a very low footprint. It is sufficiently different from Linux that the casual automated attack wont work. Things like NetBSD are a useful starting point to getting an OS up a…
Unless you’re defending against zero days (unlikely) an up to date Linux box must surely be more secure?
Re: NetBSD 9.0
#44NetBSD is probably my favorite BSD. I like its focus on simplicity and portability. I also like pkgsrc a lot more than ports. I appreciate that pkgsrc is portable beyond BSD, too - Minix uses it. Nice work, folks :)
Re: NetBSD 9.0
#45Earlier quoted context omitted.
I’d say BSD (esp Net and Open, as mentioned above), just don’t run as many processes, by design. BSDs are *nix, like Linux, but with their own traditions. If you, familiar with Linux, sat down at a NetBSD box, you’d be able to easily get around like a little girl[0]. You wouldn’t find systemd, though, you’d see a “wheel” group, your login shell might not be bash. The BSDs just decorate their houses differently than L…
I'd say it depends on the Linux distribution. Things like Ubuntu would be much like mentioned [1], packing just about everything¹, while on something like openwrt you would probably recognize or easily find out the function of all userspace processes - I counted 13 on my router. It doesn't help that linux (kernel and userspaces) tends to resemble chaotic patchwork more¹ than a reasonably designed system. ¹ exaggerati…
Re: NetBSD 9.0
#46Earlier quoted context omitted.
Well. Given the smaller user base the *BDSs are good candidates for a very low footprint secure OS installation. In our org we use an openbsd instance to run our low traffic but extremely secure master database. The system really spartan and has a very low footprint. It is sufficiently different from Linux that the casual automated attack wont work. Things like NetBSD are a useful starting point to getting an OS up a…
This smells of security through obscurity to me. Unless you’re defending against zero days (unlikely) an up to date Linux box must surely be more secure?
Re: NetBSD 9.0
#47Earlier quoted context omitted.
NetBSD is a great system for learning Unix. It lets you deep dive into certain topics because you have to. I learned to use Unix with NetBSD in the 2000. Only problem: find hardware for it. If you do not have a Raspberry Pi, your PC should not be brand new ideally (3-4 years is a good starting point).
VMs don't work as well?
Re: NetBSD 9.0
#48I am waiting for NetBSD to be available in SourceHut CI[1]. We already use it for FreeBSD and OpenBSD jobs, missing only one major OS - NetBSD. [1] https://man.sr.ht/builds.sr.ht/compatibility.md
Please help! The image is almost complete: https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/... But I need a NetBSD expert to come in and put on the finishing touch: making the filesystem resize to fill the available space on the qcow2. Without this, the image cannot build a new version of itself which isn't smaller than the host image, leading to image shrinkage over time and eventual breakitude.
Re: NetBSD 9.0
#49Earlier quoted context omitted.
Why ? What are the benefits of using that ?
radare2 [1] is a portable tool and should work everywhere, like you expect to do the same from GDB, for example. [1] https://github.com/radareorg/radare2
Re: NetBSD 9.0
#50Force10 network switches (owned by Dell now) use NetBSD for their FTOS and have for quite some time. Just thought I'd throw that out there.