0
回答
Android: 保存文件系统节点
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   

保存文件系统所有节点,以备查询之需,尤其找一写driver节点的时候比较方便:

cd /

find > /mnt/sdcard/sysfs.txt


...

./sys/devices/platform/amcanvas/55
./sys/devices/platform/amcanvas/55/addr
./sys/devices/platform/amcanvas/55/width
./sys/devices/platform/amcanvas/55/height
...
./sys/devices/virtual/mtd/mtd5ro
./sys/devices/virtual/mtd/mtd5ro/uevent
./sys/devices/virtual/mtd/mtd5ro/dev
./sys/devices/virtual/mtd/mtd5ro/subsystem
./sys/devices/virtual/mtd/mtd5ro/power
./sys/devices/virtual/mtd/mtd5ro/power/wakeup
./sys/devices/virtual/mtd/mtd6
...
./proc/sys/net/ipv4/conf/default/log_martians
./proc/sys/net/ipv4/conf/default/tag
./proc/sys/net/ipv4/conf/default/arp_filter
./proc/sys/net/ipv4/conf/default/arp_announce
./proc/sys/net/ipv4/conf/default/arp_ignore
...
./proc/sysrq-trigger
./proc/partitions
./proc/diskstats
./proc/crypto
./proc/key-users
./proc/yaffs_stats
./proc/yaffs
./proc/kpageflags
./proc/kpagecount
./proc/kmsg
...
./data/data/com.android.calendar
./data/data/com.android.calendar/lib
./data/data/com.android.server.vpn
./data/data/com.android.server.vpn/lib
./data/data/com.android.music
./data/data/com.android.music/lib
./data/data/com.android.protips



原文链接:http://blog.csdn.net/zmyde2010/article/details/6734840
<无标签>
举报
长平狐
发帖于6年前 0回/97阅
顶部