The scsi-generic interface
scsi-generic interface allows read and write access to SCSI Generic driver (sg) devices.
Interface documentation: See Interface management and Supported interfaces for further details on how interfaces are used.
shared-memory(slot and plug):
apps: app: command: foo plugs: [scsi-generic]
The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/scsi_generic_test.go
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/scsi_generic.go
Last updated 1 year, 2 months ago.