The Different between android folders(bin, xbin, sbin)
http://stackoverflow.com/questions/26801895/the-different-between-android-foldersbin-xbin-sbin
1 ] /system is the main Android directory for storing immutable components generated bythe build of the AOSP. This includes native binaries, native libraries, framework packages,and stock apps. It’s usually mounted read-only from a separate image from theroot file system, which is itself mounted from a RAM disk image.
2 ] Android also includes many directories commonly found in any Linux system, suchas /dev, /proc, /sys, /sbin, /root, /mnt, and /etc. These directories often serve similar ifnot identical purposes to the ones they serve on any Linux system, although they arevery often trimmed down, as is the case of /sbin and /etc, and in some cases are empty,such as /root.
3 ] More than 150 command-line utilities are scattered throughout Android’s root file system./system/bin contains the majority of them, but some “extras” are in /system/xbin, and a handful are in /sbin.
4 ] /sbin dir In Linux, this would hold binaries essential to the system administrator. InAndroid, it contains only ueventd and adbd.
5 ] /bin dir All native binaries and daemons built as part of the AOSP. All modules built with BUILD_EXECUTABLE are here. The only exception is adbd, which has the LOCAL_MODULE_PATH set to /sbinand is therefore installed there instead.
6 ] /xbin dir “Extra” binaries generated by some of the packages that are built within the AOSP but aren’t essential to the system’s operation.
Thanks goes to Mr: Karim Yaghmour , The great ; The author of Embedded Android tutorial.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通