Rubenerd

Rubenerd: Listing block devices on FreeBSD (opens in new tab)

FreeBSD newcomers regularly ask me “what’s the equivalent to this Linux command?”. The most common of said commands is lsblk(8) that lists block devices. FreeBSD has a several options depending on the exact details you require: # camcontrol devlist # gpart show # geom disk list # geom -t (this gets the closest to lsblk(8)) And if you’re using GELI for volume encryption, HAST for replication, and ZFS respectively: # geli list # hastctl list # zpool status We also have prolific FreeBSD writer V...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help