scsi-generic-interface¶
The scsi-generic
interface allows read and write access to SCSI Generic driver (sg) devices.
Tip
See Interface management and Supported interfaces for further details on how interfaces are used.
Developer details
Auto-connect : no Super-privileged : yes
shared-memory
(slot and plug):
Code examples¶
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