Skip to content

Instantly share code, notes, and snippets.

@droidfivex
Last active December 3, 2016 15:20
Show Gist options
  • Select an option

  • Save droidfivex/1df9d74da48e9fafd2613a99ddf015f4 to your computer and use it in GitHub Desktop.

Select an option

Save droidfivex/1df9d74da48e9fafd2613a99ddf015f4 to your computer and use it in GitHub Desktop.

WHAT IS THIS?

mount points from SOL22 stock ramdisk.

  • rc.md ... su then grep "mount" *.rc and remove unuse line
  • fstab.qcom ... raw fstab.qcom

points list (sorted)

/acct
/cache
/data
/dev
/dev/cpuctl
/dev/pts
/dtvtmp/dtv
/lta-label
/mnt/asec
/mnt/idd
/mnt/obb
/mnt/qcks
/mnt/secure
/mnt/shell/emulated
/proc
/storage/emulated/legacy
/storage/removable/sdcard1
/sys
/sys/kernel/debug
/system
# mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /dtvtmp/dtv tmpfs rw,nosuid,nodev,relatime,size=400k 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/apps_log /mnt/idd ext4 rw,nosuid,nodev,noexec,noatime,discard,nobarrier,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,discard,data=ordered 0 0
tmpfs /mnt/qcks tmpfs rw,relatime,mode=770,uid=1000,gid=1000 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/block/vold/179:33 /storage/removable/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
# 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
#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,barrier=1 wait,check
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=footer
/dev/block/platform/msm_sdcc.1/by-name/apps_log /mnt/idd ext4 nosuid,nodev,noatime,noexec,barrier=0,discard wait,check
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1,discard wait,check
mount none /mnt/shell/emulated/0 /storage/emulated/legacy bind
mount cgroup none /acct cpuacct
mount tmpfs tmpfs /mnt/secure mode=0700,uid=0,gid=0
mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
mount cgroup none /dev/cpuctl cpu
mount yaffs2 mtd@system /system
mount yaffs2 mtd@system /system ro remount
mount yaffs2 mtd@userdata /data nosuid nodev
mount yaffs2 mtd@cache /cache nosuid nodev
mount rootfs rootfs / ro remount
mount rootfs rootfs / shared rec
mount tmpfs tmpfs /mnt/secure private rec
mount tmpfs tmpfs /dtvtmp/dtv nosuid nodev size=400K
mount debugfs /sys/kernel/debug /sys/kernel/debug
mount_all fstab.qcom
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label nosuid nodev noatime noexec ro barrier=0
mount tmpfs tmpfs /mnt/qcks mode=0770,uid=1000,gid=1000
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro remount barrier=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment