The scsi-generic interface

The 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.


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: snapd/interfaces/builtin/scsi_generic_test.go at master · canonical/snapd · GitHub

The source code for the interface is in the snapd repository: snapd/interfaces/builtin/scsi_generic.go at master · canonical/snapd · GitHub


Last updated 2 months ago.