My application uses libudev’s c++ api to get the serial number of hard disk of user. I need this to identify user’s identity since hard disk serial numbers are unique and can’t be changed by user.
so everything works fine in classic confinement since my snap packaged application can see the system and call libudev to get get serial number.
But when the application is packaged in strict confinement for some reasons my application not able to see the serial number if the disk. Am already having all necessary packaged to make libudev work.
is there any interface like udev that can solve this?