“This is thesmallest, safest
Ubuntu ever, on devices and on
the cloud. We’re excited to
unleash a new wave of developer
innovation with snappy Ubuntu
Core!”
Mark Shuttleworth,
founder of Ubuntu and Canonical
Hello worldでSnappyの動きを見てみる
$ hello-world.usehw
Hellohw-assign world!
...
No hardware is assigned for this device.
$ sudo snappy hw-assign hello-world.canonical /dev/kmsg
'hello-world.canonical' is now allowed to access '/dev/kmsg'
$ hello-world.usehw
...
Now try to read a line from /dev/kmsg:
6,0,0,-;Booting Linux on physical CPU 0xf00
デフォルトではアプリからデバイスへアクセスできない