diff options
Diffstat (limited to 'packages/sharp-binary-only')
-rw-r--r-- | packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol index 876f365363..1639945ade 100644 --- a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol +++ b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol @@ -139,6 +139,12 @@ case "$ACTION" in ! test -d $MOUNT_POINT && mkdir -p $MOUNT_POINT DEVICE="/dev/$part" + if ! test -e "$DEVICE" + then + DEV_NUM="`echo "$DEVICE" | sed -n "s/.*\([0-9]\)/\1/p"`" + cd /dev + mknod mmcda$DEV_NUM b 60 $DEV_NUM + fi echo "Mounting [/dev/$part]" echo "* Trying VFAT mount [$SD_OPTS_VFAT]..." |