I'm using Ubuntu 16.04 and I'm trying to get serial number and oemid
of SD card. I have found an instruction here, but on my current system I cannot find it.
Previously I was using Ubuntu 15.10 and I'm pretty sure I was able to access proper place in /sys/
to get this information, but now I cannot find it anymore.
After inserting a SD card it is automounted and I can access files on it, but find /sys/ -name oemid
shows nothing.
Can you help me find out what is missing/why files in /sys/
does not show up?
(I have Ubuntu 16.04 upgraded from 15.10)
Device
. What is the device name? (Ex:/dev/sdb
)/dev/sdb
and here I can see the serial number but I wanted to access it from the C application so I does not resolve my problem.sudo udevadm info -a -n /dev/sdb
.udevadm info
works. Thank you. Do you have any idea what happend to the file insys
?