summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-09-20 18:12:28 +0200
committerPali Rohár <pali.rohar@gmail.com>2013-09-20 18:12:28 +0200
commit17dd99f36885543b6ca68824eaba59b824e66b57 (patch)
tree32bebbe50602d8f3b3a2928c957c6c7e426f62a5 /src/main.c
parent89bc4a10a3803b915131e125e9817b3994b499a2 (diff)
download0xFFFF-17dd99f36885543b6ca68824eaba59b824e66b57.tar.bz2
local: Fix searching for MyDocs mmc device
Device name in /sys/block/ could not be same as in /dev/ if udev renaming it. And this is real problem on Maemo without special kernel patch when device booting with inserted SD card. So read major and minor numbers from /sys/ and find coresponding device in /dev/. These two numbers will be same after renaming device too.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions