[英]What's the difference between /etc/hosts and /system/etc/hosts in Android?
I was navigating the "/" directories on my android and came across two "hosts" files, one in /etc
and the other in /system/etc
which had the same contents.我在 android 上浏览“/”目录时遇到了两个“主机”文件,一个在/etc
中,另一个在/system/etc
中,它们的内容相同。 Are there any differences between these two files or are they same?这两个文件之间有什么区别还是相同? I also noticed that they had the same contents in them saying 127.0.0.1 localhost
我还注意到他们有相同的内容说127.0.0.1 localhost
Yes they are both the same file.是的,它们都是同一个文件。 One is a symbolic link to the other.一个是到另一个的符号链接。
Further reading:进一步阅读:
https://en.m.wikipedia.org/wiki/Hosts_(file) https://en.m.wikipedia.org/wiki/Hosts_(文件)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.