this post was submitted on 08 Jul 2025
5 points (85.7% liked)

Berkeley Software Distribution

507 readers
35 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
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 days ago (1 children)

Hi Vermaden, great to see you here.

I remember reading about the lsblk.sh some time ago and tried testing it on NetBSD. I ran into some errors, which I can't remember right now. Will test it again and post the output here later.

[–] [email protected] 2 points 2 days ago (1 children)

Hi and thanks for testing it on NetBSD - let me know how it went - we can add that to my repo and I can 'maintain' lsblk(8) that will both for FreeBSD and NetBSD :)

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (2 children)

This is what I get on NetBSD 10.1 STABLE

http://0x0.st/8DJP.png

Doesn't look like glabel is available on NetBSD

[–] [email protected] 1 points 10 hours ago

Also ... is there some gpart(8) FreeBSD equivalent on NetBSD?

[–] [email protected] 1 points 1 day ago (1 children)

Doesn’t look like glabel is available on NetBSD

Is there some alternative command for labels on NetBSD?

[–] [email protected] 1 points 8 hours ago

gpt show sd0 and gpt show -l sd0 will show partition labels (if using GPT)

Could also use dkctl sd0 listwedges to show wedge names..

I'll have a little play and see what might work best

[–] [email protected] 4 points 4 days ago (1 children)

You forgot to post any content on this.

[–] [email protected] 2 points 2 days ago

Yep - I fucked up - fortunately [email protected] fixed that in comment below :)

[–] [email protected] 2 points 4 days ago (1 children)

Hi, if you don't mind I add the original link because I think you forgot it in your post:
https://vermaden.wordpress.com/2025/07/08/crucial-freebsd-toolkit

I am a big fan of lsblk, naturally it is installed on every freebsd box, you did a good job with this tool ;-)
Very informative blog post, thank you.

[–] [email protected] 1 points 4 days ago