Assign specific types to system and recovery block devices.

This assigns the types defined by Ie9c1f6d632f6e9e8cbba106f07f6b1979d2a3c4a
to the block device files for the system and recovery partitions
as per the fstab.<board> file.

Also rewrite the existing /dev/block entries for other partitions to
use the by-name symlinks where possible.

In rewriting the efs entries, I noticed that there is a third efs partition
(m9kefs3) under /dev/block/platform/msm_sdcc.1/by-name that links to
/dev/block/mmcblk0p10.  However, this device node was not being labeled
with efs_block_device previously and also has different DAC ownership
than the other two block devices (root rather than system), and is
therefore not accessible by kickstart (runs in UID system and kickstart
domain).  I left this unchanged although I am unclear on whether this
difference in labeling and DAC ownership is intentional.

Change-Id: I61cb388a5024e11a179e94537532dbc3aa9db5c8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
1 file changed