Advertisement
nospamdan

mounts and recovery

Dec 13th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mount command in recovery:
  2. ---------------------------
  3. mount
  4. rootfs on / type rootfs (rw)
  5. tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
  6. devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
  7. proc on /proc type proc (rw,relatime)
  8. sysfs on /sys type sysfs (rw,seclabel,relatime)
  9. selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
  10. tmpfs on /tmp type tmpfs (rw,seclabel,relatime)
  11. /dev/block/mmcblk0p26 on /cache type ext4 (rw,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered)
  12. /dev/block/mmcblk0p28 on /sdcard type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  13. /dev/block/mmcblk0p28 on /and-sec type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  14.  
  15.  
  16. fstab.qcom and recovery.fstab :
  17. ------------------
  18. # Android fstab file.
  19. # The filesystem that contains the filesystem checker binary (typically /system) cannot
  20. # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
  21.  
  22. #<src>                                              <mnt_point>       <type>  <mnt_flags and options>                                     <fs_mgr_flags>
  23. /dev/block/platform/msm_sdcc.1/by-num/p8            /boot             emmc    defaults                                                    recoveryonly
  24. /dev/block/platform/msm_sdcc.1/by-num/p13           /firmware         vfat    ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337    wait
  25. /dev/block/platform/msm_sdcc.1/by-num/p17           /firmware-mdm     vfat    ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337    wait
  26. /dev/block/platform/msm_sdcc.1/by-num/p21           /efs              ext4    nosuid,nodev,barrier=1                                      wait
  27. /dev/block/platform/msm_sdcc.1/by-num/p22           /recovery         emmc    defaults                                                    recoveryonly
  28. /dev/block/platform/msm_sdcc.1/by-num/p24           /system           ext4    ro,errors=panic                                             wait
  29. /dev/block/platform/msm_sdcc.1/by-num/p25           /data             f2fs    rw,nosuid,nodev,noatime,nodiratime,inline_xattr             wait,check,formattable,encryptable=footer,length=-16384
  30. /dev/block/platform/msm_sdcc.1/by-num/p25           /data             ext4    nosuid,nodev,noatime,noauto_da_alloc,errors=panic           wait,check,formattable,encryptable=footer,length=-16384
  31. /dev/block/platform/msm_sdcc.1/by-num/p26           /cache            f2fs    rw,nosuid,nodev,noatime,nodiratime,inline_xattr             wait,check,formattable
  32. /dev/block/platform/msm_sdcc.1/by-num/p26           /cache            ext4    nosuid,nodev,barrier=1                                      wait,check,formattable
  33.  
  34. #/devices/platform/msm_sdcc.1/mmc_host/mmc0*         auto              auto    defaults                                                    voldmanaged=sdcard0:28,nonremovable,noemulatedsd
  35. /devices/platform/msm_sdcc.3/mmc_host/mmc2*         auto              auto    defaults                                                    voldmanaged=sdcard1:auto,encryptable=userdata
  36. /devices/platform/msm_hsusb_host.0*                 auto              auto    defaults                                                    voldmanaged=usbdisk:auto
  37.  
  38. twrp.fstab
  39. -------------
  40. /boot       emmc        /dev/block/mmcblk0p8                flags=display="Boot";backup=1
  41. /cache      ext4        /dev/block/mmcblk0p26               flags=display="Cache";wipeingui;backup=1
  42. /data       ext4        /dev/block/mmcblk0p25               flags=display="Data";wipeingui;backup=1
  43. /efs        ext4        /dev/block/mmcblk0p21               flags=display="EFS";backup=1
  44. /recovery   emmc        /dev/block/mmcblk0p22               flags=display="Recovery";backup=1
  45. /system     ext4        /dev/block/mmcblk0p24               flags=display="System";wipeingui;backup=1
  46.  
  47. /sdcard     vfat        /dev/block/mmcblk0p28               flags=display="Internal Storage";storage;wipeingui
  48. /external_sd    vfat        /dev/block/mmcblk1p1    /dev/block/mmcblk1  flags=display="External Storage";storage;wipeingui;removable
  49. /usb-otg    vfat        /dev/block/sda1         /dev/block/sda      flags=display="USB OTG";storage;wipeingui;removable
  50.  
  51. recovery.fstab (in TWRP):
  52. ----------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement