123 points jaypatelani 2 days ago 75 comments
rustyhancock 10 hours ago | parent
They have a nice wiki page around running on Arm which might be helpful (and subpages for the main boards).
https://wiki.netbsd.org/ports/evbarm/
I set it up on an Arm SBC last year and I have to say it did not seem as involved a process as that blog post. I hope it hasn't become more complicated.
seanw444 5 hours ago | parent
skrellm 9 hours ago | parent
You lost me there. Why are ppl still using this electron monstrosity when there are so many better alternatives? (Like dd, WIN32Imager, USBImager, DiskImager, etc.)?
I mean, Etcher is bigger than the entire NetBSD image, what the hell?
justin66 9 hours ago | parent
cf100clunk 8 hours ago | parent
Admin/root superuser of rpi4: dd
Admin/root superuser of NetBSD, other BSDs, or linux: dd
skrellm 7 hours ago | parent
But the others do. They are all minimal GUI apps.
load-bearing 8 hours ago | parent
Less of a chance of swapping if/of and destroying something unexpected.
jandrese 8 hours ago | parent
That said, the more lightweight "Disk Image Creator" also gets around this problem without dragging in an entire self contained browser.
skrellm 6 hours ago | parent
Exactly my point. Also that self contained browser hides a spyware (telemetry without notice and opt out), so illegal in the EU.
skrellm 7 hours ago | parent
Definitely not. In fact, even dd is insufficient unless you use os specific flags to flush the disk cache, otherwise your stick might be corrupted. Read about the fdatasync syscall.
yjftsjthsd-h 2 hours ago | parent
skrellm 1 hour ago | parent
There's a good reason why the dd command exists, believe me.
FYI: https://linux.die.net/man/2/sync syscall is not the same as https://linux.die.net/man/2/fsync syscall.
drdexebtjl 7 hours ago | parent
Who cares if it’s an electron monstrosity? It’s a portable executable, you run it once and then never again.
skrellm 7 hours ago | parent
USBImager likewise, cross-platform, stupid-proof, verifies write, decompresses on-the-fly, but it's multilingual too and does not collect your data like Etcher. All of that in just 300 kilobytes in a single portable executable.
https://bztsrc.gitlab.io/usbimager/
I prefer to recommend that instead to anyone.
aduty 6 hours ago | parent
drdexebtjl 5 hours ago | parent
There are a few too many Linux builds, imo, that I wouldn’t feel comfortable recommending it to a newbie Linux user. It looks like on Linux that the authors are obsessed with making the smallest possible binary instead of the smallest possible binary that runs anywhere.
skrellm 58 minutes ago | parent
Yep, the site offers a download link to a binary that should work everywhere (small JS detects OS and arch). The default Linux binary even has an embedded Unifont and implements its own widgets to avoid as much dependency as possible (this version is 800k because Unifont takes a lot of space).
But if you want, there's a smallest version too in the repo (uses GTK widgets and fonts installed on the system, calls the portal for open file modal, and relies on udisks2 daemon to access the device without privilege). This latter also downloadable as .deb (Ubuntu and RaspiOS ARM too).
so-cal-schemer 1 hour ago | parent
hoppp 9 hours ago | parent
1313ed01 9 hours ago | parent
throw432196 9 hours ago | parent
ClikeX 9 hours ago | parent
conradfr 9 hours ago | parent
MobiusHorizons 8 hours ago | parent
MisterTea 8 hours ago | parent
Your retort is ableism. Some people have vision problems such as myself and I find reading the cute yet blocky font to be very uncomfortable. Thankfully, reader mode fixes this.
functionmouse 6 hours ago | parent
MobiusHorizons 6 hours ago | parent
q4y2u35uk 6 hours ago | parent
functionmouse 5 hours ago | parent
hoppp 5 hours ago | parent
Try to have this font and regular one next to each other (scroll to the the code snippets)
now start moving further away from the screen till you can barely read it.
Which one becomes unreadable first?
Accessibility is not about if you can read it... but can other people read it?
JdeBP 5 hours ago | parent
* https://www.kreativekorp.com/software/fonts/c64/#berk
I switched the page over to unscii, and I found it to be a lot more legible.
mrob 6 hours ago | parent
Accessibility, Fonts, Advanced Settings, Allow pages to choose their own fonts.
Presumably other browsers let you do the same. I don't usually allow pages to choose their own fonts, but I turned it on specially just for this page and it looks like a normal pixel font to me.
forinti 9 hours ago | parent
It takes a long time to install anything and I don't expect to surf the web on it, but it's nice to have this OS as an option.
I wanted to try out openconnect-saml on it, but the install failed because of lack of RAM/swap. I have managed to run xfreerdp over openconnect on it though (FreeBSD had better performance).
maxmalkav 3 hours ago | parent
Software installation is indeed slow, my booting times are not terrible though (running just sshd, ntpd and dhcpd probably helps).
aframemodular 9 hours ago | parent
LordLotherak 9 hours ago | parent
(Apparently that's too much gray area for some zealots)
not_a_bot_4sho 9 hours ago | parent
MrDOS 8 hours ago | parent
(git ls-files; git log --grep='^Assisted-by: ' --pretty='format:' --stat --name-only | sort | uniq) | sort | uniq --repeated
...will show you the names of all 6,251 tainted files. You can `git blame` them at your leisure.efficax 7 hours ago | parent
miah_ 7 hours ago | parent
https://www.tomshardware.com/software/linux/linus-torvalds-p...
snvzz 3 hours ago | parent
mrkn1 9 hours ago | parent
He spends half the tutorial getting Wi-Fi working, then installs a modern desktop environment styled after a desktop environment from 1993.
next level nostalgia
coredog64 9 hours ago | parent
cf100clunk 8 hours ago | parent
https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/index-all.h...
anthk 7 hours ago | parent
MobiusHorizons 8 hours ago | parent
NetBSD noob question: what’s going on with this command? Is pkg_add not a package manager? If you already have pkg_add why do you need pkgin? I am familiar with `pkg` on FreeBSD, and `pkg_add` on OpenBSD, but they are both perfectly good enough on their own, I never wanted to install another package manager.
rustyhancock 8 hours ago | parent
Pkg_add simply installs binaries you ask it to and dependencies but can't do searches or broader package management like pkgin.
cyberpunk 7 hours ago | parent
or is it just some special case?
rustyhancock 7 hours ago | parent
With PKG_PATH set (he does it in the .profile in the blog post)
pkg_add pkgin becomes pkg_add https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/$(uname -r | cut -d_ -f1)/All/pkgin
So you can also just use the second command and not set PKG_PATH, or atleast not for every session.
I prefer to do it that way since pkgin has its own repository config, and if I use pkg_add after installing pkgin it'll be to install packages from the pkgsrc and that might clash if PKG_PATH is set.
I know it seems contrived.
JdeBP 7 hours ago | parent
* https://man.freebsd.org/cgi/man.cgi?query=pkg&manpath=FreeBS...
MobiusHorizons 6 hours ago | parent
krautburglar 8 hours ago | parent
Did latest OpenBSD & Haiku recently under KVM. Idle OBSD was using around 20% CPU to do nothing. Haiku, 30%. And it’s not just a virtualization thing. Thinkpad battery test yielded similar results.
HeckFeck 8 hours ago | parent
krautburglar 5 hours ago | parent
qubex 8 hours ago | parent
miah_ 8 hours ago | parent
JdeBP 6 hours ago | parent
qubex 6 hours ago | parent
JdeBP 6 hours ago | parent
* https://man.dragonflybsd.org/?command=ee§ion=1
* https://man.freebsd.org/cgi/man.cgi?query=ee&manpath=FreeBSD...
But NetBSD and OpenBSD went their own ways on this, to the extent that NetBSD didn't even have a non-vi-like editor in base until just a month or so ago.
qubex 6 hours ago | parent
bch 5 hours ago | parent
so-cal-schemer 1 hour ago | parent
Vi is actually one mode of editing within the editor ex. When you are running vi you can escape to the line oriented editor of ex by giving the command Q. All of the : commands which were introduced above are available in ex. Likewise, most ex commands can be invoked from vi using :. Just give them without the : and follow them with a CR.
lilbigdoot 7 hours ago | parent
I really love the amd64 "live" .img they provide too. It's a disk image you just write to a disk and on its first boot it expands the image to the full size of the disk, reboots, and your system is ready to go
For anyone curious to try, do note that EFI boots significantly faster than BIOS. I forget exactly why but BIOS boots requires an unpacking step every boot that EFI boots do not
The one thing keeping it from my daily driver on my desktop was my GPU is not yet supported. I do love the OS though. PkgSrc is nifty
lilbigdoot 5 hours ago | parent
lilbigdoot 1 hour ago | parent
I recently came across this after using NetBSD in a couple VMs and trying it on my desktop, its a really nice tiny OS that's easier to start with than it looks