VIOSCSI(4)

πŸ“¦
version 11.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– VIOSCSI(4) πŸ’–

okay so bestie, welcome to vioscsi(4) β€” that's section 4 of the Kernel Interfaces Manual, the driver corner of the docs, and honestly? lowkey iconic territory. this is the page for the VirtIO SCSI adapter and we're gonna get you fluent in it in like two minutes, no cap 🫢


✨ NAME ✨

vioscsi β€” the VirtIO SCSI adapter, aka the little driver that lets your virtual machine talk to virtual SCSI stuff πŸ’…


🌸 SYNOPSIS 🌸

like, the whole wiring diagram, and it's giving "just two lines, main character energy":

vioscsi* at virtio?
scsibus* at vioscsi?

so vioscsi hooks onto virtio, and then a scsibus hangs off vioscsi. that's the chain, periodt ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

kay so real talk: the vioscsi driver provides support for virtio(4) SCSI adapters. that's it, that's the whole vibe β€” it's the bridge between the virtio world and your SCSI devices. slay, honestly πŸŽ€


πŸ’œ SEE ALSO πŸ’œ

go read these next, bestie, they're the friend group:

  • scsi(4) β€” the SCSI subsystem itself 🌈
  • sd(4) β€” the SCSI disk driver ⭐
  • virtio(4) β€” the virtio thing our girl attaches to πŸ’«

πŸŽ€ HISTORY πŸŽ€

storytime 🧚 the vioscsi driver first appeared in OpenBSD 5.5. then it first appeared in NetBSD 7.1, and got further stabilization in NetBSD 8.0 β€” glow-up era, we love to see it πŸ‘‘


πŸ’… AUTHORS πŸ’…

giving credit where it's due, always:

  • the vioscsi driver was written by Matthew Dempsky <matthew@dempsky.org> ✍️
  • the NetBSD port was done by Christos Zoulas
  • further stabilization was done by Jaromir Dolecek <jdolecek@NetBSD.org>

legends, all of them, fr fr πŸ™Œ


πŸ’€ CAVEATS πŸ’€

okay so heads up, this one matters: the vioscsi driver limits probe to 1 channel, 16 targets, and 1024 LUNs β€” and it does that to reduce boot time. so yeah, it's a deliberate cap, not a bug, don't @ me 😭 it's just tryna get you booted fast, and honestly? respect πŸ’…


ngl the numbers are the numbers β€” 1 channel, 16 targets, 1024 LUNs β€” memorize them or at least remember they're on purpose πŸ’–

🌸 mwah, that's the whole page, you ate it. this lil beauty came from Debian, dated May 27, 2019 β€” so go forth and virtio-SCSI responsibly, bestie 🫢✨

πŸ“¦ where this page comes from