USFS(4)

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

USFS(4) πŸ’…

okay bestie, welcome to USFS(4) from the Kernel Interfaces Manual β€” section 4, the kernel-side girlypop zone. This page is all about usfs, aka USB device side support for bulk only transport mass storage. Let's get into it 🫢


🌸 NAME 🌸

usfs β€” USB device side support for bulk only transport mass storage. that's the whole vibe, no cap.


✨ SYNOPSIS ✨

If you wanna compile this driver into the kernel, drop these lines into your kernel configuration file, exactly like this:

device usb
device usfs

Alternatively, to load the driver as a module at boot time, put this line in loader.conf(5):

usfs_load="YES"

slay, module loading era πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

⚠️ real talk first: this driver is obsolete. Users are advised to use cfumass(4) instead. like, the manual literally says it. so bestie, go check out cfumass(4) πŸ’€

The usfs driver provides support for emulating an USB mass storage device when the USB stack is activated in USB device side mode β€” that means the usb_template(4) module is loaded and the hw.usb.template sysctl is set to 0. iykyk πŸ‘‘

Upon attach, the driver creates a RAM disk which can be read and written. iconic behavior, honestly πŸŽ€


🌈 SEE ALSO 🌈

  • cfumass(4) β€” the one the manual tells you to use instead, periodt.
  • umass(4) β€” another SEE ALSO cutie.
  • usb(4) β€” yes, that USB.
  • usb_template(4) β€” the module mentioned above, bestie.

πŸŽ€ HISTORY πŸŽ€

The usfs driver appeared in FreeBSD 8.0 β€” a whole era πŸ’œ


xoxo, this page's source/version is Debian, dated May 17, 2018, and it's the USFS(4) manual page. slay πŸ’…βœ¨

πŸ“¦ where this page comes from