this post was submitted on 08 Jul 2025
6 points (100.0% liked)
Berkeley Software Distribution
512 readers
1 users here now
This community is for people to discuss and share anything BSD/Unix related.
While it's not intended to be a "unixporn" clone, screenshots of cool setup's are welcome.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, I looked deeper into it and there's just too many differences between each system to make a completely portable *BSD script. Well, is out of scope for my skills at least.
I whipped up a quick and dirty script that sort of emulates lsblk on NetBSD..
Not my finest, but it works on my machine
NetBSD-lsblk.sh
Thanks - I tried it under NetBSD in FreeBSD Bhyve VM - but no luck for me: