Monday, 20 May 2013

Why there are two ifcfg-eth0 file but in different directory

Why there are two ifcfg-eth0 file but in different directory

I am trying to understand why there are 3 ifcfg-eth0 on my CentOS 6.4 server, they are hardlinks to the same file looks like.
Anyone knows why ?
$ ll /etc/sysconfig/network-scripts/ifcfg-eth0
-rw-r--r--. **3** root root 166 Jul 31  2012 /etc/sysconfig/network-scripts/ifcfg-eth0

$ find / -type f -name ifcfg-eth0 -exec openssl dgst -md5 {} \;
MD5(/etc/sysconfig/network-scripts/ifcfg-eth0)= **c5cd670606e1feb78752a9644f021c1f**
MD5(/etc/sysconfig/networking/devices/ifcfg-eth0)= **c5cd670606e1feb78752a9644f021c1f**
MD5(/etc/sysconfig/networking/profiles/default/ifcfg-eth0)= **c5cd670606e1feb78752a9644f021c1f**

No comments:

Post a Comment