Listing block devices on FreeBSD 1 ▲ Rubenerd 193 days ago · Tech · hide · Fediverse post 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 Vermaden’s lsblk script. I didn’t realise until today that it’s even in FreeBSD ports, hence my writing of this post: # pkg update # pkg install lsblk # lsblk As always, the FreeBSD Handbook is your friend. I first typo’d that as fiend, which is rather funny. The purpose of such questions This was originally a caveat at the start of the post, but I spared people my usual waffle until the end this time. Belgians make better waffles than this Scottish/German guy born in Australia who grew up in… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town