1# Android based kernel exports the uevent property PARTNAME, which can be 2# used to find out at run time the named partitions (e.g. boot) for the 3# device. This is specially useful for the Touch based images and flash-kernel, 4# to automatically update the kernel by writing at the correct partition 5# (independently of the hardware revision). 6ACTION!="remove", KERNEL=="mmcblk[0-9]p[0-9]", ENV{PARTNAME}=="?*", SYMLINK+="disk/by-partlabel/$env{PARTNAME}" 7 8