News for hackers. Stuff that matters.
Re:Understanding the working of X11 from the ground up (2017) by Znafon on Sunday September 22, 2019 @06:56AM (#21040700)
> I realize that the UNIX philosophy (everything is a file) is dead

Was it ever alive? As far as I know lo0, eth0 and others where never accessible as a file interface and we still rely on them. Is there something to gain to give them a name on the filesystem?

Re:Understanding the working of X11 from the ground up (2017) by jlokier on Sunday September 22, 2019 @09:20PM (#21045196)
They actually are accessible as a file interface:

  ls /sys/class/net
You can't read and write packets via the interface, but there are configuration knobs and statistics you can access.

I think it's quite messy and inconsistent that some network interface attributes are only in sysfs, and others are only accessible via AF_NETLINK (usually via the "ip" tool). But it's there.