lsblk is not included on the current dev system. It comes from Buildroot->Target Packages->System Tools->util-linux->basic set. However, we could also parse the data from /dev/disk/by-label.
$ readlink -f /dev/disk/by-label/rootfs
/dev/mmcblk0p2
The change required is to make blockhandler.sh:findMount() check if the device name passed to it is an mmc device. If it is, check if it is one of the named partitions (BOOT (uppercase), rootfs, data). If so, mount using the named partitions. If not, do what it currently does.
In postbuild.sh , create symlinks from the /media directory from each of the named partitions to their old mmc names, just so old stuff works (until I figure out what else needs to be changed).
)$ grep mmcblk /etc/init.d/*
S21packages:PKGDIR=/media/mmcblk0p3/opkg/pkg
S21packages:INCOMINGDIR=/media/mmcblk0p3/opkg/incoming
S99zzreboot:INCOMINGDIR=/media/mmcblk0p3/opkg/incoming
firstboot: sed -i 's/rootwait /lpj='"${LPJ}"' rootwait /' /media/mmcblk0p1/cmdline.txt
functions:CONFIG=/media/mmcblk0p1/config.txt
functions:LOGDIR=/media/mmcblk0p3/log
$ find pi* ironman appmgr launcher lcdshow libpibox metabuild mjpg-streamer omxplayer musicfe pmsui pnc psplash raspi2fb videofe videolib -type f -exec grep -l "mmcblk" {} \;
pibox86/src/src/buildroot/skeleton/usr/bin/blockhandler.sh
pibox86/src/src/buildroot/skeleton/etc/mdev.conf
pidock/src/src/pidock/S90docker
pinet/src/opkg/postinst
pinet/src/opkg/prerm
pistore/src/opkg/postinst
pistore/src/opkg/prerm
lcdshow/src/configs/lcdshow.mk
lcdshow/src/src/opkg/postinst
lcdshow/src/src/opkg/prerm
lcdshow/src/src/scripts/pibox-hdmi
pmsui/src/src/opkg/postinst