PT(4)
π PT(4) β SCSI processor type driver
Okay so bestie, this page is from the Kernel Interfaces Manual, and it's all about the pt driver. Niche? Maybe. Iconic? Absolutely. β¨
πΈ NAME πΈ
pt β SCSI processor type driver
π SYNOPSIS π
device pt
π DESCRIPTION π
The pt driver provides support for a SCSI processor type device. These are usually scanners and other devices using the SCSI link as a communication interface with device specific commands embedded in the data stream. Like, it's giving "special little SCSI bestie" energy and we respect it. π«Ά
π¨ Caveat time, bestie: a SCSI adapter must be separately configured into the system before this driver can be used. That part is not optional, fr fr.
This device supports read(2) and write(2), and the ioctl(2) calls described below.
β¨ IOCTLS β¨
The following ioctl(2) calls are supported by the pt driver. They are defined in the header file <sys/ptio.h>.
PTIOCGETTIMEOUTβ this ioctl allows userland applications to fetch the currentptdriver read and write timeout. The value returned is in seconds. Get that timeout, queen. πPTIOCSETTIMEOUTβ this ioctl allows userland applications to set the currentptdriver read and write timeouts. The value should be in seconds. Set it and slay. π
π¦ FILES π¦
/dev/ptNβ the Nth processor device. TheNis literally doing the number thing, iykyk.
π SEE ALSO π
cam(4)β go look, bestie π«Ά
π HISTORY π
The pt driver appeared in FreeBSD 2.1. Vintage behavior, honestly. β
That's the whole page, bestie β sourced from Debian, dated March 2, 1995. Mwah πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1995 Peter Dufault, All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms