Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created February 19, 2021 08:52
Show Gist options
  • Save shakalaca/9410e9678d6679dfbc5fe88fa90bed97 to your computer and use it in GitHub Desktop.
Save shakalaca/9410e9678d6679dfbc5fe88fa90bed97 to your computer and use it in GitHub Desktop.
Mount & df on Android S emulator
console:/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1014480 1020 1013460 1% /dev
tmpfs 1014480 0 1014480 0% /mnt
/dev/block/vdd1 11248 132 11116 2% /metadata
/dev/block/dm-4 766572 764240 2332 100% /
/dev/block/dm-3 149204 148748 456 100% /vendor
/dev/block/dm-2 1466760 1462368 4392 100% /product
/dev/block/dm-1 175596 175068 528 100% /system_ext
tmpfs 1014480 12 1014468 1% /apex
tmpfs 1014480 456 1014024 1% /linkerconfig
/dev/block/loop0 32400 32372 28 100% /apex/com.android.i18n@1
/dev/block/loop1 1660 1632 28 99% /apex/com.android.os.statsd@309999900
/dev/block/loop2 4808 4776 32 100% /apex/com.android.runtime@1
/dev/block/loop3 25960 25932 28 100% /apex/com.android.vndk.vS@1
/dev/block/loop5 832 804 28 97% /apex/com.android.tzdata@300000000
/dev/block/loop4 37716 37688 28 100% /apex/com.android.art@1
/dev/block/dm-5 6094400 219936 5874464 4% /data
tmpfs 1014480 0 1014480 0% /data_mirror
/dev/fuse 6094400 219936 5874464 4% /mnt/user/0/emulated
/dev/block/vold/public:252,80 522228 76 522152 1% /mnt/media_rw/0D19-1413
/dev/fuse 522228 76 522152 1% /mnt/user/0/0D19-1413
console:/ # mount
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=invisible)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
/dev/block/vdd1 on /metadata type ext4 (rw,seclabel,nosuid,nodev,noatime)
/dev/block/dm-4 on / type ext4 (ro,seclabel,nodev,relatime)
/dev/block/dm-3 on /vendor type ext4 (ro,seclabel,relatime)
/dev/block/dm-2 on /product type ext4 (ro,seclabel,relatime)
/dev/block/dm-1 on /system_ext type ext4 (ro,seclabel,relatime)
tmpfs on /apex type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755)
tmpfs on /mnt/installer type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
tmpfs on /mnt/androidwritable type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
none on /dev/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /acct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
none on /dev/memcg type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755)
/dev/block/loop0 on /apex/com.android.i18n@1 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop1 on /apex/com.android.os.statsd@309999900 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop0 on /apex/com.android.i18n type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop1 on /apex/com.android.os.statsd type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop2 on /apex/com.android.runtime@1 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop3 on /apex/com.android.vndk.vS@1 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop2 on /apex/com.android.runtime type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop3 on /apex/com.android.vndk.vS type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop5 on /apex/com.android.tzdata@300000000 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop4 on /apex/com.android.art@1 type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop5 on /apex/com.android.tzdata type ext4 (ro,dirsync,seclabel,nodev,noatime)
/dev/block/loop4 on /apex/com.android.art type ext4 (ro,dirsync,seclabel,nodev,noatime)
tmpfs on /apex/apex-info-list.xml type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755)
tracefs on /sys/kernel/tracing type tracefs (rw,seclabel,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
none on /config type configfs (rw,nosuid,nodev,noexec,relatime)
binder on /dev/binderfs type binder (rw,relatime,max=1048576,stats=global)
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,seclabel,nosuid,nodev,noexec,relatime)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=755,gid=1000)
/dev/block/dm-5 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /data/user/0 type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
tmpfs on /data_mirror type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,mode=700,gid=1000)
/dev/block/dm-5 on /data_mirror/data_ce/null type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /data_mirror/data_ce/null/0 type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /data_mirror/data_de/null type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /data_mirror/cur_profiles type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
nsfs on /data/vendor/var/run/netns/router type nsfs (rw)
/dev/fuse on /mnt/user/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /storage/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/installer/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/androidwritable/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/block/dm-5 on /mnt/pass_through/0/emulated type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/user/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/androidwritable/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/installer/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /storage/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/user/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/androidwritable/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /mnt/installer/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/dm-5 on /storage/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,resgid=1065,errors=panic)
/dev/block/vold/public:252,80 on /mnt/media_rw/0D19-1413 type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/fuse on /mnt/user/0/0D19-1413 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /storage/0D19-1413 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/installer/0/0D19-1413 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/androidwritable/0/0D19-1413 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/block/vold/public:252,80 on /mnt/pass_through/0/0D19-1413 type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
console:/ #
@Khlilnasari
Copy link

[](url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment