I've been fiddling with my network configuration, and discovered that removing form /etc/sysconfig/network did not remove the device from the environment when the network services were restarted. That is to say,
still showed the device. It did not show with a simple
.
found nothing under /etc. I got frustrated and took out the sledge hammer with
. That found a sneaky little directory called /dev/.sysconfig/network/.
Where did that come from? How long has it been part of Linux? Why is it there? What uses it?
I've never noticed it before, but that doesn't mean it hasn't been lurking in the darkness for all these years. Putting configuration in hidden directories under /dev seems contrary to the principle of least astonishment, and downright Microsoftish. Perhaps there is a good reason for this, but I can't see it.
Code:
# ifconfig -a
Code:
# ifconfig
Code:
# cd /etc;grep -r wlp3s0 *;cd -
Code:
# cd /;grep -r wlp3s0 *;cd -
Where did that come from? How long has it been part of Linux? Why is it there? What uses it?
I've never noticed it before, but that doesn't mean it hasn't been lurking in the darkness for all these years. Putting configuration in hidden directories under /dev seems contrary to the principle of least astonishment, and downright Microsoftish. Perhaps there is a good reason for this, but I can't see it.