Hi, I want to achieve below command using snapctl.
snapcraft.yaml
plugs:
mountctl:
interface: mount-control
mount:
- persistent: true
what: diag
where: /dev/ffs-diag
type: [functionfs]
options: [] ??
shell.sh
snapctl mount -o uid=2000,gid=2000,no_disconnect=1,rmode=0550,fmode=0660 -t functionfs diag /dev/ffs-diag
but due to option restrictions mentioned in mountctl I can’t. Can some one please help me to achieve above mentioned mount command. Please suggest the possible solution!