SBP_TARG(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

🌸 NAME 🌸

okay so welcome to SBP_TARG(4) from the Kernel Interfaces Manual, bestie! This page is all about:

sbp_targ β€” Serial Bus Protocol 2 (SBP-2) Target Mode devices driver ✨

πŸŽ€ SYNOPSIS πŸŽ€

To compile this driver into the kernel, place the following lines in your kernel configuration file, fr fr:

device sbp_targ
device firewire
device scbus
device targ

Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5):

firewire_load="YES"
cam_load="YES"
sbp_targ_load"YES"

πŸ¦‹ DESCRIPTION πŸ¦‹

The sbp_targ driver provides support for SBP-2 target mode. This driver is supposed to work with cam(4), targ(4) and firewire(4). You also need to use scsi_target(8), which can be found in /usr/share/examples/scsi_target, to provide actual devices. πŸ’–

πŸ”₯ EXAMPLES πŸ”₯

like, here's the whole little demo, bestie:

# mdconfig -a -t malloc -s 10m
md0
# scsi_target 0:0:0 /dev/md0
(Assuming sbp_targ0 on scbus0)

πŸ‘‘ SEE ALSO πŸ‘‘

🫢 AUTHORS 🫢

The sbp_targ driver was written by Hidetoshi Shimokawa. πŸ‘‘

πŸ’€ BUGS πŸ’€

This driver is currently under development. It does not work correctly in multi-initiator environments or after the bus topology has been changed. ⚠️ no cap, that part matters.

xoxo, Debian β€” November 7, 2003 πŸ’–

πŸ“¦ where this page comes from