SBP(4)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… SBP(4) β€” the FireWire storage driver, bestie edition

okay so this is from the Kernel Interfaces Manual, and it's about sbp β€” the driver that makes your FireWire drives go brrr. let's get into it πŸŽ€


✨ NAME ✨

sbp β€” the Serial Bus Protocol 2 (SBP-2) Mass Storage Devices driver. yes that's a whole mouthful, i know, but it's literally the thing that talks to your external drives over FireWire πŸ’–


✨ SYNOPSIS ✨

you can either load it as a module, like:

kldload firewire
kldload cam
kldload sbp

or

build it into the kernel, like:

device sbp
device firewire
device scbus
device da
device cd
device pass

both are valid, pick your vibe πŸ¦‹ (module life is lowkey faster to test, kernel life is highkey committed, iykyk)


✨ DESCRIPTION ✨

so the sbp driver gives you support for SBP-2 devices that attach to the FireWire (IEEE 1394) port. it should work with any SBP-2 device the CAM layer supports β€” think HDDs, CDROM drives, and DVD drives. slay πŸ’…

now, some of you who already know umass(4) might be like "wait, why doesn't the device detach at the CAM layer the moment i unplug it??" and honestly? fair question. here's the tea β˜•: it's only detached if the device has not been plugged again during several bus resets. and that's on purpose β€” it's to prevent detaching an active file system even when the device can't be probed correctly for some reason after a bus reset, or when the device is temporarily disconnected because the user is out here changing the bus topology. main character energy: the driver, not the cable πŸ™ˆ

if you genuinely want to force the detach, run fwcontrol -r several times, or set hw.firewire.hold_count=0 using sysctl(8). that's the override, fr fr.

also, heads up: some (broken) HDDs do not work well with tagged queuing 😭. if you're having problems with drives like that, try:

camcontrol [device id] tags -N 1

to disable tagged queuing. that's the fix, no cap ✨


✨ HARDWARE ✨

the sbp driver supports FireWire Serial Bus Protocol 2 (SBP-2) storage devices. that's the whole hardware list. short, sweet, iconic πŸ‘‘


✨ SEE ALSO ✨

go read them, they're all linked in the group chat 🫢


✨ AUTHORS ✨

the sbp driver was written by Katsushi Kobayashi and Hidetoshi Shimokawa. πŸ’œ

and this manual page was written by Katsushi Kobayashi. 🌸


that's the whole page bestie, go forth and mount things responsibly 🌈

β€” πŸ’– sign-off: this beauty comes from Debian, dated November 11, 2025, and it's page SBP(4) of the Kernel Interfaces Manual. periodt. πŸŽ€

πŸ“¦ where this page comes from