CFUMASS(4) | Device Drivers Manual | CFUMASS(4) |
cfumass
— USB
device side support for Mass Storage Class Transport
This driver can be compiled into the kernel by placing these lines in the kernel configuration file:
device usb
device usb_template
device ctl
device cfumass
The driver module can also be loaded at boot by adding this line to loader.conf(5):
cfumass_load="YES"
The cfumass
driver provides device side
support for emulating an USB mass storage device compliant with the USB Mass
Storage Class Bulk-Only (BBB) Transport specification, implemented as a
ctl(4) frontend driver.
To use cfumass
:
Upon loading, the driver creates a ctl(4) port
named cfumass, presenting the first LUN mapped for
that port - usually LUN 0 - to the USB host. See
ctl.conf(5) and ctld(8) for details on
configuring the LUN. See the cfumass_enable
and
cfumass_dir
rc(8) variables in
rc.conf(5) for an automated way to configure it at
boot.
These variables are available as both sysctl(8) variables and loader(8) tunables:
cfumass
driver. Set to 0 to disable logging or 1 to warn about potential problems.
Larger values enable debugging output. Defaults to 1.ctl(4), umass(4), usb(4), usb_template(4), ctl.conf(5), ctld(8)
The cfumass
driver first appeared in
FreeBSD 11.1.
The cfumass
driver was developed by
Edward Tomasz Napierala
<trasz@FreeBSD.org>
under sponsorship from the FreeBSD Foundation.
April 21, 2018 | Debian |