raw-volume provides access to a specific disk partition. This interface is restricted because it provides privileged access to device partitions.
The slot is intended to be implemented by a gadget snap and is not provided by the core system snap.
path(slot): path to device partition e.g.
Requires snapd version 2.43+.
snap interface raw-volume to see which disk partitions are available on the system for snaps to use:
$ snap interface raw-volume name: raw-volume summary: allows access to specific disk partition slots: - foo:mmcblk0p1 - foo:mmcblk0p2
Once connected, the consuming snap can use the device via the path specified by the connected slot.
Last updated 4 months ago. Help improve this document in the forum.