summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2012-11-24 08:07:39 +0100
committercodeworkx <codeworkx@cyanogenmod.org>2012-11-24 08:07:39 +0100
commit0c670fd40244d784f688ff9c1b710aa26c40a92c (patch)
treee0ab336bf60ce1516938bb6fda8946c73a293001
parentd0e635421afead5c9448bbee6963d06a5aac3541 (diff)
downloaddevice_samsung_p5100-0c670fd40244d784f688ff9c1b710aa26c40a92c.zip
device_samsung_p5100-0c670fd40244d784f688ff9c1b710aa26c40a92c.tar.gz
device_samsung_p5100-0c670fd40244d784f688ff9c1b710aa26c40a92c.tar.bz2
common: add fstab
Change-Id: I139271a713e33441d27ff5247a6bd37a83367e59
-rw-r--r--fstab.espresso1010
-rwxr-xr-xinit.espresso10.rc7
-rwxr-xr-xp51xx-common.mk3
3 files changed, 14 insertions, 6 deletions
diff --git a/fstab.espresso10 b/fstab.espresso10
new file mode 100644
index 0000000..a9e60d6
--- /dev/null
+++ b/fstab.espresso10
@@ -0,0 +1,10 @@
+# Android fstab file.
+#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
+# The filesystem that contains the filesystem checker binary (typically /system) cannot
+# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
+
+
+/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,barrier=1 wait
+/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 nosuid,nodev,barrier=1 wait,check
+/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 noatime,nosuid,nodev,barrier=1,discard,noauto_da_alloc,journal_async_commit wait,check,encryptable=footer
+/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 noatime,nosuid,nodev,barrier=1,discard,noauto_da_alloc,journal_async_commit wait,check
diff --git a/init.espresso10.rc b/init.espresso10.rc
index c96c153..f435c0f 100755
--- a/init.espresso10.rc
+++ b/init.espresso10.rc
@@ -35,11 +35,8 @@ loglevel 7
on fs
mkdir /efs
- mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system wait rw
- mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ro remount
- mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data wait noatime nosuid nodev crypt discard,noauto_da_alloc
- mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache wait noatime nosuid nodev nomblk_io_submit,errors=panic
- mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs wait rw
+ mount_all fstab.espresso10
+
chown radio system /efs
chmod 0775 /efs
diff --git a/p51xx-common.mk b/p51xx-common.mk
index 5d63e32..7916c20 100755
--- a/p51xx-common.mk
+++ b/p51xx-common.mk
@@ -32,7 +32,8 @@ PRODUCT_LOCALES += mdpi
PRODUCT_COPY_FILES := \
$(LOCAL_PATH)/init.espresso10.usb.rc:root/init.espresso10.usb.rc \
$(LOCAL_PATH)/init.espresso10.rc:root/init.espresso10.rc \
- $(LOCAL_PATH)/ueventd.espresso10.rc:root/ueventd.espresso10.rc
+ $(LOCAL_PATH)/ueventd.espresso10.rc:root/ueventd.espresso10.rc \
+ $(LOCAL_PATH)/fstab.espresso10:root/fstab.espresso10
# Vold
PRODUCT_COPY_FILES += \