Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

What and why is /dev/.sysconfig/network?

$
0
0
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,
Code:

# ifconfig -a
still showed the device. It did not show with a simple
Code:

# ifconfig
.

Code:

# cd /etc;grep -r wlp3s0 *;cd -
found nothing under /etc. I got frustrated and took out the sledge hammer with
Code:

# cd /;grep -r wlp3s0 *;cd -
. 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.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>