Error: snap "snapd" has no "raw-volume" interface slots

# snap version
snap    2.54.2
snapd   2.54.2
series  16
kali    2021.2
kernel  5.10.0-kali7-amd64

Who knows why it shows that and how to handle? Thank you!

What are you trying to do?

I need to read raw partition data to detect LVM information.

I always got the error number 6 for read sector with block-devices interface. So I want to try raw-volume. And when I try to connect it, it shows the result.

well, snapd does not have such an interface slot …

you’d need a gadget that provides it (i.e. to use it on Ubuntu Core)

Oops… Is there sample/doc or key word about it? Thank you.

BTW:How to access raw partition without it?