From 0c670fd40244d784f688ff9c1b710aa26c40a92c Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 24 Nov 2012 08:07:39 +0100 Subject: common: add fstab Change-Id: I139271a713e33441d27ff5247a6bd37a83367e59 --- fstab.espresso10 | 10 ++++++++++ init.espresso10.rc | 7 ++----- p51xx-common.mk | 3 ++- 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 fstab.espresso10 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. +# +# 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 += \ -- cgit v1.1