diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 10:40:08 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 10:40:08 +0000 |
commit | 96256caa9440f67406831efadd79194f7ceb4c54 (patch) | |
tree | 5b055c80dfc4838d83642dad7a3866d9d184d3eb /packages/sharp-binary-only | |
parent | ca01dc03eb8d05cc878bac801888f2e8f7363e87 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2004/12/29 11:16:27+01:00 handhelds.org!CoreDump
sdcontrol: Create missing device-files on the fly
2004/12/29 11:14:17+01:00 handhelds.org!CoreDump
opie-zkbapplet: Nuke obsolete postinst from _cvs .bb
BKrev: 41d28988H5161wfPcVJCImWZ6rWSpg
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]..." |