df -h
mount
fdisk无效
20240812在荣品RK3588S-AHD开发板的预置Android13中挂载FAT32格式的256GB的TF卡
2024/8/12 15:01
缘起:当时比较便宜96.9¥/想看看256GB的TF卡的高速卡的效果,就在京东入手了3张三星的高速TF卡。最近在弄RK3588S,就拿来实测效果了!
https://item.jd.com/100026098656.html
三星(SAMSUNG)256GB TF(MicroSD)存储卡 EVO白卡 U3A2V30 手机平板行车记录仪游戏机内存卡 读160MB/s写120MB/s
确认RK3588S在Android13下可以直接挂载FAT32的256GB的TF卡。
Microsoft Windows [版本 10.0.22621.3296]
(c) Microsoft Corporation。保留所有权利。
C:\Users\QQ>adb shell
rk3588_t:/ $
rk3588_t:/ $ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.9G 1.2M 1.9G 1% /dev
tmpfs 1.9G 4.0K 1.9G 1% /mnt
/dev/block/mmcblk0p11 10M 80K 9.4M 1% /metadata
/dev/block/dm-0 1.0G 1.0G 0 100% /
/dev/block/dm-3 391M 389M 0 100% /vendor
/dev/block/dm-5 720K 716K 0 100% /odm
/dev/block/dm-1 232K 36K 192K 16% /system_dlkm
/dev/block/dm-2 170M 169M 0 100% /system_ext
/dev/block/dm-4 28M 28M 0 100% /vendor_dlkm
/dev/block/dm-6 232K 36K 192K 16% /odm_dlkm
/dev/block/dm-7 274M 273M 0 100% /product
tmpfs 1.9G 8.0K 1.9G 1% /apex
tmpfs 1.9G 492K 1.9G 1% /linkerconfig
/dev/block/mmcblk0p10 320M 236K 308M 1% /cache
/dev/block/mmcblk0p15 24G 97M 24G 1% /data
tmpfs 1.9G 0 1.9G 0% /data_mirror
/dev/fuse 24G 97M 24G 1% /storage/emulated
/dev/fuse 239G 4.6G 234G 2% /storage/0D7B-4D24
rk3588_t:/ $
rk3588_t:/ $ df --version
toybox 0.8.6-android
rk3588_t:/ $
rk3588_t:/ $ su
rk3588_t:/ #
rk3588_t:/ #
rk3588_t:/ # df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.9G 1.2M 1.9G 1% /dev
tmpfs 1.9G 4.0K 1.9G 1% /mnt
/dev/block/mmcblk0p11 10M 80K 10M 1% /metadata
/dev/block/dm-0 1.0G 1.0G 3.3M 100% /
/dev/block/dm-3 391M 389M 1.1M 100% /vendor
/dev/block/dm-5 720K 716K 4.0K 100% /odm
/dev/block/dm-1 232K 36K 196K 16% /system_dlkm
/dev/block/dm-2 170M 169M 520K 100% /system_ext
/dev/block/dm-4 28M 28M 88K 100% /vendor_dlkm
/dev/block/dm-6 232K 36K 196K 16% /odm_dlkm
/dev/block/dm-7 274M 273M 840K 100% /product
tmpfs 1.9G 8.0K 1.9G 1% /apex
tmpfs 1.9G 492K 1.9G 1% /linkerconfig
/dev/block/mmcblk0p10 320M 236K 320M 1% /cache
/dev/block/mmcblk0p15 24G 97M 24G 1% /data
tmpfs 1.9G 0 1.9G 0% /data_mirror
/dev/fuse 24G 97M 24G 1% /mnt/user/0/emulated
/dev/block/vold/public:179,97 239G 4.6G 234G 2% /mnt/media_rw/0D7B-4D24
/dev/fuse 239G 4.6G 234G 2% /mnt/user/0/0D7B-4D24
rk3588_t:/ #
rk3588_t:/ # cd /mnt/media_rw/0D7B-4D24/
rk3588_t:/mnt/media_rw/0D7B-4D24 #
rk3588_t:/mnt/media_rw/0D7B-4D24 # ls -l
total 4901056
-rwxrwxrw- 1 root media_rw 1131762455 2022-03-10 15:26 1.mp4
-rwxrwxrw- 1 root media_rw 235026155 2023-10-17 14:59 4kl.mp4
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Alarms
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Audiobooks
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 DCIM
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Documents
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Download
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 LOST.DIR
drwxrwxrw- 3 root media_rw 65536 2024-08-12 06:58 Movies
drwxrwxrw- 3 root media_rw 65536 2024-08-12 06:58 Music
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Notifications
drwxrwxrw- 3 root media_rw 65536 2024-01-05 19:40 PAPAGO
drwxrwxrw- 3 root media_rw 65536 2024-08-12 06:58 Pictures
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Podcasts
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Recordings
drwxrwxrw- 2 root media_rw 65536 2024-08-12 06:58 Ringtones
drwxrwxrw- 2 root media_rw 65536 2023-11-27 18:36 System\ Volume\ Information
-rwxrwxrw- 1 root media_rw 3650786976 2024-07-23 11:05 fpga110000-9520-1080p60b.mp4
rk3588_t:/mnt/media_rw/0D7B-4D24 #
Microsoft Windows [版本 10.0.22621.3296]
(c) Microsoft Corporation。保留所有权利。
C:\Users\QQ>adb shell
rk3588_t:/ $
rk3588_t:/ $ mount
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1995600k,nr_inodes=498900,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,size=1995600k,nr_inodes=498900,mode=755,gid=1000)
/dev/block/mmcblk0p11 on /metadata type ext4 (rw,sync,seclabel,nosuid,nodev,noatime,discard)
/dev/block/dm-0 on / type ext4 (ro,seclabel,nodev,relatime)
/dev/block/dm-3 on /vendor type ext4 (ro,seclabel,relatime)
/dev/block/dm-5 on /odm type ext4 (ro,seclabel,relatime)
/dev/block/dm-1 on /system_dlkm type ext4 (ro,seclabel,relatime)
/dev/block/dm-2 on /system_ext type ext4 (ro,seclabel,relatime)
/dev/block/dm-4 on /vendor_dlkm type ext4 (ro,seclabel,relatime)
/dev/block/dm-6 on /odm_dlkm type ext4 (ro,seclabel,relatime)
/dev/block/dm-7 on /product type ext4 (ro,seclabel,relatime)
tmpfs on /apex type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,mode=755)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,mode=755)
tmpfs on /mnt/installer type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,mode=755,gid=1000)
tmpfs on /mnt/androidwritable type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,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,memory_recursiveprot)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
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,size=1995600k,nr_inodes=498900,mode=755)
/dev/block/dm-0 on /apex/com.android.adbd type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.adservices type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.appsearch type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.art type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.btservices type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.conscrypt type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.extservices type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.i18n type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.ipsec type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.media type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.media.swcodec type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.mediaprovider type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.neuralnetworks type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.ondevicepersonalization type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.os.statsd type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.permission type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.resolv type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.runtime type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.scheduling type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.sdkext type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.tethering type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.tzdata type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.uwb type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.vndk.v33 type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /apex/com.android.wifi type ext4 (ro,seclabel,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,seclabel,relatime,gid=3012,mode=755)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
/sys/kernel/debug/tracing on /sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime,gid=3012,mode=755)
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)
/dev/block/mmcblk0p10 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,mode=755,gid=1000)
/dev/block/mmcblk0p15 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data/user/0 type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
tmpfs on /data_mirror type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1995600k,nr_inodes=498900,mode=700,gid=1000)
/dev/block/mmcblk0p15 on /data_mirror/data_ce/null type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/data_ce/null/0 type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/data_de/null type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/misc_ce/null type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/misc_de/null type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/cur_profiles type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /data_mirror/ref_profiles type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
mtp on /dev/usb-ffs/mtp type functionfs (rw,relatime)
ptp on /dev/usb-ffs/ptp type functionfs (rw,relatime)
/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 /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/fuse on /storage/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/block/mmcblk0p15 on /mnt/pass_through/0/emulated type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/user/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /storage/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/androidwritable/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/installer/0/emulated/0/Android/data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/user/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /storage/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/androidwritable/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/mmcblk0p15 on /mnt/installer/0/emulated/0/Android/obb type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resgid=1065,data=ordered)
/dev/block/vold/public:179,97 on /mnt/media_rw/0D7B-4D24 type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,gid=1023,fmask=0001,dmask=0001,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/fuse on /mnt/user/0/0D7B-4D24 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/installer/0/0D7B-4D24 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/androidwritable/0/0D7B-4D24 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /storage/0D7B-4D24 type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/block/vold/public:179,97 on /mnt/pass_through/0/0D7B-4D24 type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,gid=1023,fmask=0001,dmask=0001,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
rk3588_t:/ $
console:/ $
console:/ $
console:/ $ fdisk
/system/bin/sh: fdisk: inaccessible or not found
127|console:/ $
127|console:/ $ getprop ro.build.version.release
13
console:/ $
console:/ $ su
console:/ #
console:/ # f[ 667.634854][ T357] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au
id^C
130|console:/ #
130|console:/ # fdisk
/system/bin/sh: fdisk: inaccessible or not found
127|console:/ #
127|console:/ # fdisk -l
/system/bin/sh: fdisk: inaccessible or not found
127|console:/ #
127|console:/ # busybox fdisk -l
console:/ #
console:/ # [ 683.670706][ T235] type=1400 audit(1723446326.273:402): avc: denied { getattr } for comm="getagpsdata.sh" path="/system/bin/ping" dev="dm-0" ino=1609 scontext=u:r:getagpsdata:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 683.671012][ T235] type=1400 audit(1723446326.273:403): avc: denied { execute } for comm="getagpsdata.sh" name="ping" dev="dm-0" ino=1609 scontext=u:r:getagpsdata:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 683.671185][ T235] type=1400 audit(1723446326.273:404): avc: denied { read open } for comm="getagpsdata.sh" path="/system/bin/ping" dev="dm-0" ino=1609 scontext=u:r:getagpsdata:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 683.671351][ T235] type=1400 audit(1723446326.273:405): avc: denied { execute_no_trans } for comm="getagpsdata.sh" path="/system/bin/ping" dev="dm-0" ino=1609 scontext=u:r:getagpsdata:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 683.671488][ T235] type=1400 audit(1723446326.273:406): avc: denied { map } for comm="ping" path="/system/bin/ping" dev="dm-0" ino=1609 scontext=u:r:getagpsdata:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 683.683349][ T235] type=1400 audit(1723446326.286:407): avc: denied { create } for comm="ping" scontext=u:r:getagpsdata:s0 tcontext=u:r:getagpsdata:s0 tclass=udp_socket permissive=1
[ 683.683408][ T235] type=1400 audit(1723446326.286:408): avc: denied { getopt } for comm="ping" scontext=u:r:getagpsdata:s0 tcontext=u:r:getagpsdata:s0 tclass=udp_socket permissive=1
[ 683.683612][ T3329] audit: audit_lost=113 audit_rate_limit=5 audit_backlog_limit=64
[ 683.683630][ T3329] audit: rate limit exceeded
console:/ # busybox fdisk --version
busybox: unrecognized option `--version'
1|console:/ #
1|console:/ #