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