UMASS(4)
π UMASS(4) β like, the USB Mass Storage Devices driver, bestie β¨
okay so this is umass(4), from the Kernel Interfaces Manual β yes it's a section 4 page, we love a kernel-interface moment π«Ά
πΈ NAME πΈ
umass β the USB Mass Storage Devices driver. that's it. that's the whole name. iconic of it tbh π
β¨ SYNOPSIS β¨
okay so the vibes start with your kernel config, and the lineup is literally this:
device da
device scbus
device pass
device usb
device umass
and then over in loader.conf(5) you've got:
umass_load
that's the whole mood. no cap π
π DESCRIPTION π
so the umass driver is the one that provides support for Mass Storage devices that attach to the USB interface. that's the job. that's the assignment. and it ate π
here's the thing though β if the appropriate hardware is detected, the driver will be loaded automatically by devmatch(8). automatic. main character energy. you don't even have to do anything π
but say you wanna load the driver manually at boot time β totally valid, we respect the hands-on approach β then you use the umass_load command at the loader(8) prompt, or you just add it to loader.conf(5). easy. lowkey elegant π¦
now for the custom kernel girlies (iykyk): to use the driver in a custom kernel, usb(4) and at least one of uhci(4), ohci(4), ehci(4), or xhci(4) must be configured in the kernel. and additionally β and this is the part people forget, so listen up β since umass uses the SCSI subsystem and sometimes acts as a SCSI device, it requires da(4) and scbus(4) to be included in the kernel too. all of them. together. friendship bracelet style π€
π₯ HARDWARE π₯
the umass driver supports USB Mass Storage devices such as:
- USB thumb drives π
- USB hard disk drives π
- USB floppy drives (yes bestie, floppy. vintage. we stan a classic) π
β EXAMPLES β
okay here's a real one β rescanning all slots on a multi-slot flash reader, where the slots map to separate LUNs on a single SCSI ID. the way that works is genuinely so satisfying:
camcontrol rescan 0:0:0
camcontrol rescan 0:0:1
camcontrol rescan 0:0:2
camcontrol rescan 0:0:3
π typically only the first slot will be enabled at boot time. keep that in mind before you panic.
also, this assumes the flash reader is the first SCSI bus in the system and has 4 slots. so like, check your vibes before you copy-paste π
π¦ SEE ALSO π¦
go read these next, bestie, they're all connected:
cfumass(4), ehci(4), ohci(4), uhci(4), usb(4), xhci(4), camcontrol(8)
π HISTORY π
the umass driver appeared in FreeBSD 4.3. a legend. an era. periodt β¨
π AUTHORS π
the umass driver was written by MAEKAWA Masahide <bishop@rr.iij4u.or.jp> and Nick Hibma <n_hibma@FreeBSD.org>.
and this manual page? written by Nick Hibma <n_hibma@FreeBSD.org>. we love a self-referential king π«Ά
okay that's the whole page, ily, go plug in a thumb drive responsibly πβ¨
shoutout to the Debian gang for this edition, dated October 9, 2025, filed under UMASS(4) β catch you in the next man page, mwah π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- π the page's license: BSD-2-Clause
- Copyright (c) 1999 Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms