summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-19 14:46:56 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-19 14:46:56 +0200
commitdc28ef159f1f55ba8b15ad704f9ec0ac9781d43c (patch)
treea981cc51d0440fd2b774098502a1338ba152fdca
parentc1be001a62381f38c0d9e28c3738058912e28c99 (diff)
downloaddevice_samsung_p5100-dc28ef159f1f55ba8b15ad704f9ec0ac9781d43c.zip
device_samsung_p5100-dc28ef159f1f55ba8b15ad704f9ec0ac9781d43c.tar.gz
device_samsung_p5100-dc28ef159f1f55ba8b15ad704f9ec0ac9781d43c.tar.bz2
storage fixup
Signed-off-by: Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de>
-rw-r--r--configs/vold.fstab76
-rwxr-xr-xinit.espresso10.rc4
2 files changed, 5 insertions, 75 deletions
diff --git a/configs/vold.fstab b/configs/vold.fstab
index 16756db..2c6f66e 100644
--- a/configs/vold.fstab
+++ b/configs/vold.fstab
@@ -1,30 +1,3 @@
-# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-# * Neither the name of Code Aurora Forum, Inc. nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
-# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##
@@ -38,52 +11,9 @@
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
-#storage_struct = series, "/mnt/sdcard/extStorages"
-#storage_struct = parallel
-{
- supported_exfat = yes
-}
-dev_mount sdcard /mnt/extSdCard auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
-
-#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sda /mnt/UsbDriveA auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
-
-#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sdb /mnt/UsbDriveB auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
-#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sdc /mnt/UsbDriveC auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
-
-#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sdd /mnt/UsbDriveD auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
-
-#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sde /mnt/UsbDriveE auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
+# external sdcard
+dev_mount sdcard /mnt/extSdCard auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
#usb host device
-{
- media_type = usb
- supported_exfat = yes
-}
-dev_mount sdf /mnt/UsbDriveF auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
-#EOF
+dev_mount usbdisk /mnt/usbdisk auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
diff --git a/init.espresso10.rc b/init.espresso10.rc
index ee8f816..270b64a 100755
--- a/init.espresso10.rc
+++ b/init.espresso10.rc
@@ -3,13 +3,13 @@ import init.espresso.usb.rc
on early-init
export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0000 system system
- mkdir /mnt/extsdcard 0000 system system
+ mkdir /mnt/extSdCard 0000 system system
mkdir /mnt/usbdisk 0000 system system
# for backwards compatibility
symlink /efs /factory
symlink /mnt/sdcard /sdcard
- symlink /mnt/extsdcard /extsdcard
+ symlink /mnt/extSdCard /extSdCard
on init
# Vibetonz